Releases: jamonholmgren/ProMotion
Releases · jamonholmgren/ProMotion
Version 1.1.0 release candidate 1
Release candidate for version 1.1.0.
What's New:
- Added a ProMotion executable called
promotion
. You can typepromotion new <myapp>
and it will create a ProMotion-specific app. We will be adding more functionality in the future. - Can now pass a symbol to
add
,add_to
, andset_attributes
to call a method with that name to get styles. - Added
button_title:
toopen_split_screen
to customize the auto-generated button title - Updates to set_tab_bar_button
- Added to PM::Delegate
on_open_url(args = {})
whereargs
contains:url
,:source_app
, and:annotation
- Added to PM::Delegate
tint_color
to customize the application-wide tint color - Added to PM::MapScreen annotations the ability to set an image
- Removed legacy
navigation_controller
references which were causing confusion. - Allowed setting a
custom_view
forbar_button_item
s. - Added
will_begin_search
andwill_end_search
callbacks to PM::TableScreen. - Added
title_view
andtitle_view_height
to sections in PM::TableScreen. - Updated screenshots for iOS 7
- Refactored code and lots of new passing tests
Version 1.0.4
Bugfixes:
- Fixed potential crash with indexable table screens.
Minor improvements:
set_tab_bar_item
now accepts aUIImage
or a string (which is converted to aUIImage
) for itsicon:
argument. (thanks Daniel Jabbour at Amoeba Consulting).- A table screen that is
indexable
andsearchable
will show a little search icon at the top of the jumplist.
Version 1.0.3
Changes in 1.0.3:
- Fixed badge number issue with
set_tab_bar_badge
method - Added NSAttributedString capability to table view cells
- Added
search_string
andoriginal_search_string
accessors to searchable table screens - Fixed an issue with opening links in Chrome with WebScreens
- Fixed an issue with the timing of setting up table views
- Added MIT license to gemspec
Changes in 1.0.2:
- Fixed table screen bugs
Version 1.0.1
- Fixes
on_load
not firing for TableScreen - Fixes GroupedScreen crash
Thanks to @AndrewGertig for these fixes.
Version 1.0.0
- New Screen
PM::MapScreen
- New Screen
PM::WebScreen
- Added
indexable
as aPM::TableScreen
feature - Added
PM::SplitViewController
and the ability to open a screenin_detail:
orin_master:
. More info here. - Added
PM::TabBarController
andPM::Tabs
and refactored theopen_tab_bar
code - IMPORTANT: Changed
on_load
to fire more consistently. You are now encouraged to put your view setup code in here rather thanwill_appear
. - Many methods that used to require long UIKit constants now take short :symbols. Check documentation.
- Simpler
PM::Delegate
code, addedwill_load(app, options)
and others. See the documentation. - Added a few keys and improvements to table_data
- Removed
PM::SectionedTableScreen
(PM::TableScreen
is already a sectioned table) - Removed any last UIKit monkeypatching. Everything is a subclass now. ProMotion is probably the least invasive RubyMotion gem in common use.
- Push Notification updates
- Renamed
PM::ViewHelper
toPM::Styling
and added some common helpers - Added
will_present
,on_present
,will_dismiss
,on_dismiss
to screens - Major internal refactors everywhere
- Lots of new unit & functional tests
- Removed deprecations, cleaned up a lot of code
- Huge improvements to the wiki