Skip to content

agriffith/Programming-iOS-Book-Examples

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These are the downloadable code examples for my book, Programming iOS 6. The full text of the book itself is available in preview form here: http://www.apeth.com/iOSBook/. The book is now (March 2013) published by O'Reilly and is available for purchase in printed form and in many digital formats: http://shop.oreilly.com/product/0636920029717.do. If you find these examples helpful and you haven't purchased the book, please consider doing so.

The downloadable code and screenshots for the previous edition, Programming iOS 5, published by O'Reilly in March 2012, have been moved off to the subfolder "iOS5bookExamples".

Changes from the iOS 5 examples to the iOS 6 examples include:

  • Use new literals and subscripting for arrays, dictionaries, numbers.

  • Use autosynthesis of properties.

  • Move protocol adoption declarations to implementation file where possible.

  • Use constraints (instead of frame) to position and size subviews, whenever this is relational (and doesn't get in the way of the example).

  • Illustrate some newly available CIFilters.

  • Illustrate new UIView/UIGestureRecognizer interaction.

  • Illustrate new rotation rules, including new structure of launch-into-rotation.

  • For table views, use exclusively new register-and-dequeue architecture.

New examples include:

  • Further illustrate use of constraints (ch 14), esp. in company with animation (ch 17).

  • Show gesture recognizers in nib (ch 18).

  • Show new rotation/orientation rules (ch 19).

  • Show new state save-and-restore (ch 19).

  • Show new storyboard features: container controller, Exit (unwind).

  • Show collection views.

  • Show basic Core Data usage (ch 36).

  • Other new iOS 6 features as they arise.

This list is not exhaustive by any means. If you really want to know everything that I've changed, clone to your computer and do a diff against commit 25644891 (that's when I started this round of revision).

Matt Neuburg

About

Downloadable code examples for my book, "Programming iOS 6".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published