Index

images  A

App Game Center

    displaying

        gameCenterViewControllerDidFinish

        showGameCenter: action method

        ViewController.h

        ViewController.xib file

        Visit Game Center button

    game implementation

        alert view

        AppDelegate.h file

        AppDelegate.m

        buttonForIndex: helper method

        easy level screen

        gameButtonSelected action

        gameButtonSelected: action method

        GameViewController.h

        GameViewController.m

        helper method

        IBAction

        “killer” button

        main menu view

        playEasyGame action

        playHardGame action

        playNormalGame action

        resetButtonTags

        setupButtonsForEasyGame

        setupButtonsForHardGame

        setupButtonsForNormalGame

        setupButtons helper method

        three levels

        UIAlertViewDelegate protocol

        UIViewController subclass

        user interface

        ViewController.h file

        ViewController.m

        ViewController.xib file

        viewDidLoad method

        welcomeLabel outlet

    local player authentication

        authenticatePlayer

        Game Kit framework cinfiguration

        outcome

        required device capability

        ViewController.h

        ViewController.m

        viewDidLoad method

        welcoming message screen

    registering with iTunes Connect

        application information

        app registered

        bundle identifier

        enabling Game Center

        Game Center sandbox

        iOS Dev Center portal

        iOS Provisioning Portal

        itunesconnect.apple.com

        Lucky Large App Icon.jpg

        Lucky Screenshot.png

        Lucky Screenshot (iPhone 5).png

Application

    action method

        alert view

        configuration

        showAlert

        Touch Up Inside events

        two connection, same event

        Type, Event, and Arguments attributes

        ViewController.h file

    class creation

        configuration

        file folder and group folder selection

        Info.plist property addition

        MyClass.h

        MyClass.m

        NSObject class

        Objective-C class template

        Project Navigator

    error handling (see Error handling)

    exception handling (see Exceptions handling)

    framework link

        CoreData API

        CoreGraphics

        reference node

        steps

        UIKit, foundation

    launch images

        design

        files

    lite version

        build target addition

        specific version coding

    outlet creation

        Assistant editor

        button title

        Ctrl-drag

        Editor group

        Interface Builder

        outlet configuration

        property

        viewDidLoad method

    resource file addition

    single-view application

        with app delegate and view controller

        ARC

        Objective-C file template

        parent folder selection

        project configuration

        properties

        template

        version control

    storyboards (see Storyboards)

    user interface control view

Autolayout

    ambiguous layouts

        adding code to create buttons

        adding constraints to pin buttons

        Autolayout trace

        equal width buttons

        NSDictionaryOfVariableBindings()

        Pause Program Execution button

        unequal width buttons

    constraints

        adding own constraints

        adding trailing button

        on by default

        default spacing

        Horizontal Space Constraint

        landscape orientation

        lowering priority

        Options menu

        portrait orientation

        Size inspector

        text field

        Width Constraint

    programming

        adding image views

        building imageViewConstraints array

        single-view application setup

        Visual Format Language

    unsatisfiable constraints

AVCaptureSession

    camera preview

    capturing still images

        AssetsLibrary.framework

        AVCaptureStillImageOutput

        captureStillImage

        captureStillImageAsynchronouslyFromConnection method

        imageDataSampleBuffer

        Info.plist file

        NSPhotoLibraryUsageDescription

        save, photos library

        user interface with capture button

        ViewController.h file

        viewDidLoad method

    capturing video

        app with take photos and record videos

        audioInput

        AVCaptureFileOutputRecordingDelegate protocol

        AVCaptureMovieFileOutput’s delegate method

        AVCaptureOutput

        capture action method

        frames

        movieOutput

        switch modes

        tempFileURL method

        updateMode

        ViewController.h file

        viewDidLoad method

    preview display

        AVCaptureDevice class method

        AVCaptureDeviceInput

        AVCaptureSessionPresetHigh

        AVCaptureVideoPreviewLayer

        AVFoundation framework

        AVMediaTypeVideo and AVMediaTypeAudio

        single-view project

        UIImagePickerController interfaces

        UIVideoEditorController interface

        video input instance

        viewDidLoad method

        viewWillAppear: method

images  B

images  C

Core data

    data model

        attributes

        Cascade value

        Delete Rule drop-down menu

        Deny value

        editor

        entity

        Graph Editor Style mode

        inspector

        inverse relationship

        My Vocabularies app

        name attribute

        No Action value

        Nullify value

        objective-C classes

        to-many relationship option

        two-way relationship option

        Vocabulary entity

        word and translation attributes

    NSFetchedResultsController

    NSManagedObject

    NSManagedObjectContext

    NSManagedObjectModel

    NSPersistentStoreCoordinator

    set up

    vocabularies table view

        add action method

        alertView:clickedButtonAtIndex: delegate method

        application:didFinishLaunchingWithOptions: method

        cache name

        cells configuration

        custom initializer method

        declarations

        fetchedResultsController property

        managedObjectContext property

        new vocabularies addition

        NSFetchedResultsController class

        NSFetchRequest

        performFetch: method

        setSortDescriptors: method

        tableView:commitEditingStyle:forRowAtIndexPath: delegate method

        viewDidLoad method

        VocabulariesViewController.h file

        Vocabulary deletion

    word edit view

        add action method

        cancel action method

        completion handler

        done action method

        EditWordViewControllerCompletionHandler

        EditWordViewController.h file

        navigation controller

        objective-C blocks

        tableView:commitEditingStyle:forRowAtIndexPath: delegate method

        tableView:didSelectRowAtIndexPath: delegate method

        user interface

        viewDidLoad method

        VocabulariesViewController.m file

        vocabularies, words addition

        word deletion

        WordsViewController.h file

    words view controller

        data source delegate method

        header file

        tableView:cellForRowAtIndexPath: delegate method

        viewDidLoad method

        word list view

        WordsViewController.h

        WordsViewController.m

Core Location framework

    activity-type property

    autopause

    basic information

        activityType

        Apple

        CLLocation object

        deprecated purpose property

        description property

        desirdAccuracy and distanceFilter properties

        error delegate method

        horizontalAccuracy property

        kCLDistanceFilterNone property

        location events

        location information label

        locationManager:didUpdateLocations method

        location permission requests

        location updates, on/off switch

        outlet properties

        simulated location information

        single-view application

        standard location service testing

        startUpdatingLocation method

        toggleLocationUpdates action

        toggleLocationUpdates method

        user interface

        Value Changed event

        verticalAccuracy property

        view controller

    geocoding

        forward

        GPS coordinates

        latitude and longitude coordinates

        request

        reverse (see also Reverse geocoding)

    iOS 6

    location awareness

    locationManager purpose property

    location service requirement

    magnetic bearing

        delegate method

        didFailWithError method

        didUpdateHeading method

        display

        headingAccuracy property

        heading calibration message

        headingFilter property

        headingOrientation property

        heading tracking

        locationManagerShouldDisplayHeadingCalibration method

        magneticHeading property

        magnetic poles

        setup application

        start and stop heading methods

        toggleHeadingUpdates method

    region monitoring

        Baltimore (see Baltimore)

        CLLocationManager object

        custom coordinates

        kCLErrorRegionMonitoringFailure error

        monitoredRegions property

        startMonitoringForRegion method

        triggering alert

    significant location changes

        delegate methods

        didFailWithError method

        Info.plist file

        local notification method

        locationManager, didUpdateLocations method

        programming

        required background mode

        service

        single-view applications

        toggleLocationUpdates method

    source data

    standard location service

    true bearing

        CLHeading object

        control code

        declination

        display

        toggleHeadingUpdates method

        trueHeadingInformationLabel outlet

        trueHeading property

        trueHeading value

        user interface

Core Motion framework

    device data access

        CMAttitude class property

        CMDeviceMotion access

        data retrieval

        filtering techniques

        gravity property

        motion manger property

        reference frame

        start and stop method

        user interface

    label with gravity

        acceleration

        AppDelegate.m file

        basic architecture

        Earth’s gravity force

        portrait interface orientation

        user interface

        velocity value

        ViewController.m file

    magneticField

    raw data access

        accelerometer

        gyroscope

        iOS directions and rotations

        magnetometer

        main view interface

        outlets

        sensors availability

        view controller interface

    sensor data access

        accelerometer

        CMMotionManager

        convenient feature

        handler

        programming interface

        pushing/pulling method

        raw Core Motion data

        supported interface orientations

        update interval

        ViewController.h file

        ViewController.m file

        view controller’s header class

    shake events recognition

        code

        functionality

        shakes notification

        testing

        window subclassing

    startDeviceMotionUpdatesUsingReferenceFrame

    user’s experience

images  D

Data storage recipes

    core data (see Core data)

    iCloud (see iCloud)

    iOS’s file management system

        clearContent action

        contentTextView outlet

        filenameTextField outlet

        loadContent action

        loadContent: action method

        overwriting, existing file

        saveContent action

        saveContent: action method

        saveContent: method

        saveContentToFile: method

        text file editor

        UIAlertViewDelegate protocol

        user interface

        ViewController.m file

    NSUserDefaults

        activityIndicator

        activitySwitch

        firstNameTextField

        lastNameTextField

        loadPersistentData: method

        restored app

        savePersistentData: method

        Stubborn app

        Switch and Activity indicator

        toggleActivity: action method

        UIApplicationDidEnterBackgroundNotification

        ViewController.h file

        ViewController.xib file

        viewDidLoad

        viewDidLoad method

Data transmission recipes

    email composing

        attachment parameter

        Clip Subviews attribute

        fileName parameter

        getImage: method

        header file

        image attaching

        imageView and getImageButton

        mailMessageButton

        mailMessage: method

        mailPressed: method

        MFMailComposeViewControllerDelegate protocol

        MFMailComposeViewController’s delegate method

        MFMailMailComposeViewController

        MFMessageComposeViewController class

        MFMessageViewController

        mimeType parameter

        UIImagePickerController

        UIImagePickerControllerDelegate protocol methods

        UIImageView

        UIPopoverController property

    formatted printing, page renderers

        drawContentForPageAtIndex:inRect method

        drawFooterForPageAtIndex:inRect method

        drawHeaderForPageAtIndex:inRect method

        drawInRect:forPageAtIndex: method

        drawPrintFormatter:forPageAtIndex method

        footer-implementation method

        header print

        NSString properties

        objective-C class template

        printCustom: action method

        printing output

        SendItOutPageRenderer.h file

        UIBarButtonItem

        UIPrintPageRenderer class

        UIPrintPageRenderer subclass

        viewDidLoad method

    image printing

        application:didFinishLaunchingWithOptions method

        inkjet printer

        navigation bar

        output

        packaged content, Xcode bundle

        presentAnimated:completionHandler method

        presentFromBarButtonItem:animated:completionHandler method

        presentFromRect:inView:animated:completionHandler method

        Printer Simulator

        printInfo property

        print: method

        sharedPrintController class method

        UINavigationController property

        UIPrintInfoOutputGeneral

        UIPrintInfoOutputGrayscale

        UIPrintInfoOutputPhoto

        UIPrintInteractionController class

    plain text printing

    text message composing

        MFMessageComposeViewController class

        MFMessageComposeViewControllerDelegate protocol

        MFMessageComposeViewController’s messageComposeDelegate method

        textMessage: action method

        Text View’s delegate property

        UIAlert

        UITextView

        UITextViewDelegate protocol

        ViewController.m

        viewDidLoad method

        view printing

images  E

images  F

images  G

images  H

images  I, J

iCloud

    advantage

    core data storage

    document storage

    key-value storage

        App ID configuration

        App ID generation

        bundle identifier

        entitlements

        fontSizeSegmentedControl and documentTextView

        iCloud enabling

        NSUserDefaults

        provisioning profiles

        segment control

        text size preference storing

        updateTextSize action

        updateTextSize action method

        user interface

    UIDocuments

        contentsForType:error method

        documentDidChange: delegate method

        implementation of the handleICloudDidChangeIdentity: notification method

        loadFromContents:ofType:error method

        MyDocumentDelegate protocol

        MyDocument.h file

        Save button

        saveDocument: action method

        ubiquity container

        UIDocument subclass

        updateDocument

        user’s iCloud account

        ViewController.h file

        viewDidLoad

iOS

    facial detection application

    image manipulation (see Image manipulation)

    image scaling (see Image scaling)

    image views

        attributes inspector

        clearImage action

        clearImage: action method

        clipsToBounds property

        configured user interface

        configuring

        contentMode property

        DetailViewController.h file

        DetailViewController.xib file

        Drawing option Clip Subviews

        iPad project

        IPopoverController

        Master-Detail Application template

        mode attribute

        outlets

        selectImage action

        selectImage: method

        UIImagePickerController delegate methods

        UIImagePickerControllerDelegate protocol

        UIImageView

        UIImageView class

        UINavigationControllerDelegate protocol

        UIPopoverControllerDelegate protocol

        UISplitViewController

        UIViewContentModeScaleAspectFill

        Xcode

    screenshots

        assistant editor

        code

        Ctrl + Cmd + Z

        interface builder

        MyView.h

        MyView.m

        QuartzCore API

        setNeedsDisplay method

        shake recognition

        UIGraphicsGetImageFromCurrentImageContext() function

        ViewController.h file

        ViewController.m

        ViewController.xib

    simple shapes drawing

        CGContextClosePath() function

        CGContextFillEllipseInRect() function

        CGContextFillRect() function

        CGContextRef

        CGRect

        color components

        custom class section

        drawRect: method

        gray semitransparent parallelogram

        green rectangle and a blue ellipse

        Identity inspector

        MyView

        “paths” of points

        .xib file

images  K

images  L

Launch images

    design

    files

images  M

Map kit framework

    annotation grouping

        abs function

        _annotations array

        color coding

        delegate method

        group: method

        Hotspot

        by location

        mapView property

        mapView: regionDidChangeAnimated: method

        mapView:viewForAnnotation: delegate method

        map with far too many annotations

        NSObject

        ViewController.h file

        view controller.m file

        viewDidLoad method

        viewForAnnotation method

        (void)group(NSArray *)annotations

    custom annotations

        application set up

        callouts

        class

        detailed view application

        DetailedViewController

        DetailedViewController.h

        DetailedViewController.m

        DetailViewController .xib file

        dragging a pin

        mapView:annotationView:calloutAccessoryControlTapped: method

        MKAnnotationView class

        MKPinAnnotationView objects

        view (see Custom annotation view)

    with device’s location

        location access

        MapKit/MapKit.h framework library

        mapView:didUpdateUserLocation: delegate method

        MKCoordinateRegionMakeWithDistance method

        MKUserTrackingModeFollow

        NSLocationUsageDescription

        setUserTrackingMode:animated: method

        showUserLocation

        .showUserLocation property

        userLocationVisible property

        userTrackingMode property

        ViewController.h file

        viewDidLoad method

        .xib file with MKMapView and userLocationLabel

        zoomEnabled and .scrollEnabled properties

    marking locations with pins

        adding annotation objects

        application set up

        changing pin color

    overlays addition

    routing app

        application:openURL:sourceApplication:annotation: method

        coverage area specification

        declaration

        directions button

        directions screen with Routing app mode selection

        launched within Maps

        launch handling

        setting custom location

        simulator with selected location

    starting maps

        CLPlacemark

        directions mode launch

        initWithPlacemark: method

        MKMapItem

        MKPlacemark

        openInMapsWithLaunchOptions: method

        openMapsWithItems:launchOptions: class method

        Start Maps in Directions Mode

        startWithMultiplePlacemarks

        startWithOnePlacemark

    user-controlled tracking

Music library

    action and outlet creation

    handling notifications

    MPMediaPickerController

        addItems action method

        delegate methods

        Play button

        queue updation

        tapping Prev button

        user interface

        volume updation

    querying media

        grouping property

        MPMediaPropertyPredicates

        queueMusicByArtist:method

        tapping return key

        view controller

        viewDidLoad method

    user interface for queuing music

    viewDidLoad method

images  N

images  O

images  P

images  Q

images  R

images  S

Storyboards

    cell prototypes

        Class attribute

        Content attribute

        Identifier attribute

        with labels and a disclosure indicator

        nameLabel and descriptionLabel outlets

        OurAppsTableViewController.h

        OurAppsTableViewController.m

        prepareForSegue:sender: method

        reuse identifier

        table view loading

    components

    configuration

    custom view controller

        AppDetailsViewController

        AppDetailsViewController.h file

        AppDetailsViewController.m

        Class attribute

        object selection

        OurAppsTableViewController.m

        three App Details scenes

    definition

    detail view

        AppDetails

        init method

        initWithName:description: method

        multiple segues connection

        segue identifier

        Selection Segue/Accessory Action

        user interface

    file loading

    Navigation Controller

    new scene addition

        contact information

        Contact Info view

        Contact Us view

        main simulated view

        Navigation Item

        push action segue

        setting segue identifier

        transition

    scenes

    segues

    table view scene

        “awesome” apps list

        Content attribute

        Controller scene

        customized cell

        Prototype Cells

        storyboard with three scenes

        Style attribute

        UITableViewCell

        UITableViewController

    user interface

images  T

Tic Tac Toe game

    application:didFinishLaunchingWithOptions: method

    encoding and decoding match data

        advanceTurn method

        aNSKeyedArchiver class

        currentParticipant property

        delegate method

        gameEndedInTie method

        gameEndedWithWinner: method

        loadMatchData method

        localPlayerIsCurrentPlayer

        localPlayerMark

        NSData object

        opponentMark

        opponentParticipant method

        selectButton: action method

    matchmaking

        dispatch_async

        GKTurnBasedMatchmakerViewController

        GKTurnBasedMatch object

        loadMatchData helper method

        loadPlayers method

        match property

        player1 and player2 properties

        viewController:didFindMatch: delegate method

        ViewController.h

        ViewController.m

        viewDidLoad

    ongoing game

    outlets

    preparation

    Turn-based events handling

    UINavigationController property

    user interface

    ViewController.h

Twitter

    accounts access

        ACAccountStore instance

        accountsWithAccountType method

        dispatch_async function

        requestAccessToAccountsWithType:options:completion: method

        sendText:toTwitterAccount: helper method

        sent tweet message

        shareOnTwitter: action method

        ViewController.h file

        ViewController.m

    multiple accounts

        Alert View

        availableTwitterAccounts array

        dispatch_async()

        shareOnTwitter: method

        UIAlertViewDelegate protocol

        ViewController.h file

        ViewController.m

    statusLabel

    textView

    tweets retrieval

        dequeue cells

        feeds display

        individual tweets (see Individual tweets)

        initialization methods

        initWithStyle:reuseIdentifier: method

        initWithTwitterAccount: method

        MainTableViewController.h

        navigation-based application

        NSJSONSerialization class

        numberOfSectionsInTableView: methods

        public tweets feed

        retrieveAccounts helper method

        retrieveTweets method

        settwitterAccount

        tableView:cellForRowAtIndexPath: delegate method

        Table View Data Source delegate methods

        tableView:didSelectRowAtIndexPath: delegate method

        TweetCell.h

        tweetData property

        TweetTableViewController.h

        TweetTableViewController.m

        TwitterFeedCell class

        TwitterFeedCell.h

        TwitterFeedCell.m file

        viewDidLoad method

    user interface

images  U

UICollectionView

    application set up

    centered headers

    data model creation

    flag picker

        building

        displaying

        implementation

UITableView

    custom cell class

        creation

        implementation pattern

        registration

    editing

        delegate methods

        editButtonItem property

        functionality for removing rows

        Insertion button

        revealing Delete buttons

        row animations

    grouped table

        adding footers

        application with grouped items

        array retrieval

        commitEditingStyle

        configuration

        final result

        NSMutableArray

        objects change groups

        section headers

    reordering

    ungrouped table

        adding a model

        adding delegate method

        adding UITextFieldDelegate protocol

        basic application

        beginUpdates and endUpdates methods

        cached cells

        cell view customization

        component outlets

        configuring cells

        displaying data

        enhanced user interaction

        NSIndexPath variable

        20-point padding

        populating the view

        project options

        revert selector

        rounded corners

        row selection or deselection

        viewDidLoad method

        .xib file and configuration

User data

    address book

        ABMultiValueCopyValueAtIndex ()

        ABPeoplePickerNavigationController

        ABRecordCopyValue()

        ABRecordRef

        access contact information

        bridge_transfer

        CFDictionaryGetValue()

        header file

        single values and multi-value records

        XIB file

    calendar events

        creation

        EKEventStore

        Event Kit framework

        iOS Simulator

        output log

        privacy settings

        single-view application project

        usage description

        user’s permission

        ViewController.h file

        viewDidLoad method

    contact information

        ABNewPersonViewController

        user interface

    display events and table view

        calendar events

        fetchEvent

        refresh

        section titles

        table’s cells

        top bar simulated metrics

        user interface

    events recurring

    NSCalendar and NSDate

        calendar types

        Gregorian and Hebrew calendar

        NSUInteger unitFlags

        stringValue

        UITextField

        user interface, calendar conversion

    reminders

        access request

        application set up

        location-based reminders

        time-based reminders

    viewing, editing,and deleting events

images  V, W, X, Y, Z

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset