๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

iOS 7 App Development Essentials: Developing iOS 7 Apps for the iPhone and iPad

โœ Scribed by Neil Smyth


Publisher
CreateSpace Independent Publishing Platform
Year
2013
Tongue
English
Leaves
879
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


Fully updated for iOS 7 and Xcode 5 and consisting of 89 in-depth chapters, the aim of this book is to teach you the skills necessary to build your own iOS 7 apps for the iPhone, iPad and iPod Touch. Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS development environment. An introduction to the architecture of iOS 7 and programming in Objective-C is provided, followed by an in-depth look at the design of iOS applications and user interfaces. More advanced topics such as file handling, database management, in-app purchases, graphics drawing and animation are also covered, as are touch screen handling, gesture recognition, multitasking, iAds integration, location management, local notifications, camera access and video and audio playback support. Other features are also covered including Auto Layout, Twitter and Facebook integration, event reminders, App Store hosted in-app purchase content, collection views and much more. New features of iOS 7 are also covered, including Sprite Kit-based 2D game development, local map search and user interface animation using UIKit Dynamics.

โœฆ Table of Contents


  1. Start Here......Page 31
    1.1 For New iOS Developers......Page 32
    1.2 For iOS 6 Developers......Page 33
    1.5 Errata......Page 34
    2.2 Downloading Xcode and the iOS 7 SDK......Page 35
    2.4 When to Enroll in the iOS Developer Program?......Page 36
    2.5 Enrolling in the iOS Developer Program......Page 37
    2.6 Summary......Page 38
    3.1 Identifying if you have an Intel or PowerPC based Mac......Page 39
    3.3 Starting Xcode......Page 40
    4.1 Starting Xcode 5......Page 43
    4.2 Creating the iOS App User Interface......Page 48
    4.4 Adding Objects to the User Interface......Page 51
    4.5 Building and Running an iOS 7 App in Xcode 5......Page 53
    4.6 Dealing with Build Errors......Page 54
    4.8 Testing User Interface Appearance in Different iOS Versions......Page 55
    4.9 Monitoring Application Performance......Page 56
    4.10 Summary......Page 57
    5.1 iPhone OS becomes iOS......Page 59
    5.2 An Overview of the iOS 7 Architecture......Page 60
    5.3.1 UIKit Framework (UIKit.framework)......Page 61
    5.3.3 Push Notification Service......Page 62
    5.3.9 Accounts Framework (Accounts.framework)......Page 63
    5.4.4 Assets Library Framework (AssetsLibrary.framework)......Page 64
    5.4.9 GLKit Framework (GLKit.framework)......Page 65
    5.4.16 Core Midi Framework (CoreMIDI.framework)......Page 66
    5.5.5 Core Media Framework (CoreMedia.framework)......Page 67
    5.6.3 Store Kit Framework (StoreKit.framework)......Page 68
    5.7.1 Accelerate Framework (Accelerate.framework)......Page 69
    5.7.4 System (LibSystem)......Page 70
    6.1 Configuring Xcode with Apple IDs......Page 71
    6.2 Generating Signing Identities......Page 72
    6.3 Adding a Device to the Developer Portal......Page 74
    6.4 Running an Application on a Registered Device......Page 75
    6.5 Summary......Page 76
    7.1 Objective-C Data Types and Variables......Page 77
    7.2 Objective-C Expressions......Page 78
    7.3 Objective-C Flow Control with if and else......Page 82
    7.4 Looping with the for Statement......Page 83
    7.6 Objective-C do ... while loops......Page 84
    8.3 Declaring an Objective-C Class Interface......Page 87
    8.4 Adding Instance Variables to a Class......Page 88
    8.5 Define Class Methods......Page 89
    8.6 Declaring an Objective-C Class Implementation......Page 90
    8.7 Declaring and Initializing a Class Instance......Page 91
    8.9 Calling Methods and Accessing Instance Data......Page 92
    8.10 Objective-C and Dot Notation......Page 93
    8.11 How Variables are Stored......Page 94
    8.12 An Overview of Indirection......Page 95
    8.14 Indirection and Object Copying......Page 97
    8.15 Creating the Program Section......Page 98
    8.16 Bringing it all Together......Page 99
    8.17 Structuring Object-Oriented Objective-C Code......Page 101
    9.1 Default Property Synthesis......Page 105
    9.3 NSNumber Literals......Page 107
    9.4 Array Literals......Page 108
    9.5 Dictionary Literals......Page 109
    9.6 Summary......Page 110
    10.1 Model View Controller (MVC)......Page 111
    10.2 The Target-Action pattern, IBOutlets and IBActions......Page 112
    10.3 Subclassing......Page 113
    10.5 Summary......Page 114
    11.2 Creating the User Interface......Page 115
    11.3 Building and Running the Sample Application......Page 118
    11.4 Adding Actions and Outlets......Page 119
    11.5 Building and Running the Finished Application......Page 124
    11.6 Summary......Page 125
    12.1 Creating the Example App......Page 127
    12.2 Hiding the Keyboard when the User Touches the Return Key......Page 128
    12.3 Hiding the Keyboard when the User Taps the Background......Page 130
    12.4 Summary......Page 131
    13.2 The UIWindow Class......Page 133
    13.3 The View Hierarchy......Page 134
    13.4.1 The Window......Page 136
    13.4.7 Alert Views and Action Sheets......Page 137
    13.5 Summary......Page 138
    14. An Introduction to Auto Layout in iOS 7......Page 139
    14.1 An Overview of Auto Layout......Page 140
    14.4 Content Hugging and Compression Resistance Priorities......Page 141
    14.6 Constraints in more Detail......Page 142
    14.7 Summary......Page 143
    15.2 Enabling and Disabling Auto Layout in Interface Builder......Page 145
    15.3.1 Suggested Constraints......Page 153
    15.3.2 Visual Cues......Page 154
    15.3.3 Highlighting Constraint Problems......Page 156
    15.3.4 Viewing, Editing and Deleting Constraints......Page 159
    15.4 Creating New Constraints in Interface Builder......Page 161
    15.5 Resolving Auto Layout Problems......Page 162
    15.6 Summary......Page 164
    16.2 Designing the User Interface......Page 165
    16.3 Adding Auto Layout Constraints......Page 167
    16.4 Adjusting Constraint Priorities......Page 170
    16.6 Summary......Page 173
    17.1 Creating Constraints in Code......Page 175
    17.2 Adding a Constraint to a View......Page 177
    17.5 Creating the Views......Page 178
    17.6 Creating and Adding the Constraints......Page 179
    17.7 Removing Constraints......Page 182
    17.8 Summary......Page 183
    18.1 The Example Application......Page 185
    18.2 Establishing Outlets......Page 187
    18.3 Writing the Code to Remove the Old Constraint......Page 188
    18.6 Summary......Page 189
    19.2 Visual Language Format Examples......Page 191
    19.3 Using the constraintsWithVisualFormat: Method......Page 193
    19.4 Summary......Page 195
    20.1 Creating the Storyboard Example Project......Page 197
    20.2 Accessing the Storyboard......Page 198
    20.3 Adding Scenes to the Storyboard......Page 200
    20.4 Configuring Storyboard Segues......Page 201
    20.5 Configuring Storyboard Transitions......Page 202
    20.6 Associating a View Controller with a Scene......Page 203
    20.7 Passing Data Between Scenes......Page 205
    20.8 Unwinding Storyboard Segues......Page 206
    20.9 Triggering a Storyboard Segue Programmatically......Page 208
    20.10 Summary......Page 209
    21.2 Understanding View Controllers in a Multiview Application......Page 211
    21.3 Setting up the Tab Bar Example Application......Page 212
    21.7 Adding the Tab Bar Controller to the Storyboard......Page 213
    21.8 Adding a Second View Controller to the Storyboard......Page 215
    21.9 Designing the View Controller User interfaces......Page 217
    21.10 Configuring the Tab Bar Items......Page 218
    21.11 Building and Running the Application......Page 219
    21.12 Summary......Page 220
    22.1 An Overview of the Table View......Page 221
    22.4 Table View Styles......Page 222
    22.5 Table View Cell Styles......Page 224
    22.6 Table View Cell Reuse......Page 225
    22.7 Summary......Page 226
    23.1 Creating the Example Project......Page 227
    23.2 Adding the TableView Controller to the Storyboard......Page 228
    23.3 Creating the UITableViewController and UITableViewCell Subclasses......Page 229
    23.5 Designing a Storyboard UITableView Prototype Cell......Page 231
    23.6 Modifying the CarTableViewCell Class......Page 232
    23.7 Creating the Table View Datasource......Page 234
    23.8 Downloading and Adding the Image Files......Page 237
    23.10 Summary......Page 238
    24.1 Understanding the Navigation Controller......Page 239
    24.2 Adding the New Scene to the Storyboard......Page 240
    24.3 Adding a Navigation Controller......Page 241
    24.4 Establishing the Storyboard Segue......Page 242
    24.5 Modifying the CarDetailViewController Class......Page 243
    24.6 Using prepareForSegue: to Pass Data between Storyboard Scenes......Page 245
    24.7 Testing the Application......Page 246
    24.8 Summary......Page 247
    25.1 An Overview of the Static Table Project......Page 249
    25.4 Changing the Table View Content Type......Page 250
    25.5 Designing the Static Table......Page 251
    25.6 Adding Items to the Table Cells......Page 253
    25.8 Building and Running the Application......Page 256
    25.9 Summary......Page 257
    26.1 An Overview of Split View and Popovers......Page 259
    26.4 Reviewing the Project......Page 260
    26.5 Configuring Master View Items......Page 261
    26.6 Configuring the Detail View Controller......Page 264
    26.8 Popover Implementation......Page 265
    26.9 Testing the Application......Page 266
    26.10 Summary......Page 268
    27.1 The UIPageViewController Class......Page 269
    27.3 Navigation Orientation......Page 270
    27.5 The UIPageViewController Delegate Protocol......Page 271
    27.6 Summary......Page 272
    28.1 The Xcode Page-based Application Template......Page 273
    28.3 Adding the Content View Controller......Page 274
    28.4 Creating the Data Model......Page 276
    28.5 Initializing the UIPageViewController......Page 280
    28.7 Summary......Page 283
    29.1 The DatePicker and PickerView Components......Page 285
    29.3 Designing the User Interface......Page 286
    29.4 Coding the Date Picker Example Functionality......Page 288
    29.5 Building and Running the Date Picker Application......Page 289
    30.2 UIPickerView Delegate and DataSource......Page 291
    30.4 Designing the User Interface......Page 292
    30.5 Initializing the Arrays......Page 294
    30.6 Implementing the DataSource Protocol......Page 295
    30.7 Implementing the Delegate Protocol......Page 296
    30.9 Testing the Application......Page 297
    31.1 The Application Documents Directory......Page 299
    31.3 Understanding Pathnames in Objective-C......Page 300
    31.6 Identifying the Documents Directory......Page 301
    31.8 Changing Directory......Page 303
    31.9 Creating a New Directory......Page 304
    31.11 Listing the Contents of a Directory......Page 305
    31.12 Getting the Attributes of a File or Directory......Page 306
    32.2 Checking for the Existence of a File......Page 309
    32.4 Checking if a File is Readable/Writable/Executable/Deletable......Page 310
    32.6 Copying a File......Page 311
    32.8 Creating a Symbolic Link......Page 312
    32.10 Working with Files using the NSFileHandle Class......Page 313
    32.12 NSFileHandle File Offsets and Seeking......Page 314
    32.13 Reading Data from a File......Page 315
    32.15 Truncating a File......Page 316
    32.16 Summary......Page 317
    33.3 Designing the User Interface......Page 319
    33.4 Checking the Data File on Application Startup......Page 321
    33.5 Implementing the Action Method......Page 322
    33.6 Building and Running the Example......Page 323
    34.2 iCloud Data Storage Services......Page 325
    34.4 Enabling iCloud Support for an iOS 7 Application......Page 326
    34.5 Reviewing the iCloud Entitlements File......Page 327
    34.6 Manually Creating the Entitlements File......Page 328
    34.8 Ubiquity Container URLs......Page 329
    34.9 Summary......Page 330
    35.2 Subclassing the UIDocument Class......Page 331
    35.3 Conflict Resolution and Document States......Page 332
    35.6 Designing the User Interface......Page 333
    35.8 Implementing the contentsForType Method......Page 335
    35.10 Loading the Document at App Launch......Page 336
    35.11 Saving Content to the Document......Page 340
    35.13 Summary......Page 341
    36.1 iCloud Usage Guidelines......Page 343
    36.3 Configuring the View Controller......Page 344
    36.4 Implementing the viewDidLoad Method......Page 345
    36.5 Implementing the metadataQueryDidFinishGathering: Method......Page 348
    36.7 Enabling iCloud Document and Data Storage......Page 352
    36.8 Running the iCloud Application......Page 353
    36.9 Reviewing and Deleting iCloud Based Documents......Page 354
    36.11 Making a Local File Ubiquitous......Page 355
    36.12 Summary......Page 356
    37.1 An Overview of iCloud Key-Value Data Storage......Page 357
    37.2 Sharing Data Between Applications......Page 358
    37.6 An iCloud Key-Value Data Storage Example......Page 359
    37.8 Designing the User Interface......Page 360
    37.9 Implementing the View Controller......Page 361
    37.10 Modifying the viewDidLoad Method......Page 362
    37.11 Implementing the Notification Method......Page 363
    37.13 Testing the Application......Page 364
    38.1 An Overview of Archiving......Page 367
    38.3 Designing the User Interface......Page 368
    38.4 Checking for the Existence of the Archive File on Startup......Page 370
    38.6 Testing the Application......Page 372
    38.7 Summary......Page 373
    39.1 What is SQLite?......Page 375
    39.3 Trying SQLite on MacOS X......Page 376
    39.4 Preparing an iOS Application Project for SQLite Integration......Page 378
    39.6 Declaring a SQLite Database......Page 379
    39.8 Preparing and Executing a SQL Statement......Page 380
    39.9 Creating a Database Table......Page 381
    39.10 Extracting Data from a Database Table......Page 382
    39.12 Summary......Page 383
    40.2 Creating and Preparing the SQLite Application Project......Page 385
    40.4 Designing the User Interface......Page 386
    40.5 Creating the Database and Table......Page 388
    40.6 Implementing the Code to Save Data to the SQLite Database......Page 390
    40.7 Implementing Code to Extract Data from the SQLite Database......Page 391
    40.8 Building and Running the Application......Page 392
    40.9 Summary......Page 393
    41.1 The Core Data Stack......Page 395
    41.3 Managed Object Context......Page 396
    41.5 Persistent Store Coordinator......Page 397
    41.7 Defining an Entity Description......Page 398
    41.8 Obtaining the Managed Object Context......Page 399
    41.11 Getting and Setting the Attributes of a Managed Object......Page 400
    41.13 Retrieving Managed Objects based on Criteria......Page 401
    41.14 Summary......Page 402
    42.3 Creating the Entity Description......Page 403
    42.4 Adding a Storyboard to the Project......Page 405
    42.6 Designing the User Interface......Page 406
    42.7 Saving Data to the Persistent Store using Core Data......Page 408
    42.8 Retrieving Data from the Persistent Store using Core Data......Page 409
    42.9 Building and Running the Example Application......Page 410
    42.10 Summary......Page 411
    43.1 The Responder Chain......Page 413
    43.4 Taps......Page 414
    43.6.3 touchesEnded method......Page 415
    43.7 Summary......Page 416
    44.3 Designing the User Interface......Page 417
    44.5 Implementing the touchesBegan Method......Page 419
    44.7 Implementing the touchesEnded Method......Page 420
    44.9 Building and Running the Touch Example Application......Page 421
    45.3 Designing the Application User Interface......Page 423
    45.5 Implementing the touchesMoved Method......Page 425
    45.8 Summary......Page 426
    46.1 The UIGestureRecognizer Class......Page 427
    46.4 Obtaining Data from a Gesture......Page 428
    46.7 Detecting Rotation Gestures......Page 429
    46.9 Recognizing Swipe Gestures......Page 430
    46.11 Summary......Page 431
    47.2 Designing the User Interface......Page 433
    47.3 Implementing the Action Methods......Page 436
    47.4 Testing the Gesture Recognition Application......Page 437
    48.1 An Overview of Collection Views......Page 439
    48.3 The UICollectionViewCell Class......Page 442
    48.5 The UICollectionViewFlowLayout Class......Page 443
    48.7 The UICollectionViewDataSource Protocol......Page 444
    48.8 The UICollectionViewDelegate Protocol......Page 445
    48.9 The UICollectionViewDelegateFlowLayout Protocol......Page 446
    48.10 Cell and View Reuse......Page 447
    48.11 Summary......Page 449
    49.2 Removing the Template View Controller......Page 451
    49.3 Adding a Collection View Controller to the Storyboard......Page 452
    49.5 Designing the Cell Prototype......Page 454
    49.6 Implementing the Data Model......Page 456
    49.7 Implementing the Data Source......Page 458
    49.8 Testing the Application......Page 460
    49.9 Setting Sizes for Cell Items......Page 461
    49.10 Changing Scroll Direction......Page 463
    49.11 Implementing a Supplementary View......Page 465
    49.12 Implementing the Supplementary View Protocol Methods......Page 468
    49.13 Deleting Collection View Items......Page 469
    49.14 Summary......Page 470
    50.1 About the Example Layout Class......Page 471
    50.3 Extending the New Layout Class......Page 472
    50.4 Implementing the layoutAttributesForItemAtIndexPath: Method......Page 473
    50.5 Implementing the layoutAttributesForElementsInRect: Method......Page 474
    50.6 Implementing the modifyLayoutAttributes: Method......Page 475
    50.7 Adding the New Layout and Pinch Gesture Recognizer......Page 476
    50.8 Implementing the Pinch Recognizer......Page 477
    50.10 Testing the Application......Page 480
    50.11 Summary......Page 481
    51.2 The drawRect Method......Page 483
    51.4 The Graphics Context......Page 484
    51.5 Working with Colors in Quartz 2D......Page 485
    51.6 Summary......Page 486
    52.3 Creating the UIView Subclass......Page 487
    52.4 Locating the drawRect Method in the UIView Subclass......Page 488
    52.5 Drawing a Line......Page 489
    52.6 Drawing Paths......Page 492
    52.7 Drawing a Rectangle......Page 493
    52.8 Drawing an Ellipse or Circle......Page 494
    52.9 Filling a Path with a Color......Page 495
    52.10 Drawing an Arc......Page 497
    52.11 Drawing a Cubic Bรฉzier Curve......Page 498
    52.12 Drawing a Quadratic Bรฉzier Curve......Page 499
    52.13 Dashed Line Drawing......Page 500
    52.14 Drawing Shadows......Page 502
    52.15 Drawing Gradients......Page 503
    52.16 Drawing an Image into a Graphics Context......Page 508
    52.17 Image Filtering with the Core Image Framework......Page 510
    52.18 Summary......Page 512
    53.1 UIView Core Animation Blocks......Page 513
    53.2 Understanding Animation Curves......Page 514
    53.4 Performing Affine Transformations......Page 515
    53.7 Implementing the Interface File......Page 516
    53.9 Detecting Screen Touches and Performing the Animation......Page 517
    53.10 Building and Running the Animation Application......Page 519
    53.11 Summary......Page 520
    54.1 Understanding UIKit Dynamics......Page 521
    54.2.2 Dynamic Behaviors......Page 522
    54.2.4 The Dynamic Animator......Page 523
    54.4 Dynamic Animator Initialization......Page 524
    54.5 Configuring Gravity Behavior......Page 525
    54.6 Configuring Collision Behavior......Page 526
    54.7 Configuring Attachment Behavior......Page 528
    54.9 Configuring Push Behavior......Page 530
    54.10 The UIDynamicItemBehavior Class......Page 532
    54.11 Combining Behaviors to Create a Custom Behavior......Page 533
    54.12 Summary......Page 534
    55.2 Adding the Dynamic Items......Page 535
    55.3 Creating the Dynamic Animator Instance......Page 537
    55.4 Adding Gravity to the Views......Page 538
    55.5 Implementing Collision Behavior......Page 539
    55.6 Attaching a View to an Anchor Point......Page 541
    55.7 Implementing a Spring Attachment Between two Views......Page 544
    55.8 Summary......Page 545
    56.1 What is Sprite Kit?......Page 547
    56.2.3 Nodes......Page 548
    56.2.5 Physics World......Page 549
    56.2.8 Texture Atlas......Page 550
    56.4 The Sprite Kit Game Rendering Loop......Page 551
    56.5 Summary......Page 552
    57.1 About the Sprite Kit Demo Game......Page 555
    57.3 Reviewing the SpriteKit Game Template Project......Page 557
    57.4 Creating the Game Scene Classes......Page 559
    57.5 Implementing the Welcome Scene......Page 560
    57.6 Transitioning to the Archery Scene......Page 563
    57.7 Preparing the Archery Scene......Page 565
    57.8 Adding the Texture Atlas......Page 566
    57.9 Obtaining a Texture from the Atlas......Page 568
    57.10 Preparing the Animation Texture Atlas......Page 569
    57.11 Animating the Archer Sprite Node......Page 570
    57.12 Creating the Arrow Sprite Node......Page 571
    57.13 Shooting the Arrow......Page 572
    57.14 Adding the Ball Sprite Node......Page 573
    57.15 Summary......Page 577
    58.1 Defining the Category Bit Masks......Page 579
    58.2 Assigning the Category Masks to the Sprite Nodes......Page 580
    58.3 Configuring the Collision and Contact Masks......Page 581
    58.4 Implementing the Contact Delegate......Page 582
    58.5 Implementing a Physics Joint Between Nodes......Page 584
    58.6 Game Over......Page 586
    58.7 Summary......Page 588
    59.2 The Particle Emitter Editor......Page 589
    59.3 The SKEmitterNode Class......Page 590
    59.4 Using the Particle Emitter Editor......Page 591
    59.5.1 Background......Page 592
    59.5.7 Particle Speed......Page 593
    59.5.11 Particle Color......Page 594
    59.6 Experimenting with the Particle Emitter Editor......Page 595
    59.7 Bursting a Ball using Particle Emitter Effects......Page 596
    59.8 Adding the Burst Particle Emitter Effect......Page 598
    59.9 Summary......Page 600
    60.1 iOS Advertising Options......Page 601
    60.3.1 Banner Ads......Page 602
    60.3.2 Interstitial Ads......Page 604
    60.3.3 Medium Rectangle Ads......Page 605
    60.3.4 Pre-Roll Video Ads......Page 606
    60.6 Enabling Banner Ads......Page 607
    60.7 Adding a Medium Rectangle Ad......Page 608
    60.8 Implementing an Interstitial Ad......Page 610
    60.9 Configuring iAds Test Settings......Page 612
    60.10 Going Live with iAds......Page 613
    60.11 Summary......Page 614
    61.1 Understanding iOS Application States......Page 615
    61.2 A Brief Overview of the Multitasking Application Lifecycle......Page 616
    61.3 Checking for Multitasking Support......Page 617
    61.4 Enabling Multitasking for an iOS Application......Page 618
    61.6 An Overview of Background Fetch......Page 619
    61.7 An Overview of Remote Notifications......Page 622
    61.10 The Rules of Background Execution......Page 623
    61.11 Summary......Page 624
    62.2 The handleEventsForBackgroundURLSession Method......Page 625
    62.3 Designing the User Interface......Page 626
    62.4 Configuring the View Controller......Page 627
    62.5 Implementing the Session Delegate Methods......Page 629
    62.6 Testing the Application......Page 632
    62.7 Summary......Page 633
    63.1 Creating the Local Notification App Project......Page 635
    63.3 Locating the Application Delegate Method......Page 636
    63.5 Testing the Application......Page 637
    63.6 Cancelling Scheduled Notifications......Page 638
    63.8 Summary......Page 639
    64.1 The Preservation and Restoration Process......Page 641
    64.2 Opting In to Preservation and Restoration......Page 642
    64.3 Assigning Restoration Identifiers......Page 643
    64.5 Saving and Restoring Additional State Information......Page 644
    64.6 Understanding the Restoration Process......Page 645
    64.8 Summary......Page 647
    65.2 Trying the Application without State Preservation......Page 649
    65.4 Setting Restoration Identifiers......Page 650
    65.5 Encoding and Decoding View Controller State......Page 651
    65.6 Adding a Navigation Controller to the Storyboard......Page 654
    65.7 Adding the Third View Controller......Page 655
    65.8 Creating the Restoration Class......Page 658
    65.9 Summary......Page 659
    66. Integrating Maps into iOS 7 Applications using MKMapItem......Page 661
    66.2 An Introduction to Forward and Reverse Geocoding......Page 662
    66.3 Creating MKPlacemark Instances......Page 664
    66.4 Working with MKMapItem......Page 665
    66.5 MKMapItem Options and Enabling Turn-by-Turn Directions......Page 666
    66.6 Adding Item Details to an MKMapItem......Page 668
    66.7 Summary......Page 670
    67.2 Designing the User Interface......Page 671
    67.3 Converting the Destination using Forward Geocoding......Page 673
    67.4 Launching the Map......Page 675
    67.6 Summary......Page 676
    68.1 The Basics of Core Location......Page 677
    68.3 Configuring the Distance Filter......Page 678
    68.5.1 Longitude and Latitude......Page 679
    68.7 Location Information and Multitasking......Page 680
    68.8 Summary......Page 681
    69.2 Designing the User Interface......Page 683
    69.3 Creating the CLLocationManager Object......Page 685
    69.5 Implementing the Application Delegate Methods......Page 686
    69.6 Building and Running the Location Application......Page 688
    70.1 About the MapKit Framework......Page 691
    70.6 Adding the Navigation Controller......Page 692
    70.7 Creating the MKMapView Instance and Toolbar......Page 693
    70.8 Configuring the Map View......Page 696
    70.10 Changing the Map Type......Page 697
    70.11 Testing the MapView Application......Page 698
    70.12 Updating the Map View based on User Movement......Page 699
    70.13 Summary......Page 700
    71.1 An Overview of iOS 7 Local Search......Page 701
    71.3 Adding the Local Search Text Field......Page 703
    71.4 Performing the Local Search......Page 705
    71.5 Testing the Application......Page 707
    71.6 Summary......Page 708
    72.1 An Overview of MKDirections......Page 709
    72.2 Adding Directions and Routes to the MapSample Application......Page 711
    72.4 Configuring the Results Table View......Page 712
    72.5 Implementing the Result Table View Segue......Page 715
    72.6 Adding the Route Scene......Page 717
    72.7 Getting the Route and Directions......Page 719
    72.8 Establishing the Route Segue......Page 721
    72.9 Testing the Application......Page 722
    72.10 Summary......Page 723
    73.1 An Overview of the Event Kit Framework......Page 725
    73.2 The EKEventStore Class......Page 726
    73.4 Accessing Current Reminders......Page 728
    73.5 Creating Reminders......Page 729
    73.8 Designing the User Interface for the Date/Time Based Reminder Screen......Page 730
    73.9 Implementing the Reminder Code......Page 732
    73.11 Designing the Location-based Reminder Screen......Page 734
    73.12 Creating a Location-based Reminder......Page 735
    73.13 Testing the Application......Page 739
    73.14 Summary......Page 740
    74.2 Creating and Configuring a UIImagePickerController Instance......Page 741
    74.3 Configuring the UIImagePickerController Delegate......Page 743
    74.4 Detecting Device Capabilities......Page 744
    74.5 Saving Movies and Images......Page 745
    74.6 Summary......Page 746
    75.3 Designing the User Interface......Page 747
    75.4 Implementing the Action Methods......Page 750
    75.5 Writing the Delegate Methods......Page 752
    75.6 Building and Running the Application......Page 754
    76.1 An Overview of the MPMoviePlayerController Class......Page 757
    76.5 Declaring the MoviePlayer Instance......Page 758
    76.6 Implementing the Action Method......Page 759
    76.8 Build and Run the Application......Page 760
    77.1 Supported Audio Formats......Page 763
    77.3 Controlling and Monitoring Playback......Page 764
    77.6 Designing the User Interface......Page 765
    77.7 Implementing the Action Methods......Page 767
    77.8 Creating and Initializing the AVAudioPlayer Object......Page 768
    77.10 Building and Running the Application......Page 769
    78.2 Creating the Recorder Project......Page 771
    78.3 Designing the User Interface......Page 772
    78.4 Creating the AVAudioRecorder Instance......Page 773
    78.5 Implementing the Action Methods......Page 775
    78.6 Implementing the Delegate Methods......Page 776
    78.7 Testing the Application......Page 777
    79.2 The Social Framework......Page 779
    79.3 Accounts Framework......Page 780
    79.4 Using the UIActivityViewController Class......Page 781
    79.5 Using the SLComposeViewController Class......Page 784
    79.6 Summary......Page 786
    80.2 Designing the User Interface......Page 787
    80.3 Creating Outlets and Actions......Page 789
    80.4 Implementing the selectImage and Delegate Methods......Page 790
    80.5 Hiding the Keyboard......Page 791
    80.7 Running the Social Application......Page 792
    80.8 Summary......Page 794
    81.1 Using SLRequest and the Account Framework......Page 795
    81.2 Twitter Integration using SLRequest......Page 796
    81.3 Facebook Integration using SLRequest......Page 800
    81.4 Summary......Page 802
    82.2 Designing the User Interface......Page 803
    82.3 Modifying the Interface File......Page 805
    82.4 Accessing the Twitter API......Page 806
    82.6 The Table View Delegate Methods......Page 809
    82.8 Summary......Page 811
    83.1 The SKStoreProductViewController Class......Page 813
    83.3 Creating the User Interface......Page 814
    83.4 Displaying the Store Kit Product View Controller......Page 815
    83.6 Adding the Store Kit Framework to the Build Phases......Page 817
    83.7 Testing the Application......Page 818
    83.8 Summary......Page 819
    84.1 In-App Purchase Options......Page 821
    84.4 Sending a Product Request......Page 822
    84.6 The Transaction Observer Object......Page 824
    84.8 The Transaction Process......Page 825
    84.9 Transaction Restoration Process......Page 827
    84.11 Summary......Page 828
    85.2 Creating the Xcode Project......Page 829
    85.4 Configuring the Application in iTunes Connect......Page 830
    85.5 Creating an In-App Purchase Item......Page 831
    85.6 Summary......Page 833
    86.1 The Application User Interface......Page 835
    86.2 Designing the Storyboard......Page 836
    86.3 Creating the Purchase View Controller......Page 837
    86.4 Completing the InAppDemoViewController Class......Page 839
    86.5 Completing the PurchaseViewController Class......Page 841
    86.6 Testing the Application......Page 844
    86.7 Troubleshooting......Page 845
    86.8 Summary......Page 846
    87.1 Configuring an Application for In-App Purchase Hosted Content......Page 847
    87.2 The Anatomy of an In-App Purchase Hosted Content Package......Page 848
    87.3 Creating an In-App Purchase Hosted Content Package......Page 849
    87.5 Validating the Hosted Content Package......Page 850
    87.6 Uploading the Hosted Content Package......Page 851
    87.7 Summary......Page 852
    88.1 Verifying the iOS Distribution Certificate......Page 853
    88.2 Adding Icons and Launch Images to the Application......Page 855
    88.3 Targeting 32-bit and 64-bit Architectures......Page 857
    88.4 Archiving the Application for Distribution......Page 858
    88.5 Configuring the Application in iTunes Connect......Page 859
    88.6 Validating and Submitting the Application......Page 860
    89.1 An Overview of iAd Workbench......Page 863
    89.2 Creating a New iAds Campaign......Page 864
    89.3 Campaign Targeting Options......Page 866
    89.4 Designing the Banner......Page 868
    89.5 Summary......Page 870
    Index......Page 871

โœฆ Subjects


ะ‘ะธะฑะปะธะพั‚ะตะบะฐ;ะšะพะผะฟัŒัŽั‚ะตั€ะฝะฐั ะปะธั‚ะตั€ะฐั‚ัƒั€ะฐ;IOS / iPhone / iPad / iPod;


๐Ÿ“œ SIMILAR VOLUMES


iOS 7 App Development Essentials: Develo
โœ Neil Smyth ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› CreateSpace Independent Publishing Platform ๐ŸŒ English

Fully updated for iOS 7 and Xcode 5 and consisting of 89 in-depth chapters, the aim of this book is to teach you the skills necessary to build your own iOS 7 apps for the iPhone, iPad and iPod Touch. Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS d

iOS 7 App Development Essentials: Develo
โœ Neil Smyth ๐Ÿ“‚ Library ๐Ÿ“… 2013 ๐Ÿ› CreateSpace Independent Publishing Platform ๐ŸŒ English

Fully updated for iOS 7 and Xcode 5 and consisting of 89 in-depth chapters, the aim of this book is to teach you the skills necessary to build your own iOS 7 apps for the iPhone, iPad and iPod Touch. Beginning with the basics, this book provides an outline of the steps necessary to set up an iOS d

The Business of iOS App Development For
โœ Pierce, Taylor;Wooldridge, Dave ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Apress ๐ŸŒ English

Updated and expanded for the new Apple iOS8, The Business of iOS App Development, Third Edition shows you how to incorporate marketing and business savvy into every aspect of the design and development process, giving your app the best possible chance of succeeding in the App Store. This book is wri

The Business of iOS App Development: For
โœ Taylor Pierce, Dave Wooldridge (auth.) ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Apress ๐ŸŒ English

<p><p>Updated and expanded for the new Apple iOS8, <em>The Business of iOS App Development, Third Edition </em>shows you how to incorporate marketing and business savvy into every aspect of the design and development process, giving your app the best possible chance of succeeding in the App Store.</

iOS 5 Programming Pushing the Limits: De
โœ Rob Napier, Mugunth Kumar ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Wiley ๐ŸŒ English

<b>Open the door to endless new app development possibilities</b><p><i>Pushing the Limits with iOS 5 Programming</i> is an expert guide for developers aiming to create unique applications for Apple's iPad 2, iPhone, and the iPod Touch, which includes theย latest version ofย the Apple iPhone SDK, iOS 5

iOS 5 Programming Pushing the Limits: De
โœ Rob Napier, Mugunth Kumar ๐Ÿ“‚ Library ๐Ÿ“… 2011 ๐Ÿ› Wiley ๐ŸŒ English

<b>Open the door to endless new app development possibilities</b><p><i>Pushing the Limits with iOS 5 Programming</i> is an expert guide for developers aiming to create unique applications for Apple's iPad 2, iPhone, and the iPod Touch, which includes theย latest version ofย the Apple iPhone SDK, iOS 5