15
Swift for Objective-C Developers

Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Swift for Objective-C Developers

Page 2: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Agenda●

Page 3: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Swift Language●

Page 4: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Timeline

July 2010

Started language

development

Chris Latner

June 2014

First Swift a

pp

released

September 9, 2014

Swift 1.0 re

leased

Xcode 6

October 2

2, 2014

Swift 1.1 re

leased

Xcode 6.1

April 8, 2015

Swift 1.2 re

leased

Xcode 6.1

September 21, 2015

Publish apps in

Swift

Swift 2.0

September 13, 2016

Swift 3 re

leased

Late 2017

Swift 4 re

lease

Page 5: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Usage

Embedded Systems

Page 6: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

UsageServer Side●

Page 7: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Android Development?

Usage

Page 8: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

11th placePopularity score

*According to IEEE Spectrum language rankings, annually, 2016

Page 9: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Why safer?●

Page 10: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Why modern?●

● let var

● static let sharedInstance = CurrentClass()

Page 11: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Why cool? ●

Page 12: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

How to start●

Page 14: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Swift for Objective-C Developers

Page 15: Swift for Objective-C Developers - Gorilla Logic · NSLog Swift @end Goodbye Obj—C! " MyC1ass { class sayHe110() { func print "Hello Swift, Gooodbye Obj—C" Swift vs. Objective-C

Swift for Objective-C Developers