Difference between revisions of "IPad iOS 5 Development Essentials"
From Techotopia
Line 453: | Line 453: | ||
#* [[Basic iOS 5 iPad Animation using Core Animation|Building and Running the Animation Application]]<br><br> | #* [[Basic iOS 5 iPad Animation using Core Animation|Building and Running the Animation Application]]<br><br> | ||
# [[Integrating iAds into an iOS 5 iPad App]] | # [[Integrating iAds into an iOS 5 iPad App]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|iOS iPad Advertising Options]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|iAds Advertisement Formats]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Basic Rules for the Display of iAds]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Creating an Example iAds iPad Application]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Adding the iAds Framework to the Xcode Project]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Configuring the View Controller]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Designing the User Interface]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Creating the Banner Ad]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Displaying the Ad]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Changing Ad Format during Device Rotation]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|Implementing the Delegate Methods]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|bannerViewActionShouldBegin]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|bannerViewActionDidFinish]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|bannerView:didFailToReceiveAdWithError]] | ||
+ | #* [[Integrating iAds into an iOS 5 iPad App|bannerViewWillLoadAd]]<br><br> | ||
+ | # [[An Overview of iOS 5 iPad Multitasking]] | ||
+ | |||
<google>BUY_IOS5_IPAD</google> | <google>BUY_IOS5_IPAD</google> |
Revision as of 19:56, 30 March 2012
Table of Contents | Next | |
Introduction to iPad iOS 5 Development Essentials |
<google>BUY_IOS5_IPAD</google>
- Introduction to iPad iOS 5 Development Essentials
- The History of iOS
- The Anatomy of a New iPad
- iOS 5 Architecture and SDK Frameworks
- Joining the Apple iOS 5 Developer Program
- Installing Xcode 4 and the iOS 5 SDK (iPad)
- Creating a Simple iPad iOS 5 App
- Testing iOS 5 Apps on the iPad – Developer Certificates and Provisioning Profiles
- 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 iPad Device for Development
- Associating an App ID with an App
- iOS and SDK Version Compatibility
- Installing an App onto a Device
- The Basics of Objective-C Programming
- The Basics of Object Oriented Programming in Objective-C
- What is an Object?
- What is a Class?
- Declaring an Objective-C Class Interface
- Adding Instance Variables to a Class
- Define Class Methods
- Declaring an Objective-C Class Implementation
- Declaring and Initializing a Class Instance
- Automatic Reference Counting (ARC)
- Calling Methods and Accessing Instance Data
- Objective-C and Dot Notation
- How Variables are Stored
- An Overview of Indirection
- Indirection and Objects
- Indirection and Object Copying
- Creating the Program Section
- Bringing it all Together
- Structuring Object-Oriented Objective-C Code
- An Overview of the iPad iOS 5 Application Development Architecture
- Creating an Interactive iOS 5 iPad App
- Writing iOS 5 Code to Hide the iPad Keyboard
- Establishing Outlets and Actions using the Xcode Assistant Editor
- Understanding iPad iOS 5 Views, Windows and the View Hierarchy
- Creating the Storyboard Example Project
- Accessing the Storyboard
- Adding Scenes to the Storyboard
- Configuring Storyboard Segues
- Configuring Storyboard Transitions
- Associating a View Controller with a Scene
- Solving the Blank View Problem
- Triggering a Storyboard Segue Programmatically
- Performing Tasks before a Segue
- Using Xcode Storyboarding with iOS 5
- Creating the Storyboard Example Project
- Accessing the Storyboard
- Adding Scenes to the Storyboard
- Configuring Storyboard Segues
- Configuring Storyboard Transitions
- Associating a View Controller with a Scene
- Solving the Blank View Problem
- Triggering a Storyboard Segue Programmatically
- Performing Tasks before a Segue
- Using Xcode Storyboards to create an iOS 5 iPad Tab Bar Application
- An Overview of the Tab Bar
- Understanding View Controllers in a Multiview Application
- Setting up the Tab Bar Example Application
- Reviewing the Project Files
- Renaming the Initial View Controller
- Adding the View Controller for the Second Content View
- Adding the Tab Bar Controller to the Storyboard
- Adding a Second View Controller to the Storyboard
- Designing the View Controller User interfaces
- Configuring the Tab Bar Items
- Building and Running the Application
- An Overview of iPad iOS 5 Table Views and Xcode Storyboards
- Using Xcode Storyboards to Build Dynamic iPad TableViews with Prototype Table View Cells
- Creating the Example Project
- Adding the TableView Controller to the Storyboard
- Creating the UITableViewController and UITableViewCell Subclasses
- Declaring the Cell Reuse Identifier
- Designing a Storyboard UITableView Prototype Cell
- Modifying the CarTableViewCell Class
- Creating the Table View Datasource
- Downloading and Adding the Image Files
- Compiling and Running the Application
- Implementing iPad TableView Navigation using Xcode Storyboards
- Using an Xcode Storyboard to Create a Static iPad Table View
- Creating a Simple iOS 5 iPad Table View Application
- Creating a Navigation based iOS 5 iPad Application using TableViews
- Understanding the Navigation Controller
- An Overview of the Example
- Setting up the Project
- Reviewing the Project Files
- Adding the Root View Controller
- Creating the Navigation Controller
- 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
- Implementing the Functionality of the Second View Controller
- Adding the Navigation Code
- Controlling the Navigation Controller Stack Programmatically
- An iPad iOS 5 Split View and Popover Example
- An Overview of Split View and Popovers
- About the Example iPad Split View and Popover Project
- Creating the Project
- Reviewing the Project
- Reviewing the Application Delegate Class
- Configuring Master View Items
- Configuring the Detail View Controller
- Connecting Master Selections to the Detail View
- Popover Implementation
- Testing the Application
- Implementing a Page based iOS 5 iPad Application using UIPageViewController
- An Example iOS 5 iPad UIPageViewController Application
- Using the UIPickerView and UIDatePicker Components in iOS 5 iPad Applications
- An iOS 5 iPad UIPickerView Example
- Working with Directories on iOS 5
- 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 iPad Files on iOS 5
- Creating an NSFileManager Instance
- Checking for the Existence of a File
- 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 5 iPad Directory Handling and File I/O – A Worked Example
- Preparing an iOS 5 App to use iCloud Storage
- What is iCloud?
- iCloud Data Storage Services
- Preparing an Application to Use iCloud Storage
- Creating an iOS 5 iCloud enabled App ID
- Creating and Installing an iCloud Enabled Provisioning Profile
- Creating an iCloud Entitlements File
- Manually Creating the Entitlements File
- Accessing Multiple Ubiquity Containers
- Ubiquity Container URLs
- Managing Files using the iOS 5 UIDocument Class
- An Overview of the UIDocument Class
- Subclassing the UIDocument Class
- Conflict Resolution and Document States
- The UIDocument Example Application
- Creating a UIDocument Subclass
- Declaring the Outlets and Actions
- Designing the User Interface
- Implementing the Application Data Structure
- Implementing the contentsForType Method
- Implementing the loadFromContents Method
- Loading the Document at App Launch
- Saving Content to the Document
- Testing the Application
- Using iCloud Storage in an iOS 5 iPad Application
- iCloud Usage Guidelines
- Preparing the iCloudStore Application for iCloud Access
- Configuring the View Controller
- Implementing the viewDidLoad Method
- Implementing the metadataQueryDidFinishGathering: Method
- Implementing the saveDocument Method
- Enabling iCloud Document and Data Storage on an iPad
- Running the iCloud Application
- Reviewing and Deleting iCloud Based Documents
- Making a Local File Ubiquitous
- Synchronizing iPad iOS 5 Key-Value Data using iCloud
- An Overview of iCloud Key-Value Data Storage
- Sharing Data Between Applications
- Data Storage Restriction
- Conflict Resolution
- Receiving Notification of Key-Value Changes
- An iCloud Key-Value Data Storage Example
- Enabling the Application for iCloud Key Value Data Storage
- Implementing the View Controller
- Modifying the viewDidLoad Method
- Implementing the Notification Method
- Implementing the saveData Method
- Designing the User Interface
- Testing the Application
- iOS 5 iPad Data Persistence using Archiving
- iOS 5 iPad Database Implementation using SQLite
- What is SQLite?
- Structured Query Language (SQL)
- Trying SQLite on MacOS X
- Preparing an iPad 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 5 iPad Application
- About the Example SQLite iPad Application
- Creating and Preparing the SQLite Application Project
- Importing sqlite3.h and declaring the Database Reference
- Creating the Outlets and Actions
- Updating viewDidUnload
- 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 5 iPad 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 5 iPad Core Data Tutorial
- The iPad Core Data Example Application
- Creating a Core Data based iPad Application
- Creating the Entity Description
- Adding a View Controller
- 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
- Updating viewDidUnload
- Building and Running the Example Application
- An Overview of iOS 5 iPad Multitouch, Taps and Gestures
- An Example iOS 5 iPad Touch, Multitouch and Tap Application
- The Example iOS 5 iPad 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 5 iPad Touch Screen Gesture Motions
- Identifying iPad Gestures using iOS 5 Gesture Recognizers
- The UIGestureRecognizer Class
- Recognizer Action Messages
- Discrete and Continuous Gestures
- Obtaining Data from a Gesture
- Recognizing Tap Gestures
- Recognizing Pinch Gestures
- Detecting Rotation Gestures
- Recognizing Pan and Dragging Gestures
- Recognizing Swipe Gestures
- Recognizing Long Touch (Touch and Hold) Gestures
- An iPad iOS 5 Gesture Recognition Tutorial
- An iOS 5 iPad Graphics Tutorial using Quartz 2D and Core Image
- The iOS iPad 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
- Image Filtering with the Core Image Framework
- Basic iOS 5 iPad 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 5 iPad App
- iOS iPad Advertising Options
- iAds Advertisement Formats
- Basic Rules for the Display of iAds
- Creating an Example iAds iPad 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
- bannerViewWillLoadAd
- An Overview of iOS 5 iPad Multitasking
<google>BUY_IOS5_IPAD</google>
Table of Contents | Next | |
Introduction to iPad iOS 5 Development Essentials |