iOS Programming: The Big Nerd Ranch Guide, 3/e (Big Nerd Ranch Guides) (106 page)

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

BOOK: iOS Programming: The Big Nerd Ranch Guide, 3/e (Big Nerd Ranch Guides)
5.67Mb size Format: txt, pdf, ePub
P
parentViewController,
Dismissing modal view controllers
parsing XML,
Collecting XML data
pathForResource:ofType:,
For the More Curious: NSBundle’s Role in Internationalization
paths (Core Graphics),
Core Graphics
pattern strings (regular expressions),
NSRegularExpression
,
Constructing a pattern string
performSelector:withObject:,
Objective-C selector magic
placeholder objects,
Demystifying the XIB: File's Owner
placeholders (in code),
Implementing Methods
,
Code Snippet Library
pointers
and memory management,
How objects lose owners
setting in XIB files,
Setting pointers
setting to nil,
Destroying objects
as strong references,
Strong and Weak References
as weak references,
Strong and Weak References
popover controllers,
UIPopoverController
,
Displaying the Master View Controller in Portrait Mode
popoverControllerDidDismissPopover:,
UIPopoverController
predicates (fetch requests),
NSFetchRequest and NSPredicate
predicateWithFormat:,
NSFetchRequest and NSPredicate
preferences,
NSUserDefaults
premature deallocation,
Memory Management
preprocessing,
Preprocessing
preprocessor macros,
Build Settings
presentation layer,
For the More Curious: The Presentation Layer and the Model Layer
presentedViewController,
Presenting-presenter relationships
presentingViewController,
Dismissing modal view controllers
,
Presenting-presenter relationships
presentViewController:animated:completion:,
Taking pictures and UIImagePickerController
,
Completion blocks
products,
Projects, Targets, and Frameworks
,
Xcode Schemes
profiling (applications),
Instruments
project navigator,
Creating an Xcode Project
projects
adding frameworks to,
Core Animation Layer
build settings for,
Build Settings
cleaning and building,
Localizing Resources
diagram of,
Xcode Schemes
properties,
Declaring properties
attributes of,
Declaring properties
copy,
Copying
declaring,
Copying
and instance variables,
Instance variables and properties
memory management of,
Declaring properties
overriding accessors,
Synthesizing properties
property list serializable objects,
For the More Curious: Reading and Writing to the Filesystem
protocols
CLLocationManagerDelegate,
Protocols
described,
Protocols
implementation of,
Your own MKAnnotation
MKMapViewDelegate,
Being a MapView Delegate
NSCopying,
NSCopying
NSURLAuthenticationChallengeSender,
For the More Curious: Credentials
optional methods in,
Protocol methods
properties in,
Your own MKAnnotation
required methods in,
Protocol methods
structure of,
Protocols
UIImagePickerControllerDelegate,
Taking pictures and UIImagePickerController
UINavigationControllerDelegate,
Taking pictures and UIImagePickerController
UIPopoverControllerDelegate,
UIPopoverController
UIScrollViewDelegate,
Zooming
UITextFieldDelegate,
Dismissing the keyboard
UITextInputTraits,
Interface Properties
provisioning profiles,
Deploying an Application
proximity monitoring,
Bronze Challenge: Proximity Notifications
pushViewController:animated:,
Pushing view controllers
R
RandomPossessions application
creating BNRItem class,
Creating an NSObject subclass
readonly,
Declaring properties
readwrite,
Declaring properties
receiver,
Sending messages
registerDefaults:,
Using NSUserDefaults
registration domain,
Using NSUserDefaults
regular expressions,
NSRegularExpression
relationships (Core Data),
The model file
,
Faults
release,
For the More Curious: Autorelease Pool and ARC History
removeObject:,
Deleting Rows
removeObjectIdenticalTo:,
Deleting Rows
removeObserver:,
Notification Center
reordering controls,
Moving Rows
required methods (protocols),
Protocol methods
requireGestureRecognizerToFail:,
For the More Curious: More on UIGestureRecognizer
resignFirstResponder,
Tagging locations
,
Appearing and disappearing views
resizing views,
Setting autoresizing masks programmatically and bitwise operations
resources
responder chain,
The Responder Chain
responders (see
first responder
,
UIResponder
)
respondsToSelector:,
Protocol methods
,
Objective-C selector magic
retain,
For the More Curious: Autorelease Pool and ARC History
retain cycles
finding with Leaks instrument,
Leaks Instrument
Retina display,
Application Icons
,
Launch Images
,
For the More Curious: Retina Display
reuseIdentifier (UITableViewCell),
Reusing UITableViewCells
reusing
table view cells,
Reusing UITableViewCells
rootViewController (UINavigationController),
UINavigationController
rootViewController (UIWindow),
Subclassing UIViewController
rotation,
Autorotation
,
Splitting Up Nerdfeed
rows (UITableView)
deleting,
Deleting Rows
run loop,
Redrawing Views
,
For the More Curious: The main Function and UIApplication
,
Variable Capturing
run-time errors,
Exceptions and Unrecognized Selectors
S
sandbox, application,
Application Sandbox
,
For the More Curious: The Application Bundle
scheme editor,
Xcode Schemes
schemes,
Deploying an Application
,
Xcode Schemes
screenshots, taking,
Launch Images
scrolling,
Using UIScrollView
sections (of UITableView),
Implementing data source methods
,
Editing Mode
SEL,
UINavigationBar
selector,
Sending messages
,
UINavigationBar
self,
self
,
Class methods
sendAction:to:from:forEvent:,
For the More Curious: UIControl
sendActionsForControlEvents:,
For the More Curious: UIControl
setAutoresizingMask:,
Setting autoresizing masks programmatically and bitwise operations
setEditing:animated:,
Editing Mode
,
UINavigationBar
setMultipleTouchEnabled:,
Drawing with TouchDrawView
setNeedsDisplay,
Redrawing Views
,
For the More Curious: Programmatically Generating Content
setObject:forKey:,
NSDictionary
setPagingEnabled:,
Panning and paging
setPosition:,
Implicitly Animatable Properties
setProximityMonitoringEnabled:,
Bronze Challenge: Proximity Notifications
setRegion:animated:,
Using the documentation
setStatusBarHidden:withAnimation:,
Hiding the Status Bar
setter methods,
Accessor methods
setText:,
Redrawing Views
Settings application,
Application Sandbox
,
For the More Curious: The Settings Application
settings, user,
NSUserDefaults
shakes, detecting,
Motion Events
shouldAutorotateToInterfaceOrientation:,
Autorotation
,
Forcing Landscape Mode
,
Splitting Up Nerdfeed
showsUserLocation,
Being a MapView Delegate
simulator
running applications on,
Build and Run on the Simulator
simulating low-memory warnings,
UIViewController and lazy loading
simulating shakes,
Motion Events
simulating two fingers,
Zooming
viewing application bundle in,
For the More Curious: The Application Bundle
single inheritance,
Subclassing an Objective-C Class
,
Creating an NSObject subclass
singletons, implementing,
Creating BNRItemStore
size inspector,
Autorotation
sort descriptors (NSFetchRequest),
NSFetchRequest and NSPredicate
sortedArrayUsingComparator:,
Typical Block Usage
sortUsingComparator:,
Advanced Caching
sourceType (UIImagePickerController),
Taking pictures and UIImagePickerController
split view controllers (see
UISplitViewController
)
splitViewController,
Parent-child relationships
,
Splitting Up Nerdfeed
SQL,
More About SQL
SQLite,
Object-Relational Mapping
,
Updating BNRItemStore
,
More About SQL
,
Core Data and iCloud
square brackets,
Sending messages
stack (memory),
The Stack
,
Using breakpoints
stack trace,
Using breakpoints
,
Diagnosing crashes and exceptions
standardUserDefaults,
Using NSUserDefaults
states, application,
Application States and Transitions
static analyzer,
Static Analyzer
static tables,
UITableViewControllers in Storyboards
static variables,
Creating BNRItemStore
status bar, hiding,
Hiding the Status Bar
store objects
and caching data,
Caching the RSS Feed
storeCachedResponse:forRequest:,
For the More Curious: Automatic Caching and Cache.db
storyboards
pros and cons,
More on Storyboards
segues,
Segues
vs. XIB files,
UIStoryboard
strings (see
NSString
)
strings tables,
NSLocalizedString and Strings Tables
stringWithFormat:,
Class methods
strong,
Declaring properties
strong references,
Strong and Weak References
,
Declaring properties
structures,
Objects
-> operator,
NSCopying
subclassing,
Subclassing an Objective-C Class
(see also
overriding methods
)
and method return type,
id
use of self,
Class methods
super,
super
superclasses,
Subclassing an Objective-C Class
,
Creating an NSObject subclass
,
super
superlayer,
Layer Content
superview,
Creating a Custom View
suspended state,
Application States and Transitions
syntax errors,
Compiling
system libraries,
Linking
,
Putting the pieces together

Other books

The Rescue by Sophie McKenzie
The Mighty Quinns: Logan by Kate Hoffmann
A Witch in Time by Nora Lee
The Baby Thief by L. J. Sellers