O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced Swift 2 Application Development

Video Description

Learn to develop powerful iOS and WatchOS applications by harnessing the full potential of Swift 2

About This Video

  • Master advanced iOS and WatchOS frameworks and technologies such as CoreData, CoreLocation, and CoreAnimation

  • Gain a deeper understanding of application development within Swift 2 and see the reasons behind each development decision

  • Delve into CoreData and NSManaged properties to build a data-driven application

  • In Detail

    The number of smartphone users is increasing every single day, and as more and more of them are looking for new and interesting ways to improve their lives through mobile applications, the need for a language that will deploy on all platforms has become a necessity. This is where Swift 2 steps in, a beautifully crafted and evolving language released by Apple and used across iOS, WatchOS, tvOS, and MacOS native applications. Swift brings additional functionality and stability to your applications, allowing you to create new and exciting ideas with ease.

    This step-by-step guide will help you craft beautiful, well-structured, and stable applications and help you bring innovation to life. As soon as we begin, we'll take a look at what it takes to integrate third-party libraries into our project using CocoaPods, see what the pros and cons are, and get to know how we can set our criteria on suitable libraries.

    Throughout the course, we will delve deep into topics such as animation on views and layers, powering strongly data driven and location-driven applications using CoreData and MapKit, integrating our application with WatchOS, and sharing code and data between each application. Finally, we will test our application using Unit Tests and UI Tests, then walk through the process of submitting it to the App Store.

    This course truly covers a vast range of topics, providing a hands-on guide throughout each subject area, and ensuring you have the right tools and knowledge to create an advanced-level application. By the end of this course, you will be able to develop iOS applications using Swift 2 and work with some of the more advanced developer frameworks.

    Table of Contents

    1. Chapter 1 : Setting the Scene and Using CocoaPods for Dependency Management
      1. The Course Overview 00:04:10
      2. Reviewing the Project Code 00:03:15
      3. Installing CocoaPods 00:03:19
      4. Reviewing Pods 00:03:30
      5. Creating a Podfile to Manage Dependencies 00:04:19
      6. Using SDWebImage for Lazy Image Loading 00:03:33
    2. Chapter 2 : Using Animations to Bring Your App to Life
      1. Animating Our Views with UIView 00:05:58
      2. Working with CALayer 00:03:27
      3. Animating with CABasicAnimation 00:03:38
      4. Creating Our Logo in CAShapeLayer 00:06:11
    3. Chapter 3 : Using Core Data to Persist Your Data
      1. Understanding Core Data Terminology 00:08:58
      2. Creating Entities and Attributes in the Core Data Editor 00:05:52
      3. Saving Data 00:06:14
      4. Retrieving Data Using NSFetchedResultsController 00:06:37
      5. Updating Data 00:06:04
      6. Deleting Data 00:02:39
      7. Updating the Database 00:03:36
    4. Chapter 4 : Implementing Core Location and MapKit
      1. Implementing Core Location to Receive Your users’ Location Updates 00:04:41
      2. Creating a MapView and Centering on Their Position 00:06:35
      3. Creating Map Annotations to Display Your Data 00:05:54
      4. Working with MapView Delegate Methods 00:07:53
    5. Chapter 5 : Creating a WatchOS 2 Application
      1. Adding a Watch Target 00:02:52
      2. Working with the Interface Builder 00:04:41
      3. Making Use of App Groups 00:03:56
      4. Working with WCSession 00:07:09
      5. Navigating Through the App 00:04:36
      6. Implementing a Complication 00:07:58
    6. Chapter 6 : Testing Your Application
      1. Introducing Unit Tests 00:03:14
      2. Setting Up and Tearing Down Tests 00:03:37
      3. Using XCAssert to Validate Code 00:05:37
      4. Looking at Code Coverage Reports 00:02:40
      5. Using Xcode to Record UI Tests 00:02:44
    7. Chapter 7 : Preparing an App for Submission
      1. Creating a Distribution Certificate 00:05:03
      2. Setting Up the App in iTunes Connect 00:01:47
      3. Archiving the App and Uploading It to iTunes Connect 00:03:08