Objective-C for Swift Developers

中级

大约 5 个礼拜

6小时每周 (按照自己的节奏)

由以下企业参与制作:
由以下企业参与制作:
加入成千上万的全球学员

开始免费课程

加入课程
免费
可享受
课程视频
实战练习与参考项目指导
中级

大约 5 个礼拜

6小时每周 (按照自己的节奏)

由以下企业参与制作:
由以下企业参与制作:
加入成千上万的全球学员

课程概述

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.

喜欢这门课程?加入“iOS 开发者”纳米学位,点此免费体验

为什么学习这门课程?

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.

先修要求

Experience writing iOS apps in Swift.

查看使用优达学城的技术要求

你将学习什么内容?

项目

Objective-C for Swift Developers

This series of coding challenges is designed to prepare you for the most common causes of friction between Objective-C and Swift.

学习计划

Lesson 1 Objective-C and Swift, Compare and Contrast

Learn the distinguishing language features of Objective-C.

Lesson 2 Writing Classes

Familiarize yourself with Objective-C syntax. Write some classes and properties from scratch.

Lesson 3 Adding Functionality to a Class: Methods and Messages

Master how to write and call methods in Objective-C. Build a functioning game.

Lesson 4 Migrate an App from Objective-C to Swift: Part I

Write custom classes and incorporate third party frameworks and extensions.

Lesson 5 Migrate an App from Objective-C to Swift: Part II

Persist data with NSCoder and NSKeyedArchiver. Implement navigation with a collection view.

Lesson 6 Common Interoperability Challenges

Facilitate communication between the languages of iOS. Complete a set of coding challenges to sharpen interop skills.

讲师与合作伙伴

Gabrielle Miller-Messner

Gabrielle Miller-Messner

Gabrielle earned her Ph.D. in Population Biology from UC Davis. There in the lab, analyzing DNA sequences, she discovered the joys of programming. Having taught science and math to undergraduate and high school students for four years, she was motivated to make apps for science education. She worked as an iOS Engineer for a year and a half before joining Udacity.

官方微信公众号二维码

优达学城(Udacity)微信