Learning Xcode 8

Learn how to use the power of Xcode to turn your next great app idea into a reality

Learning Xcode 8

This ebook is included in a Mapt subscription
Jak Tiano

2 customer reviews
Learn how to use the power of Xcode to turn your next great app idea into a reality
$0.00
$28.00
$49.99
$29.99p/m after trial
RRP $39.99
RRP $49.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785885723
Paperback480 pages

Book Description

Over the last few years, we’ve seen a breakthrough in mobile computing and the birth of world-changing mobile apps. With a reputation as one of the most user-centric and developer-friendly platforms, iOS is the best place to launch your next great app idea. As the official tool to create iOS applications, Xcode is chock full of features aimed at making a developer’s job easier, faster, and more fun.

This book will take you from complete novice to a published app developer, and covers every step in between. You’ll learn the basics of iOS application development by taking a guided tour through the Xcode software and Swift programming language, before putting that knowledge to use by building your first app called “Snippets.” Over the course of the book, you will continue to explore the many facets of iOS development in Xcode by adding new features to your app, integrating gestures and sensors, and even creating an Apple Watch companion app. You’ll also learn how to use the debugging tools, write unit tests, and optimize and distribute your app. By the time you make it to the end of this book, you will have successfully built and published your first iOS application.

Table of Contents

Chapter 1: Starting Your iOS Journey
A developer's responsibilities
Working on a team
The Xcode 8 toolset
Understanding Model-View-Controller (MVC)
Becoming a registered developer
Summary
Chapter 2: Welcome to Xcode
Getting started
Navigating Xcode
Exploring the editor
Understanding project settings
Creating and managing files
Creating builds
Applying the basics
Summary
Chapter 3: Introduction to Swift 3
Discovering playgrounds
Understanding Swift basics
Creating classes, structs, and enums
Using important Swift features
Summary
Chapter 4: Using Storyboards, Auto Layout, and Size Classes
Storyboards
Auto Layout
Size classes
Summary
Chapter 5: Taking Advantage of Source Control in Xcode
Understanding version control
Introduction to Git
Setting up Git in Xcode
Using version control in Xcode
Summary
Chapter 6: Building Your First iOS App
Pre-production
New snippet
Select snippet type
Text snippet implementation
PhotoSnippet implementation
Scroll through snippets
Snippet dates
Summary
Chapter 7: Integrating Multitouch and Gestures
Human interface guidelines – gestures
Adding gestures from the storyboard
Adding gestures from code
Creating 3D Touch app shortcuts
Summary
Chapter 8: Exploring Common iOS Frameworks
Frameworks
Understanding UIKit fundamentals
Using CoreLocation.framework
Using Social.framework
Summary
Chapter 9: Working with Core Data
What is Core Data?
Preparing Snippets for Core Data
Persisting data
Summary
Chapter 10: Creating a watchOS Companion App
Designing for the Apple Watch
Components of a watchOS app
Architecture of a watchOS app
Snippets for Apple Watch
Summary
Chapter 11: Advanced Input Using Sensors
Device status with UIDevice
Introduction to Core Motion
Gyroscope
CMDeviceMotion
Sensors on Apple Watch
Summary
Chapter 12: Sending Notifications
Introduction to user notifications
Adding notification support to Snippets
Advanced notifications
Summary
Chapter 13: Writing Unit Tests
Introduction to unit tests
Unit tests in action
Implementing tests for Snippets
Testing UI in Xcode 8
Summary
Chapter 14: Debugging an iOS Application
Basic debugging practices
Advanced debugging tools
Visual debugging
Summary
Chapter 15: Optimizing Your App
Introduction to Instruments
Summary
Chapter 16: Distributing an iOS App
Preparing iTunes Connect
Uploading to iTunes Connect
Releasing the app
Summary

What You Will Learn

  • Understand the most important features of the Xcode IDE
  • Write Swift 2 code for application data models and view controllers
  • Prepare visual layouts for an iOS application using storyboards, size classes, and auto-layout
  • Integrate many common technologies into an app, such as multi-touch gestures, CoreData, and notifications
  • Build companion applications for the Apple Watch with watchOS 2
  • Debug applications using Xcode's suite of debugging tools, and prevent bugs with unit testing
  • Optimize an application using Xcode 8’s profiling tools and asset catalogs
  • Distribute a beta application through TestFlight, and a finished application through the App Store

Authors

Table of Contents

Chapter 1: Starting Your iOS Journey
A developer's responsibilities
Working on a team
The Xcode 8 toolset
Understanding Model-View-Controller (MVC)
Becoming a registered developer
Summary
Chapter 2: Welcome to Xcode
Getting started
Navigating Xcode
Exploring the editor
Understanding project settings
Creating and managing files
Creating builds
Applying the basics
Summary
Chapter 3: Introduction to Swift 3
Discovering playgrounds
Understanding Swift basics
Creating classes, structs, and enums
Using important Swift features
Summary
Chapter 4: Using Storyboards, Auto Layout, and Size Classes
Storyboards
Auto Layout
Size classes
Summary
Chapter 5: Taking Advantage of Source Control in Xcode
Understanding version control
Introduction to Git
Setting up Git in Xcode
Using version control in Xcode
Summary
Chapter 6: Building Your First iOS App
Pre-production
New snippet
Select snippet type
Text snippet implementation
PhotoSnippet implementation
Scroll through snippets
Snippet dates
Summary
Chapter 7: Integrating Multitouch and Gestures
Human interface guidelines – gestures
Adding gestures from the storyboard
Adding gestures from code
Creating 3D Touch app shortcuts
Summary
Chapter 8: Exploring Common iOS Frameworks
Frameworks
Understanding UIKit fundamentals
Using CoreLocation.framework
Using Social.framework
Summary
Chapter 9: Working with Core Data
What is Core Data?
Preparing Snippets for Core Data
Persisting data
Summary
Chapter 10: Creating a watchOS Companion App
Designing for the Apple Watch
Components of a watchOS app
Architecture of a watchOS app
Snippets for Apple Watch
Summary
Chapter 11: Advanced Input Using Sensors
Device status with UIDevice
Introduction to Core Motion
Gyroscope
CMDeviceMotion
Sensors on Apple Watch
Summary
Chapter 12: Sending Notifications
Introduction to user notifications
Adding notification support to Snippets
Advanced notifications
Summary
Chapter 13: Writing Unit Tests
Introduction to unit tests
Unit tests in action
Implementing tests for Snippets
Testing UI in Xcode 8
Summary
Chapter 14: Debugging an iOS Application
Basic debugging practices
Advanced debugging tools
Visual debugging
Summary
Chapter 15: Optimizing Your App
Introduction to Instruments
Summary
Chapter 16: Distributing an iOS App
Preparing iTunes Connect
Uploading to iTunes Connect
Releasing the app
Summary

Book Details

ISBN 139781785885723
Paperback480 pages
Read More
From 2 reviews

Read More Reviews