iOS 8 Application Development in 24 Hours, Sams Teach Yourself, Sixth Edition

Book description

Apple's iOS Platform continues to lead mobile operating systems both in terms of developer interest and profits. In previous releases of iOS, Apple has introduced a radical new interface design that manages to be both visually simple and graphically rich. Using the tools in Xcode 5, developers can create stunning new applications with and deploy them across Apple's growing iOS device family, including the iPhone, iPad, iPad mini, and iPod.

With each passing year, the iOS development environment matures and new tools are added to the developer's toolbox (Xcode). While this is great for seasoned pros, it can be overwhelming for new developers. IOS Application Development in 24 Hours, Sams Teach Yourself offers a unique approach to learning iOS development by explaining all the core concepts needed to get started quickly. Readers will learn everything from how to install the Xcode developer tools to how the Objective-C language works, what the Model-View-Controller design pattern is, and, of course, how to build real, working applications that take advantage of the latest versions of iOS and Xcode. Each chapter provides a hands-on exercise for the user to complete and detailed steps describing the development process.

Upon completing the title, readers will be able to write and publish applications for the iOS platform - iPhone, iPad, iPad mini, iPod, and whatever else Apple may have up its sleeves.

Table of contents

  1. About This eBook
  2. Title Page
  3. Copyright Page
  4. Contents at a Glance
  5. Table of Contents
  6. About the Author
  7. Dedication
  8. Acknowledgments
  9. We Want to Hear from You!
  10. Reader Services
  11. Introduction
    1. Who Can Become an iOS Developer?
    2. Who Should Use This Book?
    3. What Is (and Isn’t) in This Book?
  12. Hour 1. Preparing Your System and iDevice for Development
    1. Welcome to the iOS Platform
    2. Becoming an iOS Developer
    3. Running an iOS App
    4. Developer Technology Overview
    5. Further Exploration
    6. Summary
    7. Q&A
    8. Workshop
    9. Activities
  13. Hour 2. Introduction to Xcode and the iOS Simulator
    1. Using Xcode
    2. Using the iOS Simulator
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  14. Hour 3. Discovering Swift and the iOS Playground
    1. Object-Oriented Programming and Swift
    2. The Terminology of Object-Oriented Development
    3. Exploring the Swift File Structure
    4. Swift Programming Basics
    5. Memory Management and Automatic Reference Counting
    6. Introducing the iOS Playground
    7. Further Exploration
    8. Summary
    9. Q&A
    10. Workshop
    11. Activities
  15. Hour 4. Inside Cocoa Touch
    1. What Is Cocoa Touch?
    2. Exploring the iOS Technology Layers
    3. Tracing the iOS Application Life Cycle
    4. Cocoa Fundamentals
    5. Exploring the iOS Frameworks with Xcode
    6. Further Exploration
    7. Summary
    8. Q&A
    9. Workshop
    10. Activities
  16. Hour 5. Exploring Interface Builder
    1. Understanding Interface Builder
    2. Creating User Interfaces
    3. Customizing the Interface Appearance
    4. Connecting to Code
    5. Further Exploration
    6. Summary
    7. Q&A
    8. Workshop
    9. Activities
  17. Hour 6. Model-View-Controller Application Design
    1. Understanding the MVC Design Pattern
    2. How Xcode Implements MVC
    3. Using the Single View Application Template
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  18. Hour 7. Working with Text, Keyboards, and Buttons
    1. Basic User Input and Output
    2. Using Text Fields, Text Views, and Buttons
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  19. Hour 8. Handling Images, Animation, Sliders, and Steppers
    1. User Input and Output
    2. Creating and Managing Image Animations, Sliders, and Steppers
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  20. Hour 9. Using Advanced Interface Objects and Views
    1. User Input and Output (Continued)
    2. Using Switches, Segmented Controls, and Web Views
    3. Using Scrolling Views
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  21. Hour 10. Getting the User’s Attention
    1. Alerting the User
    2. Exploring User Alert Methods
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  22. Hour 11. Implementing Multiple Scenes and Popovers
    1. Introducing Multiscene Storyboards
    2. Using Segues
    3. Popovers, Universal Applications, and iPhones
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  23. Hour 12. Making Choices with Toolbars and Pickers
    1. Understanding the Role of Toolbars
    2. Exploring Pickers
    3. Using the Date Picker
    4. Using a Custom Picker
    5. Further Exploration
    6. Summary
    7. Q&A
    8. Workshop
    9. Activities
  24. Hour 13. Advanced Storyboards Using Navigation and Tab Bar Controllers
    1. Advanced View Controllers
    2. Exploring Navigation Controllers
    3. Understanding Tab Bar Controllers
    4. Using a Navigation Controller
    5. Using a Tab Bar Controller
    6. Further Exploration
    7. Summary
    8. Q&A
    9. Workshop
    10. Activities
  25. Hour 14. Navigating Information Using Table Views and Split View Controllers
    1. Understanding Tables
    2. Exploring the Split View Controller
    3. A Simple Table View Application
    4. Creating a Master-Detail Application
    5. Further Exploration
    6. Summary
    7. Q&A
    8. Workshop
    9. Activities
  26. Hour 15. Reading and Writing Application Data
    1. iOS Applications and Data Storage
    2. Data Storage Approaches
    3. Creating Implicit Preferences
    4. Implementing System Settings
    5. Implementing File System Storage
    6. Further Exploration
    7. Summary
    8. Q&A
    9. Workshop
    10. Activities
  27. Hour 16. Building Responsive User Interfaces
    1. Responsive Interfaces
    2. Using Auto Layout
    3. Programmatically Defined Interfaces
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  28. Hour 17. Using Advanced Touches and Gestures
    1. Multitouch Gesture Recognition
    2. Adding Gesture Recognizers
    3. Using Gesture Recognizers
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  29. Hour 18. Sensing Orientation and Motion
    1. Understanding Motion Hardware
    2. Accessing Orientation and Motion Data
    3. Sensing Orientation
    4. Detecting Acceleration, Tilt, and Rotation
    5. Further Exploration
    6. Summary
    7. Q&A
    8. Workshop
    9. Activities
  30. Hour 19. Working with Rich Media
    1. Exploring Rich Media
    2. The Media Playground Application
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  31. Hour 20. Interacting with Other iOS Services
    1. Extending iOS Service Integration
    2. Using the Address Book, Email, Social Networking, and Maps
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  32. Hour 21. Implementing Location Services
    1. Understanding Core Location
    2. Creating a Location-Aware Application
    3. Using the Magnetic Compass
    4. Further Exploration
    5. Summary
    6. Q&A
    7. Workshop
    8. Activities
  33. Hour 22. Building Background-Ready Applications
    1. Understanding iOS Backgrounding
    2. Disabling Backgrounding
    3. Handling Background Suspension
    4. Implementing Local Notifications
    5. Using Task-Specific Background Processing
    6. Completing a Long-Running Background Task
    7. Performing a Background Fetch
    8. Further Exploration
    9. Summary
    10. Q&A
    11. Workshop
    12. Activities
  34. Hour 23. Building Universal Applications
    1. Universal Application Development
    2. Size Classes
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  35. Hour 24. Application Tracing, Monitoring, and Debugging
    1. Instant Feedback with NSLog
    2. Using the Xcode Debugger
    3. Further Exploration
    4. Summary
    5. Q&A
    6. Workshop
    7. Activities
  36. Index
  37. Appendix A. Introducing Xcode Source Control
    1. A Brief Introduction to Source Control Systems
    2. Working with Subversion and Git Repositories
    3. Managing a Project in Source Control
    4. Accessing the Teach Yourself iOS 8 Tutorials Through Subversion
    5. Summary
  38. Code Snippets

Product information

  • Title: iOS 8 Application Development in 24 Hours, Sams Teach Yourself, Sixth Edition
  • Author(s):
  • Release date: April 2015
  • Publisher(s): Sams
  • ISBN: 9780133994438