Commit Graph

484 Commits

Author SHA1 Message Date
AndrewGertig
abf8ef63fa table_view_controller was missing a loadView implementation 2013-07-16 14:40:05 -04:00
AndrewGertig
6ace545f50 Add a check to see if the table class responds to get_indexable 2013-07-15 23:10:54 -04:00
Mark Rickert
24e0a35627 Fix webscreen html method and tests. 2013-07-15 13:49:27 -04:00
Jamon Holmgren
8138d0f9d2 tab_bar_item class method
I know I said that we were in a feature freeze, but this is necessary
due to the on_load changes we made.

Plus:

* Moved module class method inclusions, made possible by loading
ScreenModule in every Screen type. This is cleaner for class method
inclusion, although there's still some room for improvement.
* Added unit tests for the tab bar and tab bar items
* Moved `on_init` after `screen_setup` which makes more sense.
2013-07-14 18:22:17 -07:00
Jamon Holmgren
89c76c5bfe Remove indexable per @ainame 2013-07-12 21:16:10 -07:00
Jamon Holmgren
fa14ca247b Fixed issue #74 reported by @jeanmartin 2013-07-12 17:55:02 -07:00
Jamon Holmgren
857fb3b20a Removed _tables 2013-07-12 17:16:42 -07:00
Jamon Holmgren
1a97f6128c Version 1.0 bump 2013-07-12 16:59:26 -07:00
Jamon Holmgren
6c5ce63be6 Merge conflict 2013-07-12 16:53:02 -07:00
Jamon Holmgren
1eb1d012b7 Changed on_presented to on_present to be more consistent
@silasj review.
2013-07-12 16:27:08 -07:00
Jamon Holmgren
91f4726111 Minor tweak to set_nav_bar_button 2013-07-12 15:03:26 -07:00
Jamon Holmgren
d9ab231083 Delete, not Insert 2013-07-10 11:23:00 -07:00
Jamon Holmgren
4ddd67c570 Version 0.7.7: Slide to delete is no longer default. 2013-07-10 11:19:27 -07:00
Mark Rickert
53ce57f094 Merge pull request #206 from ainame/version-1.0-web_screen_enhance
PM:WebScreen Enhancements and separation of concerns.
2013-07-10 07:05:50 -07:00
Jamon Holmgren
dc2839a954 Merge pull request #208 from clearsightstudio/view_helper_to_styling
on_load changes, renamed PM::ViewHelper to PM::Styling
2013-07-08 23:34:04 -07:00
Jamon Holmgren
cfb28a3e46 Merge pull request #207 from clearsightstudio/table_data_index_class_method
Add `indexable` & `PM::Table::Indexable`
2013-07-08 23:33:07 -07:00
ainame
cd0a20186a use new interface on init 2013-07-09 01:56:37 +09:00
ainame
f7636ca6f3 separete "set_content" method into static file loding and HTTP request. 2013-07-09 01:41:51 +09:00
ainame
2a1ccc58f2 add on_request hook 2013-07-09 01:41:01 +09:00
ainame
00a3843305 add current_url method 2013-07-09 01:40:46 +09:00
Jamon Holmgren
c5a60ad703 Refactored on_load to fire more consistently. This makes on_load safe (and recommended) to use for setting up subviews. 2013-07-07 23:56:40 -07:00
Jamon Holmgren
94b590c8e9 Renamed PM::ViewHelper to PM::Styling
Iterators gotta iterate.
2013-07-07 23:09:11 -07:00
Jamon Holmgren
588ea4b24f Add indexable & PM::Table::Indexable
* Instead of having to implement `table_data_index`, this will get the
first letter from each group automatically.

207 specifications (358 requirements), 0 failures, 0 errors
2013-07-07 22:58:52 -07:00
Jamon Holmgren
c1a4c4ca7b Backwards compatibility 2013-07-07 16:46:26 -07:00
Jamon Holmgren
69a4d830e0 Added UITableViewRowAnimation symbol mappings 2013-07-07 16:44:10 -07:00
Jamon Holmgren
eec8d32d6e Added conversions for symbols to constants, including system_icon
* Most conversions are contained in their modules. I did build a method
that could, in the future, map symbols to constants easily. It doesn't
work right now because RubyMotion doesn't include constants that aren't
present in code at compile time.
* Added a couple tests for set_tab_bar_icon

208 specifications (363 requirements), 0 failures, 0 errors
2013-07-07 16:18:08 -07:00
Mark Rickert
aa56bfdcbc Changed app delegate method calls on Jamon's recommendation. 2013-07-07 10:15:14 -04:00
Mark Rickert
4e69b59cb6 Typo in on_enter_foreground 2013-07-06 22:15:43 -04:00
Mark Rickert
ada86de92f Stubbing out UIApplicationDelegate a bit more. 2013-07-06 22:06:22 -04:00
Jamon Holmgren
6923447b17 Merge pull request #201 from clearsightstudio/auto-call-update_annotation_data
Call update_annotation_data automatically on MapScreens.
2013-07-05 13:06:50 -07:00
Mark Rickert
36fc90c845 Call update_annotation_data automatically on MapScreens. 2013-07-05 15:15:51 -04:00
Mark Rickert
5c9b55a120 Allow selecting an annotation by its position in the data array. 2013-07-05 13:14:12 -04:00
Jamon Holmgren
b3e028d226 method => meth 2013-07-03 17:23:40 -07:00
Jamon Holmgren
68dc1bab41 Merge pull request #194 from silasj/version-1.0
Make PushNotification object a bit smarter
2013-07-03 10:30:48 -07:00
Jamon Holmgren
7c0b194c9f Changed cell_deleted to on_cell_deleted, allowed returning false to prevent deletion 2013-07-03 10:09:34 -07:00
Silas J. Matson
75b5a0ab82 More Push Notification work. 2013-07-03 09:30:42 -07:00
Silas J. Matson
9db0e176da Change method missing to accomodate custom data.
Change fake_notification to add custom data.
2013-07-03 09:02:15 -07:00
Mark Rickert
bbdd065d2d Add cell_deleted callback if implemented in the class with tests. 2013-07-02 22:07:32 -04:00
Mark Rickert
2294850103 Fix for issue #189 2013-07-02 19:28:54 -04:00
Jamon Holmgren
e9c9983275 Fixed table style for grouped tables 2013-07-02 14:24:59 -07:00
Jamon Holmgren
399cfc9d44 Refactored table folder and modules
* Moved formotion_screen into thirdparty
* Simplified GroupedTable
* Removed PM::PlainTable
* Moved RefreshableTable and SearchableTable into
PM::Table::<modulename>
* Combined table.rb and table_screen_module.rb which were similarily
focused
* Removed extraneous/redundant module SectionedTableScreen (it's just a
TableScreen)
* Moved searchable/refreshable into /extensions folder

All tests passing: 197 specifications (334 requirements), 0 failures, 0
errors
2013-07-01 13:49:25 -07:00
toshiwo
6bd97fb343 fix section size from numberOfSectionsInTableView 2013-07-02 00:58:09 +09:00
Jamon Holmgren
7ca041dfab PM::DelegateParent added. Removed set_background_color.
* Fixes issue #116 (custom delegate parent)
* Fixes issue #181 (table cell background)
* Renamed DelegateHelper to DelegateModule
2013-07-01 00:16:12 -07:00
Jamon Holmgren
19fc908417 Merge pull request #182 from clearsightstudio/table_data-nil-error
Remove nil entries from the self.table_data var before processing while searching
2013-06-30 15:12:20 -07:00
Mark Rickert
32ec517dd6 Simplify searching? method and the results.
Now returns with nil, false, or true.
2013-06-30 17:54:42 -04:00
Mark Rickert
7de0142cce Allow the parent VC to tell if the current data is being filtered or not. 2013-06-30 17:14:55 -04:00
Mark Rickert
5c2e15c430 Remove nil entries from the self.table_data var before processing while searching. 2013-06-30 14:36:50 -04:00
Mark Rickert
19f2151e70 implemented and tested "close to_screen: :root"
Also accepts other close parameters like animated:true|false
2013-06-29 00:03:04 -07:00
Mark Rickert
92e2d7a52e Not sure why these changes aren't in my code. 2013-06-29 00:03:04 -07:00
Mark Rickert
ed862648bb Allow popping to the root view controller in the nav stack. 2013-06-29 00:02:22 -07:00