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 Author
About the Technical Reviewer
About the Cover Image Artist
Acknowledgments
Introduction
Day 1: Objective C, Xcode and iOS SDK Foundation Work
Chapter 1: Designing and Planning Our App
The app idea
Adding and editing birthdays
Importing birthdays from the Address Book and Facebook
Note taking
Reminder notifications
Facebook social integration and in-app marketing
The competition
The App Store title
The icon design
The user interface design
Retina displays, the status bar, and the iPhone 5
Paper prototyping: starting with the design
A walk-through of app designs
Exporting design image assets
A little extra help
Summary
Chapter 2: Provisioning Our App for Development
Download Xcode for free
Registering as an Apple developer
Enrolling in the iOS Developer Program
iOS Provisioning Portal
Generating certificates
Adding devices
Creating an App ID
Generating provisioning profiles
Summary
Chapter 3: Setting Up Our Xcode Project
Getting started
Breaking down the project structure
Application delegate
Info.plist
Prefix header
Storyboards
Hello World
Adding an icon and launch screen
Running the app on your iPhone
Summary
Chapter 4: Objective-C and Xcode: Developing a Blackjack Game
The Game
How to play
Creating the view
Setting the background color of a view
Adding labels, images, and buttons
Outlets: connecting the view
Actions: Responding to controls
Objective-C basics
Understanding the header and source files
Properties and iVars (instance variables)
Creating a private class interface: class extensions
Arrays
Init, Initializers, and designated initializers (constructors)
Factory/convenience methods
Switching off/on multiorientation support
The Model
The card model
The game model
Hooking it all together
Responding to user interaction
Protocols and the delegate pattern
Summary
Day 2: Storyboarding the User Interface
Chapter 5: iPhone App Navigation, Views, and View Controllers
Multiple view apps
Mastering views and view controllers
Adding a navigation controller
Storyboard scenes and the root view controller
Pushing a view controller with a segue
Creating view controller classes
View and view controller life cycle
Navigating view controllers
Bars and bar button items
Presenting a modal view controller
Dismissing a modal view controller
Subclassing: creating a core view controller
Adding a note-taking view controller
Flip to a settings view
Summary
A challenge
Chapter 6: Views, Controls, Camera, Action!
User interface controls and components
Edit birthday view: date pickers, switches, and text fields
Multilined text view in the edit notes view
Preparing the notification time view controller
More user interface action with the camera and Photo Library
Gesture recognizers
Implementing an action sheet
UIImagePickerController: taking photos and browsing the Photo Library
Tweaking image view rendering
Summary
Day 3: Working With Data
Chapter 7: Table Views, Arrays, and Dictionaries—Oh My!
Table views
Table data source and delegate protocols
Populating the table view with an array and a plist
Passing data with segues
Understanding segue identifiers
Adding new birthdays
Editing existing birthdays
Summary
Chapter 8: Data Persistence with Core Data
An introduction to Core Data
Creating a Core Data application
The persistent store
Entities and managed objects
The Core Data model file
Initializing a Core Data model
What is a managed object context?
Adding, editing, deleting, and saving entities
Implementing Core Data into Birthday Reminder
Adding the Core Data framework
Creating a Core Data model
Extending entities
Initializing our Core Data model
Connecting table views to result sets with NSFetchedResultsController
Populating the Core Data store
Duplicate entities and synchronization
Transitioning from dictionaries to entities
Saving notes
Cleaning up
Summary
Chapter 9: iOS Skinning: Make Your Apps Lickable
What makes an app lickable?
Let’s get skinning!
Create a core view controller
Custom table view cells
Table view cell background images
Creating a “style sheet”
Customizing navigation and toolbar appearance
Applying our style sheet to the rest of the app
Calculating text size
Skinning buttons
Summary
Day 4: Importing Birthdays from the Address Book and Facebook
Chapter 10: Importing Birthdays from the Address Book
Enhancing the home view for an empty database
Identifying view controller scenes in a storyboard
Accessing and filtering the address book contacts
Address book data privacy
Processing address book data
Creating a birthday import value object
Loading contact photos and data into our table view
Creating a multiselect table view for importing birthdays
Importing address book birthdays into the Core Data store
Activating phone calls, SMS, and e-mails
URL schemes and linking between multitasking apps
Deleting birthdays from the data store
Summary
Chapter 11: Working with Facebook and the iOS 6 Social Framework
Registering a new app with Facebook.com
Creating a Facebook import view controller
Authenticating with Facebook using the Accounts framework
Fetching Facebook birthdays
Loading Facebook friends into the table view
Importing Facebook birthdays into the Core Data store
Loading and displaying remote images
Posting to friends’ Facebook Walls
Creating a Facebook Wall post view controller
Summary
Chapter 12: Settings and Local Notifications
Working with static table view controllers
Building the settings singleton class
User defaults: iOS cookies
Updating birthdays
Scheduling and firing reminder local notifications
Resetting the icon badge
Summary
Day 5: The Finishing Touches
Chapter 13: Before You Launch: Increasing Your Chances of App Store Success
Getting more 5-star App Store ratings
Configuring Appirater
Sharing on Facebook, Twitter, and by e-mail
Five-minute sharing integration with the UIActivityViewController
Sharing on Facebook with the SLComposeViewController
Sharing on Twitter with the SLComposeViewController
Sending e-mail with the MFMailComposeViewController
Sending messages with the MFMessageComposeViewController
Summary
Chapter 14: Submitting Our App
Creating a new app submission with iTunes Connect
Setting a default language
Entering an app name
Entering the SKU number
Connecting a bundle identifier
Scheduling and pricing your app
Delaying the launch of your app
Pricing your app
Limiting your app to specific countries
Configuring version information
Selecting an App Store category
Setting up an app rating
Adding a description and metadata
Adding keywords
Uploading screenshots and iTunes artwork
App name secured and we have an iTunes App ID
Preparing our app for App Store submission
Creating an archive build of our project
Signing and uploading the build
But what if I spot a bug in my pending app?
Summary
Index
← Prev
Back
Next →
← Prev
Back
Next →