This course is designed to teach students how to understand and identify the differences between the Objective-C and Swift programming languages, and especially, how to rewrite from the former to the latter. Understanding communications between the two languages—called "interoperability"—is becoming more and more important for developers, particularly as we prepare for the arrival of Swift 3.0. In the course, students will write classes and add functionality to classes by writing and calling methods. After learning some basic Objective-C syntax, students will examine and break down an app written in Objective-C and rewrite it in Swift. The course will conclude with a review of and practice with the most common challenges for interoperability between Objective-C and Swift.
Overview
Syllabus
- Objective-C and Swift, Compare and Contrast
- Learn the distinguishing language features of Objective-C.,Compare and contrast Objective-C and Swift language features.,Practice answering interview questions about language features.
- Writing Classes
- Familiarize yourself with Objective-C syntax.,Write some classes and properties from scratch.,Build a simple Objective-C program with classes.
- Adding Functionality to a Class: Methods and Messages
- Master how to write and call methods in Objective-C.,Learn basic control flow syntax.,Build a functioning rock, paper, scissors game.
- Migrate an App from Objective-C to Swift: Part I
- Learn how to write custom classes.,Incorporate third party frameworks and extensions.,Begin porting an existing Objective-C project into Swift.
- Migrate an App from Objective-C to Swift: Part II
- Persist data with NSCoder and NSKeyedArchiver.,Implement navigation with a collection view.,Finish porting an existing Objective-C project into Swift.
- Common Interoperability Challenges
- Facilitate communication between the languages of iOS.,Add functionality to a mixed language project.,Complete a set of coding challenges to sharpen interop skills.
Taught by
Gabrielle Miller-Messner
Reviews
2.0 rating, based on 1 Class Central review
Showing Class Central Sort
-
I understand these course very well. In this course teacher explain concepts very clearly and in very easy language . It is very easy language for understanding the brod concepts . I like very much teaching system.