swift

79
Swift ) Swift as Programming Languag 2) Migration to Swift

Upload: emiliano-chiozzi-causin

Post on 08-Aug-2015

118 views

Category:

Mobile


3 download

TRANSCRIPT

Swift

1) Swift as Programming Language

2) Migration to Swift

What is new?

1) Swift as Programming Language

Functions are just names closures

Instance Variables don’t exists

Do have backing instance variables

Don't have backing instance variables

Can't inherit

Passed by value

Passed by reference

2) Migration to Swift

Interoperability: lets you interface between Swift and Objective-C code, allowing you to use Swift classes in Objective-C and to take advantage of familiar Cocoa classes, patterns, and practices when writing Swift code.

Mix and match: allows you to create mixed-language apps containing both Swift and Objective-C files that can communicate with each other.

Mix and Match