iOS Programming: The Big Nerd Ranch Guide (4th Edition) (Big Nerd Ranch Guides)

iOS Programming: The Big Nerd Ranch Guide (4th Edition) (Big Nerd Ranch Guides)

Joe Conway, Aaron Hillegass, Christian Keur

Language: English

Pages: 560

ISBN: 0321942051

Format: PDF / Kindle (mobi) / ePub

Updated and expanded to cover iOS 7 and Xcode 5, iOS Programming: The Big Nerd Ranch Guide leads you through the essential concepts, tools, and techniques for developing iOS applications. After completing this book, you will have the know-how and the confidence you need to tackle iOS projects of your own. Based on Big Nerd Ranch's popular iOS Bootcamp course and its well-tested materials and methodology, this bestselling guide teaches iOS concepts and coding in tandem. The result is instruction that is relevant and useful.

Throughout the book, the authors explain what's important and share their insights into the larger context of the iOS platform. You get a real understanding of how iOS development works, the many features that are available, and when and where to apply what you've learned.

Here are some of the topics covered:

  • Xcode 5, Instruments, and Storyboards
  • Building interfaces using the iOS 7 aesthetic
  • ARC and strong and weak references
  • Handling touch events and gestures
  • Toolbars, navigation controllers, and split view controllers
  • Using Auto Layout to scale user interfaces
  • Using Dynamic Type to scale fonts
  • Localization and Internationalization
  • Block syntax and use
  • Saving/loading data: Archiving and Core Data
  • Core Location and Map Kit
  • Communicating with web services using JSON
  • Using the Model-View-Controller-Store design pattern

Programming in Go: Creating Applications for the 21st Century (Developer's Library)

Professional C# 5.0 and .NET 4.5.1

The Agrarian Question in the Neoliberal Era: Primitive Accumulation and the Peasantry

Original Wisdom: Stories of an Ancient Way of Knowing
















files are created. UIView conforms to NSCoding. Instances of UIView are created when you drag them onto the canvas area. When the XIB file is saved, these views are archived into the XIB file. When your application launches, it unarchives the views from the XIB file. There are some minor differences between a XIB file and a standard archive, but overall it is the same process.) Instances of BNRItem are now NSCoding compliant and can be saved to and loaded from the filesystem using archiving. You

Data and add three properties to the class extension. @import CoreData; @interface BNRItemStore () @property (nonatomic) NSMutableArray *privateItems; @property (nonatomic, strong) NSMutableArray *allAssetTypes; @property (nonatomic, strong) NSManagedObjectContext *context; @property (nonatomic, strong) NSManagedObjectModel *model; Then change the implementation of itemArchivePath to return a different path that Core Data will use to save data. - (NSString *)itemArchivePath { NSArray

Creating an NSObject subclass, super visibility, Class Extensions _cmd, For the More Curious: Application State Transitions Cocoa Touch, Objective-C code paths, Static Analyzer code snippet library, Code Snippet Library code-completion (in Xcode), Using code-completion, Code Snippet Library compile-time errors, Exceptions and Unrecognized Selectors completion blocks, Completion blocks concurrency, The main thread connections (in Interface Builder), Making connections connections

nil causes the array to lose its only owner, so the array is destroyed. But the destruction does not stop there. When the array is destroyed, all of the pointers to the BNRItem instances are destroyed. Once these variables are gone, no one owns any of the items, so they are destroyed. Finally, destroying a BNRItem destroys its instance variables, which leaves the objects pointed to by those variables unowned. So they, too, get destroyed. Let’s add some code so that you can see this destruction

This is where BNRReminderViewController.xib will be. You have created and configured the objects in the view hierarchy. You have written an initializer for the view controller so that it can find and load the correct NIB file. You have set the view controller to be the root view controller to add it to the window’s view hierarchy. But if you build and run now, the application will crash. Try it and see. When the application crashes, notice the exception in the console: '-[UIViewController

Download sample