About this Course

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.

Course Cost
Free
Timeline
Approx. 5 weeks
Skill Level
Intermediate
Included in Course
  • Icon course 01 3edf6b45629a2e8f1b490e1fb1516899e98b3b30db721466e83b1a1c16e237b1 Rich Learning Content

  • Icon course 04 2edd94a12ef9e5f0ebe04f6c9f6ae2c89e5efba5fd0b703c60f65837f8b54430 Interactive Quizzes

  • Icon course 02 2d90171a3a467a7d4613c7c615f15093d7402c66f2cf9a5ab4bcf11a4958aa33 Taught by Industry Pros

  • Icon course 05 237542f88ede3178ac4845d4bebf431ddd36d9c3c35aedfbd92e148c1c7361c6 Self-Paced Learning

  • Icon course 03 142f0532acf4fa030d680f5cb3babed8007e9ac853d0a3bf731fa30a7869db3a Student Support Community

Join the Path to Greatness

This free course is your first step towards a new career with the Become an iOS Developer Nanodegree Program.

Free Course

Objective-C for Swift Developers

by Lyft Venmo

Enhance your skill set and boost your hirability through innovative, independent learning.

Icon steps 54aa753742d05d598baf005f2bb1b5bb6339a7d544b84089a1eee6acd5a8543d

Course Leads

  • Gabrielle Miller-Messner
    Gabrielle Miller-Messner

    Instructor

What You Will Learn

Lesson 1

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.
Lesson 1

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.
Lesson 2

Writing Classes

  • Familiarize yourself with Objective-C syntax.
  • Write some classes and properties from scratch.
  • Build a simple Objective-C program with classes.
Lesson 2

Writing Classes

  • Familiarize yourself with Objective-C syntax.
  • Write some classes and properties from scratch.
  • Build a simple Objective-C program with classes.
Lesson 3

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.
Lesson 3

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.
Lesson 4

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.
Lesson 4

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.
Lesson 5

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.
Lesson 5

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.
Lesson 6

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.
Lesson 6

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.

Prerequisites and Requirements

Experience writing iOS apps in Swift.

See the Technology Requirements for using Udacity.

Why Take This Course

This course will teach you the distinguishing language features of Objective-C, including basic syntax. With this knowledge you will be able to confidently answer some of the most commonly asked interview questions related to Objective-C. You will migrate an app from Objective-C to Swift and in so doing become familiar with the experience of deciphering an unfamiliar Objective-C codebase, an experience you are likely to encounter in your first job as an iOS developer. You will also get an opportunity to practice with interoperability between Objective-C and Swift, practice negotiating the differences between the languages of iOS.

When you look out at the iOS landscape you likely see that the number of engineers developing in Swift is growing rapidly, yet many apps and third party APIs are still written in Objective-C. This course is designed to help prepare you for that landscape.

What do I get?
  • Instructor videos
  • Learn by doing exercises
  • Taught by industry professionals

Thanks for your interest!

We'll be in touch soon.

Icon globe e82eae5d45465aba4fbe4bb746905ce55dc3324f310b79c60e4a20089057d347

Udacity 现已提供中文版本! A Udacity tem uma página em português para você! There's a local version of Udacity for you! Sprechen Sie Deutsch?

Besuchen Sie de.udacity.com und entdecken Sie lokale Angebote, unsere Partnerunternehmen und Udacitys deutschsprachigen Blog.

前往优达学城中文网站 Ir para a página brasileira Go to Indian Site Icon flag de deedb1a7a695700236cb6ef4204ddbede5d197dab9b47716c87a0b4d5d9fc325 Zu de.udacity.com continue in English