Learning Swift 2 [Video]

Learning Swift 2 [Video]

This video is included in a Mapt subscription
Victor Sigler

Take your programming skills to the next level with Swift 2
$0.00
$22.50
$29.99p/m after trial
RRP $74.99
Subscription
Video
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

Video Details

ISBN 139781785882357
Course Length3 hours and 2 minutes

Video Description

Swift 2 generates faster code across the board, both for release and debug builds. With Swift programmers having half as many code as other code files to maintain and zero manual code synchronization, Swift has experienced unprecedented growth in popularity among developers. In this course, we'll explore the MVC and Singleton design patterns, you'll see how to consume third-party APIs using asynchronous requests, and we'll look at some of the most used controls in iOS development.

This course provideS all you need to know to develop iOS and OS X applications. You'll take a tour of the fundamental concepts, and learn how to develop iOS, tvOS, watchOS, and OS X applications.

We'll kickstart your learning skills as you work with one of the most used dependency managers in iOS, Cocoapods, to install third-party libraries such as Alamofire and SwiftyJSON to deal with JSON and networking requests. You'll see how to structure your project with the MVC design pattern and implement a second view controller to display data and details of your application. It doesn’t end there, as we'll also explore Swift in Linux and the new Package Manager.

This course will teach you the main steps in the build process of an application, giving you the skills you need to create your own applications. 

Style and Approach

This step-by-step tutorial lays out each task on screen and explains it practically in detail so it's easy to follow and implement. All the key elements of the language are demonstrated with code examples.

Table of Contents

Introduction
The Course Overview
Why Choose Swift 2 over Objective-C?
Installing and Setting Up the XCode IDE
Beginning with Playgrounds
Swift Basics
Variables and Constants
Control Flow and Conditional Statements
Functions and Closures
Optionals
Structs
Arrays and Dictionaries
Classes
enums
Start Building the App
Setting Up our Project
Defining the Structure of the iOS App
Building the User Interface
Installing and Setting up the Dependency Manager CocoaPods
Getting and Parsing the Data
Setting up the RequestManager class
Making the web request to get our data
Parsing the JSON using SwiftyJSON
Using closures to return the data
Displaying the Data and Details
The UITableViewController
Setting Up the Search bar
Setting the Data for Each Cell in Code
Setting Up the DetailViewController Class
Passing the Selected Cell Data to Another Controller
Making zoom in/out of the Photos
Searching Photos in the API
Advanced Topics – Optimizing the App
Caching Photos
Making the Request on Demand
Adopting Error Handling for the Requests
Swift in Linux and the New Package Manager
Next Steps

What You Will Learn

  • Explore the fundamentals of Swift 2 to help you write applications with complex paradigms and patterns of programming
  • Integrate third-party libraries using CocoaPods
  • Work with TableViews, ScrollViews, NavigationController, and SearchControllers to display data in a user-friendly way
  • Get familiar with Alamofire to make web requests to third-party APIs.
  • Create a zoom in/out effect for photos using ScrollView
  • Adopt error handling in your projects using Enums
  • Understand the MVC design pattern linked with iOS development
  • Keep up with the latest advances with Swift in Linux and the new Package Manager

Authors

Table of Contents

Introduction
The Course Overview
Why Choose Swift 2 over Objective-C?
Installing and Setting Up the XCode IDE
Beginning with Playgrounds
Swift Basics
Variables and Constants
Control Flow and Conditional Statements
Functions and Closures
Optionals
Structs
Arrays and Dictionaries
Classes
enums
Start Building the App
Setting Up our Project
Defining the Structure of the iOS App
Building the User Interface
Installing and Setting up the Dependency Manager CocoaPods
Getting and Parsing the Data
Setting up the RequestManager class
Making the web request to get our data
Parsing the JSON using SwiftyJSON
Using closures to return the data
Displaying the Data and Details
The UITableViewController
Setting Up the Search bar
Setting the Data for Each Cell in Code
Setting Up the DetailViewController Class
Passing the Selected Cell Data to Another Controller
Making zoom in/out of the Photos
Searching Photos in the API
Advanced Topics – Optimizing the App
Caching Photos
Making the Request on Demand
Adopting Error Handling for the Requests
Swift in Linux and the New Package Manager
Next Steps

Video Details

ISBN 139781785882357
Course Length3 hours and 2 minutes
Read More

Read More Reviews

Recommended for You

ServiceNow: Building Powerful Workflows Book Cover
ServiceNow: Building Powerful Workflows
$ 71.99
Sharepoint: SPFx Development Model [Video] Book Cover
Sharepoint: SPFx Development Model [Video]
$ 124.99
$ 37.50
Raspberry Pi: Make a Bench automation computer [Video] Book Cover
Raspberry Pi: Make a Bench automation computer [Video]
$ 49.99
$ 15.00