You are previewing Application Development in iOS 7.
O'Reilly logo
Application Development in iOS 7

Book Description

Learn how to build an entire real-world application using all of iOS 7's new features

In Detail

Unleash the new features of iOS 7 within the latest Xcode development environment. One of the most important pieces of any SDK is the Integrated Development Environment (IDE), which is why we will start by learning all the new features of Xcode 5. Moreover, we will get to know what's new in Foundation Framework, one of the building blocks of iOS development. We then move on to exploring the new and improved Auto Layout, a feature that was previously plagued by quite a few issues and shunned by many developers. Next, we will start building our application from scratch while applying our new knowledge of the IDE. Also, we will make use of the newly introduced TextKit to make our text more dynamic in nature. Finally, we will utilize the UI Kit Dynamics to give our application some flair.

This book is a practical breakdown of all the new iOS 7 features for developers.

What You Will Learn

  • Manage accounts and provision with ease using Xcode 5
  • Analyze the real-time performance of your application within Xcode
  • Understand the new features of the foundation framework and why you use them
  • Utilize the new and improved Auto Layout to build better layouts
  • Learn how to apply new design paradigms to all future projects
  • Manipulate text like never before using TextKit
  • Add real-world physics to your application's user interface to create beautiful visual effects
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at If you purchased this book elsewhere, you can visit and register to have the files e-mailed directly to you.

    Table of Contents

    1. Application Development in iOS 7
      1. Table of Contents
      2. Application Development in iOS 7
      3. Credits
      4. About the Author
      5. About the Reviewers
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      7. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      8. 1. Xcode 5 – A Developer's Ultimate Tool
        1. The new user experience
        2. Top-level documentation
        3. Debugger and debug gauges
        4. Automatic configuration with accounts and capabilities
        5. Source control
        6. Asset catalogs
        7. Quick build device selection
        8. Storyboard previews
        9. Summary
      9. 2. Foundation Framework – Growing Up
        1. Why Foundation matters
        2. Modules
          1. Precompiled headers – a partial solution
          2. Modules – smart importing
        3. NSProgress
        4. NSArray
        5. NSTimer
        6. NSData
        7. NSURLUtilities
        8. Summary
      10. 3. Auto Layout 2.0
        1. Why you should use Auto Layout
        2. Creating our project
        3. Starting our storyboard
        4. Setting up button actions
        5. Using Auto Layout
        6. Applying constraints
        7. Resolving Auto Layout issues
        8. Finishing our menu view
        9. Preparing for navigation
        10. Summary
      11. 4. Building Our Application for iOS 7
        1. Designing for iOS 7
          1. The navigation bar and status bar
          2. The new UIKit
          3. Updated app icons
        2. Putting together the pieces
          1. Project organization
          2. Creating the files
          3. Setting up the storyboard
          4. AddNewViewController
          5. FoodDetailViewController
          6. MyFoodsViewController
        3. Summary
      12. 5. Creating and Saving User Data
        1. Picking up where we left off
        2. The navigation bar style
        3. Adding our button action
        4. Adding buttons to our navigation bar
        5. Adjusting our storyboard view
        6. Adding our delegates
        7. Using a tap gesture
        8. Getting the image from UIImagePickerController
        9. Adding the text field delegate
        10. Saving the data
          1. Getting the date string
          2. Adding validation
          3. Saving the image
          4. Creating versus loading the .plist file
          5. Adding a new entry
        11. Summary
      13. 6. Displaying User Data
        1. Custom cell
          1. Building the cell
          2. Connecting the cell
          3. Creating properties
        2. Adding food
          1. Preparing the table view
        3. Loading data
        4. Displaying data
        5. Showing the detail view
        6. Coding the detail view
          1. Creating blurred images
          2. Finishing our detail view
          3. Pushing the detail view
        7. Summary
      14. 7. Manipulating Text with TextKit
        1. What is TextKit?
        2. Dynamic type
          1. Handling updates
        3. Exclusion paths
        4. Adding letterpress
        5. Text formatting
          1. Making text bold and italicizing
        6. Underlining text
        7. Summary
      15. 8. Adding Physics with UIKit Dynamics
        1. Motion and physics in UIKit
          1. UIKit Dynamics
          2. Motion effects
        2. Adding gravity
        3. UIDynamicAnimator
        4. UIGravityBehavior
        5. Behavior properties
        6. Creating boundaries
        7. Collisions
        8. Creating invisible boundaries
        9. Dynamic items
        10. Manipulating item properties
        11. Collision notifications
        12. Attaching items to other items
        13. Snapping items
        14. Using motion in our app
        15. Summary
      16. Index