st2mob - ios - introduction › efrei › mobile development... · swift safe, fast, expressive...
TRANSCRIPT
![Page 1: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/1.jpg)
Mobile Development (ST2MOB)
iOS
Nicolas Sicard - 2017
![Page 2: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/2.jpg)
There are now more than 1 billion active Apple devices in use around the world (January 26th, 2016)
![Page 3: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/3.jpg)
Multiple devices: iPhone, iPad, iPod, AppleTV, AppleWatch
Mobile platform
Family of OSes: iOS, tvOS, watchOS
![Page 4: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/4.jpg)
Evolution
90’
![Page 5: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/5.jpg)
January, 2007 version 1.0
October, 2016 version 10.0
![Page 6: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/6.jpg)
Stan
ford
CSA
93p
- 201
6
![Page 7: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/7.jpg)
Stan
ford
CSA
93p
- 201
6
![Page 8: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/8.jpg)
Stan
ford
CSA
93p
- 201
6
![Page 9: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/9.jpg)
Stan
ford
CSA
93p
- 201
6
![Page 10: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/10.jpg)
Stan
ford
CSA
93p
- 201
6
8
![Page 11: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/11.jpg)
SwiftSafe, fast, expressive language, designed to replace Objective-C and more…
Development started in 2010 (Chris Lattner), already 14th in the TIOBE index today
Version 1.0 in September, 2014, open-source in late 2015 (Linux port), v3.0 in September, 2016
The goal of the Swift project is to create the best available language for uses ranging from systems programming, to mobile and desktop apps,
scaling up to cloud services. Most importantly, Swift is designed to make writing and maintaining correct programs easier for the developer.
![Page 12: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/12.jpg)
SwiftMany changes between v1.0 and v3.0 (v3.0 is a stable version)
https://developer.apple.com/swift/
https://swift.org
The Swift Programming Language book : https://itunes.apple.com/fr/book/swift-programming-language/id881256329?mt=11
![Page 14: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/14.jpg)
Swift@IBMServer side swift :
https://developer.ibm.com/swift/
https://developer.ibm.com/swift/blogs/
Bluemix (swift online sandbox)
https://swiftlang.ng.bluemix.net/#/repl
https://developer.ibm.com/swift/2015/12/03/introducing-the-ibm-swift-sandbox/
![Page 16: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/16.jpg)
Referenceshttps://developer.apple.com
http://www.weheartswift.com/
https://learnxinyminutes.com/docs/swift/
https://www.raywenderlich.com/
http://stackoverflow.com/
http://appventure.me/
http://swiftyeti.com/generics/
http://codewithchris.com/learn-swift-from-objective-c/
http://dean.cafelembas.com/
https://github.com/raywenderlich/swift-style-guide
![Page 17: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/17.jpg)
ST2MOB (iOS)
1 Introduction session : 3h30 (today)
3 x 3h30 Lab sessions : 10h30 (during feb. and march)
Course based on the CS193p Spring 2016 Stanford online course (available on iTunesU) :
http://web.stanford.edu/class/cs193p/cgi-bin/drupal/
https://itunes.apple.com/us/course/developing-ios-9-apps-swift/id1104579961
![Page 18: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/18.jpg)
![Page 19: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/19.jpg)
ST2MOB (iOS)
• Online materials : videos, slides and assignments
• Instructions will be emailed ahead of each session
• You should watch the video(s) ahead of lab sessions
• MacBooks will be available during lab sessions (bring your own if you have one!)
• Evaluations : final exam (60%) and project (40%) - final exam (Android and iOS) - one project (Android or iOS)
![Page 20: ST2MOB - iOS - Introduction › efrei › Mobile Development... · Swift Safe, fast, expressive language, designed to replace Objective-C and more… Development started in 2010 (Chris](https://reader034.vdocuments.mx/reader034/viewer/2022042315/5f032a2f7e708231d407dc38/html5/thumbnails/20.jpg)
Videos (Stanford online course) :
1 - Course overview and Introduction to iOS, Xcode and Swift
2 - Applying MVC
8
8