- Instead of passing the controller into the table data,
pass a proc bound in the context of the controller.
Thanks @jasonholmgren.
- Remove params as second argument to search -- the params will
have been resolved when the table_data is allocated.
- Which one wins: If the user passes more than one proc or symbol
using the params hash, the behavior is undefined, but the last
one evaluated is the one that becomes the custom action. Because
hashes are not necessarily ordered sets, order is meaningless
in this context.
* 'version-2.3' of github.com:clearsightstudio/ProMotion:
Version 2.2.1
snake case variables for consistency.
added tests
Fixes issue with auto-detected links not opening.
implemented workaround for image autorotate crash #562
Write spec to ensure on_init is not used in the future
Cleanup screen_setup
Disabled another Travis test
Disabled another test. This is getting monotonous
More Travis skipped tests
Use Travis env variables instead
Disable failing test for Travis
Fix: wrong cell detection problem in search_result_table of longpressable TableScreen.
No version bump yet
Specs updated for iOS 7 and iOS 8
Resolving iOS 7 errors
Updated splitview to iOS 8 compatibility
* master: (21 commits)
Version 2.2.0
Refactored a little
Auto-hide the toolbar when passed nil or false.
table view auto size row height functionality
Fixes issue #572
Add longpressable example table screen to demo app.
Implement @silasjmatson's idea about moving move_cell into promotion_table_data
Allow the user to restrict the cell's movement within a section.
Fix failing tests.
Moar specs! 🙀
Change edit? to edit_mode?
Make cell_moved on_cell_moved to conform to on_cell_deleted.
Fix true|false bug.
Tests for moveable cells.
Initial moveable cells functionality.
Scroll the table to show the refresh control unless the user initiates the refresh manually.
Version 2.1.0 + README update
Added on_load and on_styled hooks for UIViews and on_reuse for UITableViewCells
Make second param a hash instead of just the animation.
Allow screens to choose their status bar style.
...
Conflicts:
app/test_screens/test_table_screen.rb
If defined in your subclass, it will call:
header_will_display, header_will_display(view) or header_will_display(view, section)
This is so that you can modofy the view of a header before it is displayed.