IPhone iOS 4 Development Essentials Xcode 4 Edition
From Techotopia
- About iPhone iOS 4 App Development Essentials - Xcode 4 Edition
- The Anatomy of an iPhone 4
- iOS 4 Architecture and SDK Frameworks
- iPhone OS becomes iOS
- An Overview of the iOS 4 Architecture
- The Cocoa Touch Layer
- UIKit Framework (UIKit.framework)
- Map Kit Framework (MapKit.framework)
- Push Notification Service
- Message UI Framework (MessageUI.framework)
- Address Book UI Framework (AddressUI.framework)
- Game Kit Framework (GameKit.framework)
- iAd Framework (iAd.framework)
- Event Kit UI Framework
- The iOS Media Layer
- Core Video Framework (CoreVideo.framework)
- Core Text Framework (CoreText.framework)
- Image I/O Framework (ImageIO.framework)
- Assets Library Framework (AssetsLibrary.framework)
- Core Graphics Framework (CoreGraphics.framework)
- Quartz Core Framework (QuartzCore.framework)
- OpenGL ES framework (OpenGLES.framework)
- iOS Audio Support
- AV Foundation framework (AVFoundation.framework)
- Core Audio Frameworks (CoreAudio.framework, AudioToolbox.framework and AudioUnit.framework)
- Open Audio Library (OpenAL)
- Media Player framework (MediaPlayer.framework)
- Core Midi Framework (CoreMIDI.framework)
- The iOS Core Services Layer
- Address Book framework (AddressBook.framework)
- CFNetwork Framework (CFNetwork.framework)
- Core Data Framework (CoreData.framework)
- Core Foundation Framework (CoreFoundation.framework)
- Core Media Framework (CoreMedia.framework)
- Core Telephony Framework (CoreTelephony.framework)
- EventKit Framework (EventKit.framework)
- Foundation Framework (Foundation.framework)
- Core Location Framework (CoreLocation.framework)
- Mobile Core Services Framework (MobileCoreServices.framework)
- Store Kit Framework (StoreKit.framework)
- SQLite library
- System Configuration Framework (SystemConfiguration.framework)
- Quick Look Framework (QuickLook.framework)
- The iOS Core OS Layer
- Accelerate Framework (Accelerate.framework)
- External Accessory framework (ExternalAccessory.framework)
- Security Framework (Security.framework)
- System (LibSystem)
- Installing Xcode 4 and the iOS 4 SDK
- Creating a Simple iOS 4 iPhone App (Xcode 4)
- Testing iOS 4 Apps on the iPhone – Developer Certificates and Provisioning Profiles
- Joining the iOS Developer Program
- Creating an iOS Development Certificate Signing Request
- Submitting the iOS Development Certificate Signing Request
- Installing an iOS Development Certificate
- Assigning Devices
- Creating an App ID
- Creating an iOS Development Provisioning Profile
- Enabling an iPhone Device for Development
- Associating an App ID with an App
- iOS and SDK Version Compatibility
- Installing an App onto a Device
- An Overview of the iPhone iOS 4 Application Development Architecture
- Creating an Interactive iOS 4 iPhone App
- Writing iOS 4 Code to Hide the iPhone Keyboard
- Understanding iPhone iOS 4 Views, Windows and the View Hierarchy
- iOS 4 iPhone Rotation, View Resizing and Layout Handling
- Creating an iOS 4 iPhone Multiview Application using the Tab Bar
- An Overview of the Tab Bar
- Understanding View Controllers in a Multiview Application
- Setting up the Tab Bar Example Application
- Configuring the App Delegate
- Creating the UITabBarController
- Connecting the App Delegate Outlet to the Tab Bar Controller
- Creating the Content Views and View Controllers
- Associating Content Views with Tabs
- Designing the Content Views
- Testing the Multiview Application
- Creating a Simple iOS 4 iPhone Table View Application (Xcode 4)
- An Overview of the Table View
- The Table View Delegate and dataSource
- Table View Styles
- Table View Cell Styles
- Setting up the Project
- Adding the Table View Component
- Making the Delegate and dataSource Connections
- Implementing the dataSource
- Building and Running the Application
- Adding Table View Images and Changing Cell Styles
- Creating a Navigation based iOS 4 iPhone Application using TableViews
- Understanding the Navigation Controller
- An Overview of the Example
- Setting up the Project
- Reviewing the Project Files
- Setting up the Data in the Root View Controller
- Writing Code to Display the Data in the Table View
- Creating the Second View Controller
- Connecting the Second View Controller to the Root View Controller
- Creating the NIB File for the Second Table View
- Implementing the Functionality of the Second View Controller
- Popping the View Controller off the Navigation Controller Stack
- Adding the Navigation Code
- Using the UIPickerView and UIDatePicker Components in iOS 4 iPhone Applications
- An iOS 4 iPhone UIPickerView Example
- Working with Directories on iOS 4
- The Application Documents Directory
- The Objective-C NSFileManager, NSFileHandle and NSData Classes
- Understanding Pathnames in Objective-C
- Creating an NSFileManager Instance Object
- Identifying the Current Working Directory
- Identifying the Documents Directory
- Identifying the Temporary Directory
- Changing Directory
- Creating a New Directory
- Deleting a Directory
- Listing the Contents of a Directory
- Getting the Attributes of a File or Directory
- Working with Files on iOS 4 (Xcode 4)
- Creating an NSFileManager Instance
- Checking if a File Exists
- Comparing the Contents of Two Files
- Checking if a File is Readable/Writable/Executable/Deletable
- Moving/Renaming a File
- Copying a File
- Removing a File
- Creating a Symbolic Link
- Reading and Writing Files with NSFileManager
- Working with Files using the NSFileHandle Class
- Creating an NSFileHandle Object
- NSFileHandle File Offsets and Seeking
- Reading Data from a File
- Writing Data to a File
- Truncating a File
- [iOS 4 iPhone Directory Handling and File I/O – A Worked Example
- The Example iPhone Application
- Setting up the Application project
- Defining the Actions and Outlets
- Designing the User Interface
- Checking the Data File on Application Startup
- Implementing the Action Method
- Building and Running the Example
- iOS 4 iPhone Data Persistence using Archiving
- iOS 4 iPhone Database Implementation using SQLite
- What is SQLite?
- Structured Query Language (SQL)
- Trying SQLite on MacOS X
- Preparing an iPhone Application Project for SQLite Integration
- Key SQLite Functions
- Declaring a SQLite Database
- Opening or Creating a Database
- Preparing and Executing a SQL Statement
- Creating a Database Table
- Extracting Data from a Database Table
- Closing a SQLite Database
- An Example SQLite based iOS 4 iPhone Application (Xcode 4)
- About the Example SQLite iPhone Application
- Creating and Preparing the SQLite Application Project
- Importing sqlite3.h and declaring the Database Reference
- Creating the Outlets and Actions
- Releasing Memory
- Creating the Database and Table
- Implementing the Code to Save Data to the SQLite Database
- Implementing Code to Extract Data from the SQLite Database
- Designing the User Interface
- Building and Running the Application
- Working with iOS 4 iPhone Databases using Core Data
- The Core Data Stack
- Managed Objects
- Managed Object Context
- Managed Object Model
- Persistent Store Coordinator
- Persistent Object Store
- Defining an Entity Description
- Obtaining the Managed Object Context
- Getting an Entity Description
- Creating a Managed Object
- Getting and Setting the Attributes of a Managed Object
- Fetching Managed Objects
- Retrieving Managed Objects based on Criteria
- An iOS 4 iPhone Core Data Tutorial
- The iPhone Core Data Example Application
- Creating a Core Data based iPhone Application
- Creating the Entity Description
- Adding a View Controller
- Connecting the View
- Adding Actions and Outlets to the View Controller
- Designing the User Interface
- Saving Data to the Persistent Store using Core Data
- Retrieving Data from the Persistent Store using Core Data
- Releasing Memory
- Building and Running the Example Application
- An Overview of iOS 4 iPhone Multitouch, Taps and Gestures
- An Example iOS 4 iPhone Touch, Multitouch and Tap Application
- The Example iOS iPhone Tap and Touch Application
- Creating the Example iOS Touch Project
- Creating the Outlets
- Designing the user Interface
- Enabling Multitouch on the View
- Implementing the touchesBegan Method
- Implementing the touchesMoved Method
- Implementing the touchesEnded Method
- Getting the Coordinates of a Touch
- Building and Running the Touch Example Application
- Detecting iOS 4 iPhone Touch Screen Gesture Motions
- Drawing iOS 4 iPhone 2D Graphics with Quartz
- An iOS 4 iPhone Graphics Drawing Tutorial using Quartz 2D
- The iOS iPhone Drawing Example Application
- Creating the New Project
- Creating the UIView Subclass
- Locating the drawRect Method in the UIView Subclass
- Drawing a Line
- Drawing Paths
- Drawing a Rectangle
- Drawing an Ellipse or Circle
- Filling a Path with a Color
- Drawing an Arc
- Drawing a Cubic Bézier Curve
- Drawing a Quadratic Bézier Curve
- Dashed Line Drawing
- Drawing an Image into a Graphics Context
- Basic iPhone Animation using Core Animation
- UIView Core Animation Blocks
- Understanding Animation Curves
- Receiving Notification of Animation Completion
- Performing Affine Transformations
- Combining Transformations
- Creating the Animation Example Application
- Implementing the Interface File
- Drawing in the UIView
- Detecting Screen Touches and Performing the Animation
- Building and Running the Animation Application
- Integrating iAds into an iOS 4 iPhone App
- iOS iPhone Advertising Options
- iAds Advertisement Formats
- Basic Rules for the Display of iAds
- Creating an Example iAds iPhone Application
- Adding the iAds Framework to the Xcode Project
- Configuring the View Controller
- Designing the User Interface
- Creating the Banner Ad
- Displaying the Ad
- Changing Ad Format during Device Rotation
- Implementing the Delegate Methods
- bannerViewActionShouldBegin
- bannerViewActionDidFinish
- bannerView:didFailToReceiveAdWithError
- An Overview of iOS 4 iPhone Multitasking
- Scheduling iOS 4 iPhone Local Notifications
- Getting iPhone Location Information using the iOS 4 Core Location Framework
- An Example iOS 4 iPhone Location Application
- Creating the Example iOS iPhone Location Project
- Adding the Core Location Framework to the Project
- Configuring the View Controller
- Designing the User Interface
- Creating the CLLocationManager Object
- Implementing the Action Method
- Implementing the Application Delegate Methods
- Releasing Memory
- Building and Running the iPhone Location Applicication
- Accessing the iPhone Camera and Photo Library (Xcode 4)