2. About iphone ios 5 Development Essentials. 5. Joining the Apple ios Developer Program



Similar documents
iphone ios 6 Development Essentials

Learning ios Programming

MA-WA1920: Enterprise iphone and ipad Programming

Mobile App Design and Development

Mobility Introduction Android. Duration 16 Working days Start Date 1 st Oct 2013

Beginner level: Modules 1 to 18. Advanced level: Quick review of modules 1 to 18, then following to module A Simple ios Application

How To Develop An App For Ios (Windows)

View Controller Programming Guide for ios

ios Technology Overview

Objective C and iphone App

Developing Applications for ios

How To Use Ios 5

Mobile Application Development ITP 342 (3 Units)

Mobile Application Development

ios Technology Overview

Wiley Publishing, Inc.

Praktikum Entwicklung von Mediensystemen mit

App Programming Guide for ios

Getting Started with Android Programming (5 days) with Android 4.3 Jelly Bean

Start Developing ios Apps Today

[PACKTl. Flash Development for Android Cookbook. Flash, Flex, and AIR. Joseph Labrecque. Over 90 recipes to build exciting Android applications with

ITG Software Engineering

ios Application Development &

INTRODUCTION TO IOS CSCI 4448/5448: OBJECT-ORIENTED ANALYSIS & DESIGN LECTURE 13 02/22/2011

Chapter 1. Introduction to ios Development. Objectives: Touch on the history of ios and the devices that support this operating system.

geniusport mobility training experts

ANDROID TRAINING COURSE MODULES. Module-I: Introduction to Android. Introducing Android. Installing Development Tools. Using the Emulator.

geniusport mobility training experts

Developer's Cookbook. Building Applications with. The Android. the Android SDK. A Addison-Wesley. James Steele Nelson To

An Introduction to Modern Software Development Tools Creating A Simple GUI-Based Tool Appleʼs XCode Version 3.2.6

«compl*tc IDIOT'S GUIDE. Android App. Development. by Christopher Froehlich ALPHA. A member of Penguin Group (USA) Inc.

Can the app be installed on the device? Does the app behave as designed/desired if there is an incoming call?

Mobile Application Development ITP 342 (3 Units)

Beginner's Guide. LiveCode Mobile Development. LiveCode. Create fun-filled, rich apps for Android and ios with. Colin Holgate PUBLISHING

White Noise Help Guide for iphone, ipad, and Mac

Client Requirement. Master Data Management App. Case Study -

Welcome to icue! Version 4

Workshop on Android and Applications Development

Quareo ICM Server Software

Getting Started. Version 3.1 Last updated 2014/3/10. Orbweb ME: Getting Started

Introduction: The Xcode templates are not available in Cordova or above, so we'll use the previous version, for this recipe.

IV3Dm provides global settings which can be set prior to launching the application and are available through the device settings menu.

ALIBI Witness and ALIBI Witness HD Apps for Android - Quick Start Guide

Axxon Monitor. User Manual

Central Management Software CV3-M1024

COLLIN COLLEGE COURSE SYLLABUS

CSCI E-65: Mobile Application Development Using Swift and ios

Copyright 2010 The Pragmatic Programmers, LLC.

TIPS FOR USING OS X 10.8 MOUNTAIN LION

Kevin Hoffman. Sams Teach Yourself. Mac OS* X Lion" App Development. 800 East 96th Street, Indianapolis, Indiana, USA

Your First App Store Submission

Overview of the Adobe Flash Professional CS6 workspace

IDIS Mobile ios. Operation Manual. Powered by

Store & Share Quick Start

TakeMySelfie ios App Documentation

Android v ios Mobile Operating Systems

Cocoa Fundamentals Guide. (Retired Document)

Programming Cocoa with Ruby Create Compelling Mac Apps Using RubyCocoa

IOS App Development Training

Learn ios 7 App. Development. James Bucanek. Apress*

Mobile Phones Operating Systems

WebEx Meeting Center User Guide

PhoneView Product Manual

CinePlay User Manual

ios App Programming Guide

Mobile Game and App Development the Easy Way

RDM+ Remote Desktop for Android. Getting Started Guide

ADITION ios Ad SDK Integration Guide for App Developers

INDEX. Google Android Phone OS application and operation 2. Blackberry Operation System(Software Installation and Operation) 13

ios Development: Getting Started Min Tsai March 1, 2011 terntek.com v1.0

Xcode Project Management Guide. (Legacy)

Creating Hyperlinks & Buttons InDesign CS6

Game Center Programming Guide

Xcode Application note

Sizmek Formats. IAB Mobile Pull. Build Guide

End User Guide. July 22, 2015

Information Technology Career Field Pathways and Course Structure

ios SDK Release Notes for ios 5.0 beta 3

Frequently Asked Questions for the USA TODAY e-newspaper

Seagate NAS OS 4 Reviewers Guide: NAS / NAS Pro / Business Storage Rackmounts

Getting Started with Adobe Connect. Div of IT Learning Technologies

RESCO MOBILE CRM QUICK GUIDE. for MS Dynamics CRM. ios (ipad & iphone) Android phones & tablets

Dacorum U3A Apple Mac Users Group Agenda TUESDAY 7th July 2015 Time Machine Backups for your MAC & ipad?

ADTVision (ios) Mobile Client Software User Manual (V1.6)

ClickView app for iphone and ipad User manual for admins/teachers

ADOBE ACROBAT CONNECT PRO MOBILE VISUAL QUICK START GUIDE

Introduction to iphone Development

ipad Basics Tips from the October 16, 2014 ipad Basics Class Tip No. 1 Apple ID Where is it found? Settings>iCloud>Apple ID

ios Team Administration Guide (Legacy)

Transcription:

Table of Contents 1. Preface 2. About iphone ios 5 Development Essentials Example Source Code Feedback 3. The Anatomy of an iphone 4S ios 5 Display Wireless Connectivity Wired Connectivity Memory Cameras Sensors Location Detection Central Processing Unit (CPU) Speaker and Microphone Vibration 4. iphone ios 5 Architecture and SDK Frameworks iphone OS becomes ios An Overview of the ios 5 Architecture The Cocoa Touch Layer The ios Media Layer ios Audio Support The ios Core Services Layer The ios Core OS Layer 5. Joining the Apple ios Developer Program Registered Apple Developer ios Developer Program When to Enroll in the ios Developer Program? Enrolling in the ios Developer Program 6. Installing Xcode 4 and the ios 5 SDK Identifying if you have an Intel or PowerPC based Mac Installing Xcode 4 and the ios 5 SDK Starting Xcode 4.2 Índice para divulgação no BR-Mac.org 1

7. Creating a Simple iphone ios 5 App Starting Xcode 4 Creating the ios App User Interface Changing Component Properties Adding Objects to the User Interface Building and Running an ios App in Xcode 4 Dealing with Build Errors 8. Testing ios 5 Apps on the iphone 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 iphone Device for Development Associating an App ID with an App ios and SDK Version Compatibility Installing an App onto a Device 9. An Overview of the iphone ios 5 Application Development Architecture Model View Controller (MVC) The Target-Action pattern, IBOutlets and IBActions Subclassing Delegation 10. Creating an Interactive ios 5 iphone App Creating the New Project Creating the User Interface Building and Running the Sample Application Adding Actions and Outlets Connecting the Actions and Outlets to the User Interface Building and Running the Finished Application 11. Writing ios 5 Code to Hide the iphone Keyboard Creating the Example App Hiding the Keyboard when the User Touches the Return Key Hiding the Keyboard when the User Taps the Background Índice para divulgação no BR-Mac.org 2

12. Understanding ios 5 iphone Views, Windows and the View Hierarchy An Overview of Views The UIWindow Class The View Hierarchy View Types The Window Container Views Controls Display Views Text and Web Views Navigation Views and Tab Bars Alert Views and Action Sheets 13. ios 5 iphone Rotation, View Resizing and Layout Handling Setting up the Example Enabling and Disabling Rotation Testing Rotation Behavior Configuring View Autosizing Coding Layout and Size Changes 14. Creating an ios 5 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 Locating the Root Controller Reviewing the Content View Controllers Initializing the Root Controller Building and Running the Application Adding an Additional Content View 15. Creating a Simple ios 5 iphone Table View Application 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 Índice para divulgação no BR-Mac.org 3

16. Creating a Navigation based ios 5 iphone 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 Adding the Navigation Code Controlling the Navigation Controller Stack Programmatically 17. Using Xcode Storyboarding (iphone ios 5) An Overview of Xcode Storyboarding 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 Triggering a Storyboard Segue Programmatically Performing Tasks before a Segue 18. Implementing a Page based ios 5 iphone Application using UIPageViewController The UIPageViewController Class The UIPageViewController DataSource Navigation Orientation Spine Location The UIPageViewController Delegate Protocol 19. An Example ios 5 iphone UIPageViewController Application The Xcode Page-based Application Template Creating the Project Adding the Content View Controller Creating Data Model Initializing the UIPageViewController Running the UIPageVIewController Application Índice para divulgação no BR-Mac.org 4

20. Using the iphone ios 5 UIPickerView and UIDatePicker Components The DatePicker and PickerView Components A DatePicker Example Coding the Date Picker Example Functionality Releasing Memory Building and Running the iphone Date Picker Application 21. An ios 5 iphone UIPickerView Example Creating the ios 5 PickerView Project UIPickerView Delegate and DataSource The pickerviewcontroller.h File Initializing the Arrays Implementing the DataSource Protocol Implementing the Delegate Hiding the Keyboard Memory Management Testing the Application 22. Working with iphone ios 5 Filesystem Directories 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 23. Working with iphone 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 Índice para divulgação no BR-Mac.org 5

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 24. ios 5 iphone Directory Handling and File I/O A Worked Example The Example iphone Application Setting up the Application project Defining the Actions and Outlets Checking the Data File on Application Startup Implementing the Action Method Building and Running the Example 25. Preparing an ios 5 iphone 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 Defining the Ubiquity Container URL 26. Managing iphone 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 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 27. Using icloud Storage in an ios 5 iphone Application icloud Usage Guidelines Índice para divulgação no BR-Mac.org 6

Preparing the icloudstore Application for icloud Access Configuring the View Controller Declaring the UBUIQUITY_CONTAINER_URL Constant Implementing the viewdidload Method Implementing the metadataquerydidfinishgathering: Method Implementing the savedocument Method Enabling icloud Document and Data Storage on an iphone Running the icloud Application Reviewing and Deleting icloud Based Documents Making a Local File Ubiquitous 28. Synchronizing iphone ios 5 Key-Value Data using icloud An Overview of icloud Key-Value Data Storage Sharing Data Between Applications Data Storage Restrictions 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 29. ios 5 iphone Data Persistence using Archiving An Overview of Archiving The Archiving Example Application Implementing the Actions and Outlets Memory Management Checking for the Existence of the Archive File on Startup Archiving Object Data in the Action Method Testing the Application 30. ios 5 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 Índice para divulgação no BR-Mac.org 7

Extracting Data from a Database Table Closing a SQLite Database 31. An Example SQLite based ios 5 iphone Application 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 Building and Running the Application 32. Working with ios 5 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 33. An ios 5 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 Adding Actions and Outlets to the View Controller 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 34. An Overview of ios 5 iphone Multitouch, Taps and Gestures The Responder Chain Índice para divulgação no BR-Mac.org 8

Forwarding an Event to the Next Responder Gestures Taps Touches Touch Notification Methods touchesbegan method touchesmoved method touchesended method touchescancelled method 35. An Example ios 5 iphone Touch, Multitouch and Tap Application The Example ios 5 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 36. Detecting ios 5 iphone Touch Screen Gesture Motions The Example ios 5 iphone Gesture Application Creating the Example Project Creating Outlets Designing the Application User Interface Implementing the touchesbegan Method Implementing the touchesmoved Method Implementing the touchesended Method Building and Running the Gesture Example 37. Identifying iphone 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 Índice para divulgação no BR-Mac.org 9

38. An iphone ios 5 Gesture Recognition Tutorial Creating the Gesture Recognition Project Configuring the Label Outlet Configuring the Gesture Recognizers Adding the Action Methods Testing the Gesture Recognition Application 39. Drawing ios 5 iphone 2D Graphics with Quartz Introducing Core Graphics and Quartz 2D The drawrect Method Points, Coordinates and Pixels The Graphics Context Working with Colors in Quartz 2D 40. An ios 5 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 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 41. Basic ios 5 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 Índice para divulgação no BR-Mac.org 10

42. Integrating iads into an ios 5 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 Creating the Banner Ad Displaying the Ad Changing Ad Format during Device Rotation Implementing the Delegate Methods bannerviewactionshouldbegin bannerviewactiondidfinish bannerview:didfailtoreceiveadwitherror bannerviewwillloadad 43. An Overview of ios 5 iphone Multitasking Understanding ios Application States A Brief Overview of the Multitasking Application Lifecycle Disabling Multitasking for an ios Application Checking for Multitasking Support Supported Forms of Background Execution The Rules of Background Execution Scheduling Local Notifications 44. Scheduling ios 5 iphone Local Notifications Creating the Local Notification iphone App Project Locating the Application Delegate Method Adding a Sound File to the Project Scheduling the Local Notification Testing the Application Cancelling Scheduled Notifications Immediate Triggering of a Local Notification 45. Getting iphone Location Information using the ios 5 Core Location Framework The Basics of Core Location Configuring the Desired Location Accuracy Configuring the Distance Filter The Location Manager Delegate Obtaining Location Information from CLLocation Objects Longitude and Latitude Accuracy Altitude Índice para divulgação no BR-Mac.org 11

Calculating Distances Location Information and Multitasking 46. An Example ios 5 iphone Location Application Creating the Example ios 5 iphone Location Project Adding the Core Location Framework to the Project Configuring the View Controller Creating the CLLocationManager Object Implementing the Action Method Implementing the Application Delegate Methods Releasing Memory Building and Running the iphone Location Application 47. Working with Maps on the iphone with MapKit and the MKMapView Class About the MapKit Framework Understanding Map Regions About the iphone MKMapView Tutorial Creating the iphone Map Tutorial Adding the MapKit Framework to the Xcode Project Declaring an Outlet for the MapView Creating the MKMapView and Connecting the Outlet Adding the Tool Bar Items Changing the MapView Region Changing the Map Type Testing the iphone MapView Application Updating the Map View based on User Movement Adding Basic Annotations to a Map View 48. Accessing the ios 5 iphone Camera and Photo Library The ios 5 UIImagePickerController Class Creating and Configuring a UIImagePickerController Instance Configuring the UIImagePickerController Delegate Detecting Device Capabilities Saving Movies and Images 49. An Example ios 5 iphone Camera Application An Overview of the Application Creating the Camera Project Adding Framework Support Configuring Protocols, Outlets and Actions Implementing the Action Methods Índice para divulgação no BR-Mac.org 12

Writing the Delegate Methods Releasing Memory Building and Running the Application 50. Video Playback from within an ios 5 iphone Application An Overview of the MPMoviePlayerController Class Supported Video Formats The iphone Movie Player Example Application Adding the MediaPlayer Framework to the Project Declaring the Action Method and MoviePlayer Instance Adding the Video File to the Project Resources Implementing the Action Method The Target-Action Notification Method Build and Run the Application Accessing a Network based Video File 51. Playing Audio on an iphone using AVAudioPlayer Supported Audio Formats Receiving Playback Notifications Controlling and Monitoring Playback Creating the iphone Audio Example Application Adding the AVFoundation Framework Adding an Audio File to the Project Resources Creating Actions and Outlets Implementing the Action Methods Creating Initializing the AVAudioPlayer Object Implementing the AVAudioPlayerDelegate Protocol Methods Releasing Memory Building and Running the Application 52. Recording Audio on an iphone with AVAudioRecorder An Overview of the iphone AVAudioRecorder Tutorial Creating the Recorder Project Declarations, Actions and Outlets Creating the AVAudioRecorder Instance Implementing the Action Methods Implementing the Delegate Methods Releasing Memory Testing the Application Índice para divulgação no BR-Mac.org 13

53. Integrating Twitter into iphone ios 5 Applications The ios 5 Twitter Framework ios 5 Accounts Framework The TWTeetComposeViewController Class 54. An Example iphone ios 5 TWTeetComposeViewController Twitter Application iphone Twitter Application Overview Creating the TwitterApp Project Declaring Outlets, Actions and Variables Creating the TWTweetComposeViewController Instance Implementing the Action Methods Releasing Memory Building and Running the Application 55. Preparing and Submitting an ios 5 iphone Application to the App Store Generating an ios Distribution Certificate Signing Request Submitting the Certificate Signing Request Installing the Distribution Certificate Generating an App Store Distribution Provisioning Profile Adding an Icon to the Application Archiving the Application for Distribution Configuring the Application in itunes Connect Índice para divulgação no BR-Mac.org 14