Read iOS Programming: The Big Nerd Ranch Guide, 3/e (Big Nerd Ranch Guides) Online
Authors: Aaron Hillegass,Joe Conway
Tags: #COM051370, #Big Nerd Ranch Guides, #iPhone / iPad Programming
Silver Challenge: Dismissing a Number Pad
Gold Challenge: Pushing More View Controllers
Displaying Images and UIImageView
Taking pictures and UIImagePickerControllerCreating BNRImageStoreNSDictionaryCreating and using keysCore Foundation and toll-free bridgingWrapping up BNRImageStoreDismissing the keyboard
Bronze Challenge: Editing an Image
Silver Challenge: Removing an Image
Gold Challenge: Camera Overlay
For the More Curious: Recording Video
Universalizing Homepwner
Determining device family
UIPopoverController
More Modal View Controllers
Dismissing modal view controllersModal view controller stylesCompletion blocksModal view controller transitions
Bronze Challenge: Universalizing Whereami
Silver Challenge: Peeling Aways the Layers
Gold Challenge: Popover Appearance
For the More Curious: View Controller Relationships
Parent-child relationshipsPresenting-presenter relationshipsInter-family relationships
Archiving
Application Sandbox
Constructing a file path
NSKeyedArchiver and NSKeyedUnarchiver
Application States and Transitions
Writing to the Filesystem with NSData
More on Low-Memory Warnings
Model-View-Controller-Store Design Pattern
Bronze Challenge: PNG
Silver Challenge: Archiving Whereami
For The More Curious: Application State Transitions
For the More Curious: Reading and Writing to the Filesystem
For the More Curious: The Application Bundle
Creating HomepwnerItemCell
Configuring a UITableViewCell subclass’s interfaceExposing the properties of HomepwnerItemCellUsing HomepwnerItemCell
Image Manipulation
Relaying Actions from UITableViewCells
Adding pointers to cell subclassRelaying the message to the controllerObjective-C selector magicPresenting the image in a popover controller
Bronze Challenge: Color Coding
Silver Challenge: Cell Base Class
Gold Challenge: Zooming
Object-Relational Mapping
Moving Homepwner to Core Data
The model fileNSManagedObject and subclassesUpdating BNRItemStoreAdding BNRAssetTypes to Homepwner
More About SQL
Faults
Trade-offs of Persistence Mechanisms
Bronze Challenge: Assets on the iPad
Silver Challenge: New Asset Types
Gold Challenge: Showing Assets of a Type
Internationalization Using NSLocale
Localizing Resources
NSLocalizedString and Strings Tables
Bronze Challenge: Another Localization
For the More Curious: NSBundle’s Role in Internationalization
Updating Whereami
Using NSUserDefaults
Silver Challenge: Initial Location
Gold Challenge: Concise Coordinates
For the More Curious: The Settings Application
Touch Events
Creating the TouchTracker Application
Drawing with TouchDrawView
Turning Touches Into Lines
The Responder Chain
Bronze Challenge: Saving and Loading
Silver Challenge: Colors
Gold Challenge: Circles
For the More Curious: UIControl
UIGestureRecognizer Subclasses
Detecting Taps with UITapGestureRecognizer
UIMenuController
UILongPressGestureRecognizer
UIPanGestureRecognizer and Simultaneous Recognizers
For the More Curious: UIMenuController and UIResponderStandardEditActions
For the More Curious: More on UIGestureRecognizer
Bronze Challenge: Clearing Lines
Silver Challenge: Mysterious Lines
Gold Challenge: Speed and Size
Mega-Gold Challenge: Colors
Static Analyzer
Instruments
Allocations InstrumentTime Profiler InstrumentLeaks Instrument
Xcode Schemes
Creating a new scheme
Build Settings
Layers and Views
Creating a CALayer
Layer Content
Implicitly Animatable Properties
Bronze Challenge: Another Layer
Silver Challenge: Corner Radius
Gold Challenge: Shadowing
For the More Curious: Programmatically Generating Content
For the More Curious: Layers, Bitmaps, and Contexts
Animation Objects
Spinning with CABasicAnimation
Timing functionsAnimation completion
Bouncing with a CAKeyframeAnimation
Bronze Challenge: More Animation
Silver Challenge: Even More Animation
Gold Challenge: Chaining Animations
For the More Curious: The Presentation Layer and the Model Layer
Creating a Storyboard
UITableViewControllers in Storyboards
Segues
More on Storyboards
Web Services
Starting the Nerdfeed applicationNSURL, NSURLRequest, and NSURLConnectionFormatting URLs and requestsWorking with NSURLConnectionCollecting XML dataParsing XML with NSXMLParserConstructing the tree of model objectsA quick tip on logging
UIWebView
For the More Curious: NSXMLParser
For the More Curious: The Request Body
For the More Curious: Credentials
Bronze Challenge: More Data
Silver Challenge: More UIWebView
Splitting Up Nerdfeed
Master-Detail Communication
Displaying the Master View Controller in Portrait Mode
Universalizing Nerdfeed
NSRegularExpression
Constructing a pattern string