Last active
December 17, 2015 03:18
-
-
Save coreyfloyd/5542224 to your computer and use it in GitHub Desktop.
Revisions
-
coreyfloyd revised this gist
May 13, 2013 . 1 changed file with 9 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -10,4 +10,12 @@ Code for iOS 6 - will back port to iOS 5 as necessary When creating “updateUI” methods, pass an animated flag: ex. updateUIanimated:(BOOL)animated; Constants should be defined in the file that uses them if possible (i.e. Notification constants should be defined in the header of the file that posts the notification) When a notification is required, evaluate potential patterns in this order, selecting the highest rated viable pattern: 1. Blocks 2. Notification Center 3. Delegation 4. ReactiveCocoa 4. KVO (MAKVONotificationCenter) -
coreyfloyd revised this gist
May 9, 2013 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,4 +8,6 @@ Implement classes with dependency injection - favor providing all data at instan Code for iOS 6 - will back port to iOS 5 as necessary When creating “updateUI” methods, pass an animated flag: ex. updateUIanimated:(BOOL)animated; Constants should be defined in the file that uses them if possible (i.e. Notification constants should be defined in the header of the file that posts the notification) -
coreyfloyd created this gist
May 8, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ Model Objects should be dumb - minimal logic Model Controllers should perform model manipulations that are UI independent (like network and processing) exception: user input No Story Boards Implement classes with dependency injection - favor providing all data at instantiation Code for iOS 6 - will back port to iOS 5 as necessary When creating “updateUI” methods, pass an animated flag: ex. updateUIanimated:(BOOL)animated;