IOS SDK Programming I OS SDK.Programming A Beginner's Guide J. Brannan, B. Ward (Mc Graw Hill, 2011) WW
User Manual:
Open the PDF directly: View PDF
Page Count: 529 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Contents
- Acknowledgments
- Introduction
- 1 The iOS Software Development Kit (SDK)
- 2 A C Refresher
- C Command-Line Programs
- Try This: Creating a Simple C Program Using Xcode
- C Comments
- Understanding Headers, Import, and Include
- Try This: Creating a Header File
- Preprocessor Statements
- Try This: Using Preprocessor Statements
- Data Types and Operators
- Control, Functions, and Conditional Statements
- Arrays and Structures
- Functions
- The printf Statement
- Pointers
- Try This: Using Pointers
- Dereferencing a Pointer
- Pointers and Arrays
- Try This: Using an Array with Pointers
- Summary
- 3 Just Enough Objective-C: Part One
- Objective-C Classes and Objects
- Class Interface and Implementation
- Try This: Generating an Objective-C Class’ Interface and Implementation
- The @interface and @implementation Compiler Directives
- Method Declaration and Definition
- Try This: Adding SayHello to the Simple Class
- Interface Anatomy
- Implementation Anatomy
- Public, Private, and Protected Instance Variables
- Understanding Simple Messaging
- Using self in a Message
- Nested Arguments
- Class and Instance Methods
- Try This: Adding sayGoodBye as a Class Method
- The alloc and init Methods
- Managing Memory Using Retain and Release
- Try This: Using Manual Memory Management
- Instance Variables and Memory
- Managing Memory Using Autorelease
- Summary
- 4 Just Enough Objective-C: Part Two
- 5 Deploying to an iPhone, Debugging, and Testing
- 6 UIApplication and UIApplicationDelegate
- 7 UIView and UIViewController
- 8 UITabBar and UITabBarController
- 9 UINavigationBar and UINavigationController
- 10 Tables Using UITableView and UITableViewController
- UITableView
- UITableViewDelegate and UITableViewDataSource
- Try This: Adopting the UITableViewDelegate and UITableViewDataSource
- Try This: Adding a Delegate and Data Source
- UITableViewController
- Try This: Using a UITableViewController
- Grouping and Indexing
- Try This: Grouping
- Try This: Indexing
- Images in Tables
- Try This: Adding an Image
- Selecting Rows
- Try This: Row Selection
- Changing Row Height
- Try This: Changing Row Height
- Accessorizing Table Cells
- Try This: Accessorizing a Table Cell
- Customizing a Table Cell
- Try This: Customizing a Cell Using Interface Builder
- Using Tables with Navigation Bars and Tabs
- Try This: Using a Table in a Navigation Controller in a Tab
- Editing Table Cells
- Try This: Editing Rows
- Summary
- 11 Activity Progress and Alerting Users
- Showing Activity—the UIActivityIndicatorView
- Try This: Using a UIActivitylndicatorView
- Showing Progress—the UIProgressView
- Try This: Using a UIProgress View
- Alerting Users
- UIAlertView and UIAlertViewDelegate
- Try This: Creating a Simple UIAlertView
- Try This: Using an Alert with Multiple Buttons
- UIActionSheet and UIActionSheetDelegate
- Try This: Using a UIActionSheet
- Application Badges
- Try This: Adding an Application Badge
- Summary
- 12 Controls—Part One: Using Buttons, Sliders, Switches, and Text Fields
- Buttons
- Try This: Using a Custom Button Background Image and Image
- Button Types
- UIToolBar
- Try This: Creating a UIToolbar
- UISwitch
- UISlider
- Try This: Using a Switch and a Slider
- UITextField
- Try This: Using UITextField (with a Number Pad)
- UITextView
- UISegmentedControl
- Try This: Using a UISegmentedControl
- The Web View
- Try This: Creating a Simple Web Browser
- Summary
- 13 Controls—Part Two: Using Pickers and Using the Camera
- Using Pickers: Date Pickers and Pickers
- Try This: Using a Date Picker
- Try This: Using a UIDatePicker in Timer Mode
- Try This: Using a Picker
- Try This: Using a UIPickerView with Two Components
- Try This: Loading UIImageViews into a UIPickerView
- Using the Camera: UIImagePickerController
- Try This: Using the UIImagePickerController
- Try This: Using Notifications
- Summary
- 14 Application Settings
- The Settings Application
- The Settings Bundle
- Try This: Creating a Settings Bundle
- Try This: Adding a PSTextFieldSpecifier
- Try This: Adding a PSMultiValueSpecifier
- Try This: Adding a PSToggleSwitchSpecifier
- Try This: Adding a PSSliderSpecifier
- Try This: Adding a PSChildPaneSpecifier
- Reading Settings Using NSUserDefaults
- Try This: Reading the Settings Bundle
- Summary
- 15 Property Lists and Archiving
- 16 Data Persistence Using SQLite
- Adding a SQLite Database
- Try This: Creating a Simple Database Using FireFox SQLite Manager
- Basic SQLite Database Manipulation
- Try This: Opening and Querying a Database
- Try This: Inserting, Updating, and Deleting Records
- Try This: Inserting Records
- Try This: Updating Records
- Try This: Deleting Records
- Summary
- 17 Core Data
- Core Data in Brief
- Creating a Model
- Try This: Adding Entities and Relationships to a Core Data Model
- Model, Context, and Store
- NSFetchedResultsController
- Try This: Fetching All AKCGroup Entities
- Adding Objects
- Saving Changes
- Deleting Entities
- Updating Entities
- Try This: Adding Navigation and AKCGroup Editing
- Navigation
- Try This: Adding Navigation and Editing for a List of Breeds
- Try This: Adding a Breed Detail View
- Distributing Core Data with Your App
- What Next?
- Summary
- 18 Multimedia
- 19 Universal Applications for the iPad
- Index