Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Cover
Title
Copyright
Dedication
Contents at a Glance
Contents
About the Authors
About the Technical Reviewer
Acknowledgments
Introduction
What to Expect from This Book
How This Book Is Organized
Source Code and Errata
Contact Information
Chapter 1: Xcode 4 Tips and Tricks
Xcode 4: An Introduction
Build a Lite and Full Version in One Xcode Project
Zombie Hunter
Version Control with Xcode 4
Steve and the ARC
Quick Tips
Summary
Chapter 2: Introduction to Interface Builder
Interface Builder Walkthrough
Our Forces Combined…
Touches Too
Adjusting Tint
Rapid App Development with Storyboarding
So What’s in a Story(board)?
Telling a Story
Passing Data Between Scenes
UITableViewCell Prototypes
Adding a Storyboard to an Existing Project
Summary
Chapter 3: Application Design Elements
Cocoa Touch Controls
UILabel
UIButton
UISegmentedControl
UITextField
UISlider
UISwitch
UIActivityIndicatorView
UIProgressView
UIPageControl
UIStepper
Data Views
UIImageView
UITextView
UIScrollView
UIWebView
MKMapView
UITableView
UIPickerView
UIDatePickerView
Gesture Recognizers
UITapGestureRecognizer
UISwipeGestureRecognizer
UIPanGestureRecognizer
UILongPressGestureRecognizer
UIPinchGestureRecognizer
UIRotationGestureRecognizer
View Controllers
UINavigationController
UITabBarController
UISplitViewController
UIPopoverController
UIPageViewController
Modal Controllers
Temporary User Interface Elements
UIAlertView
UIActionSheet
Summary
Chapter 4: Location Recipes
Supported Devices
Requiring Location Services
How Do I Know Where I Am?
Recipe 4–1: Getting Device Location Information
Recipe 4–2: Significant Location Changes
Recipe 4–3: Determining Magnetic Bearing
Recipe 4–4: Specifying True Bearing
Recipe 4–5: Region Monitoring
A Thing or Two About Regions
Welcome to Baltimore!
Recipe 4–6: Reverse and Forward Geocoding
Getting Coordinates from Place Names
Summary
Chapter 5: Map Kit Recipes
Recipe 5–1: Showing a Map with the Device's Location
Recipe 5–2: Marking Locations with Pins
Recipe 5–3: Creating Custom Annotations
Recipe 5–4: Adding Overlays to a Map
Recipe 5–5: Grouping Annotations by Location
Summary
Chapter 6: Camera Recipes
Recipe 6–1: Taking Pictures
Recipe 6–2: Recording Video
Recipe 6–3: Editing Videos
Recipe 6–4: Custom Camera Overlays
Recipe 6–5: AV Framework and Capture Sessions
Recipe 6–6: Programmatically Recording Video
Recipe 6–7: Capturing Video Frames
Summary
Chapter 7: Multimedia Recipes
Recipe 7–1: Playing Audio
Recipe 7–2: Recording Audio
Recipe 7–3: Accessing the iPod Library
Querying Media
A Few Notes on MPMediaPropertyPredicates:
Recipe 7–4: Background Playing and Now Playing Info
Summary
Chapter 8: User Data Recipes
Recipe 8–1: Working with NSCalendar and NSDate
Recipe 8–2: Fetching Events
Recipe 8–3: Displaying Events in a UITableView
Recipe 8–4: Viewing, Editing, and Deleting Events
Recipe 8–5: Creating Simple Events
Recipe 8–6: Recurring Events
Recipe 8–7: Basic Address Book Access
Recipe 8–8: Setting Contact Information
Recipe 8–9: Viewing Contacts
Summary
Chapter 9: UITableView Recipes
Recipe 9–1: Creating an Ungrouped Table
A Note on Rounded Corners
Enhanced User Interaction
A Note on Cell View Customization
Recipe 9–2: Editing a UITableView
UITableView Row Animations
But Wait, There’s More!
Recipe 9–3: Re-ordering a UITableView
Recipe 9–4: Creating a Grouped UITableView
Summary
Chapter 10: Data Storage Recipes
Recipe 10–1: Using NSUserDefaults
Recipe 10–2: Managing Files
Core Data
Recipe 10–3: Persistence with iCloud
Recipe 10–4: Storing Key-Value Data in iCloud
Summary
Chapter 11: Core Data Recipes
What Is Core Data?
Recipe 11–1: Creating a Data Model
Recipe 11–2: Working with NSManagedObjects
Recipe 11–3: Subclassing NSManagedObject
Recipe 11–4: Filtering Your Fetch Requests
Recipe 11–5: Versioning
An Irritating Error
Summary
Chapter 12: Core Motion Recipes
Recipe 12–1: Registering Shake Events
Recipe 12–2: Accessing Raw Core Motion Data
Core Motion in Detail
Attitude Properties
Recipe 12–3: Moving a UILabel with the Accelerometer
Summary
Chapter 13: Data Transmission Recipes
Recipe 13–1: Composing Text Messages
Attaching Data to Mail
Recipe 13–3: Printing an Image
Recipe 13–4: Printing Plain Text
Recipe 13–5: Printing a View
Recipe 13–6: Formatted Printing with Page Renderers
Summary
Chapter 14: Twitter Recipes
Recipe 14–1: Composing Simple Tweets
Recipe 14–2: Creating Simple TWRequests
Sending Tweets via TWRequest
Recipe 14–3: Retrieving Tweets
Recipe 14–4: Filtering Tweets
Summary
Chapter 15: Image Recipes
Recipe 15–1: Drawing Simple Shapes
Programming Screenshots
Recipe 15–2: Using UIImageViews
Recipe 15–3: Scaling Images
In Review
Recipe 15–4: Manipulating Images with Filters
Recipe 15–5: Detecting Features
Summary
Chapter 16: Game Kit Recipes
Recipe 16–1: Starting with Game Center
iTunes Connect Setup
Project Setup
Checking for Game Center Support
Player Authentication
Recipe 16–2: Leaderboards
Setting Up iTunes Connect
Setting Up Your Code
Showing High Scores
Recipe 16–3: Achievements
Setting Up iTunes Connect
Setting Up Your Code
Showing Achievements
Recipe 16–4: Multiplayer
Setting Up Your Code
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →