$30 off During Our Annual Pro Sale. View Details »

Swift, a Swift Sample

Swift, a Swift Sample

Covers where Swift is used, its popularity, some basic building blocks, and shows off some of its more advanced unique features.
Apple Playground Code is here: https://bitbucket.org/finneycanhelp/swift_sample

* CARFAX Hiring - Choices *
- http://bit.ly/carfaxAllJobsJuly - Straight to All Jobs
- http://www.CARFAX.com - click on Careers
- http://bit.ly/carfaxColumbiaJuly - Columbia Only
- http://bit.ly/carfaxDeveloperJuly - Developers

* Swift Learning Resources *
- The Swift Programming Language - The Basics
- Google “swift language reference” OR http://j.mp/swiftBasics
- IBM Swift Sandbox – https://swift.sandbox.bluemix.net
- https://stackoverflow.com/
- https://bitbucket.org/finneycanhelp/swift_sample

* Resources *
- Images from https://pexels.com
- Stack Overflow Developer Survey Results 2017 - https://insights.stackoverflow.com/survey/2017
- Swift - https://swift.org – get an overview. Not best place to start learning.
- “Swift! Optionals?” – https://medium.com/ios-os-x-development/swift-optionals-78dafaa53f3
- “Swift for the Java Guy Part 2: The Basics” – https://dzone.com/articles/swift-for-the-java-guy-part-2-the-basics

Avatar for Mike Finney

Mike Finney

July 19, 2017
Tweet

Other Decks in Programming

Transcript

  1. Swift — How Popular is Swift? — Where is Swift

    used? — What Swift Basic and Advanced Items You’ll See — Swift Coding Examples Using Playground — Swift Learning Resources
  2. Most Loved SO 2017 Survey — Swift Ranks 4th -

    63.9 % — Java Ranks 17th - 50.5% “% of developers who are developing with the language or technology and have expressed interest in continuing to develop with it” -- Stack Overflow Developer Survey Results 2017
  3. Most Dreaded — Objective-C Ranks 6th – 68.1% — Java

    Ranks 19th – 49.5% “% of developers who are developing with the language or technology but have not expressed interest in continuing to do so” -- Stack Overflow Developer Survey Results 2017
  4. Blowing Away C Languages — “Swift is intended as a

    replacement for C-based languages (C, C++, and Objective-C).” Source: swift.org/about
  5. Where Swift? — On macOS (Desktop apps), — iOS (iPads

    and iPhones) — watchOS (Apple Watch) — tvOS (Apple TV) — On Servers — “Top Server-Side Swift frameworks at this time are Vapor, Perfect, Kitura, and Zewo” — “Current Features & Benefits of the Top Server-Side Swift Frameworks” by Ryan Collins
  6. Swift Syntax — Constants and Variables — Basic Types: Int,

    String, arrays, dictionaries (like Java Map), … — Optionals – nil (like Java’s null) — Basics: “if”, “for”, “switch”, “while” — Tuples
  7. Swift Syntax — Functions — Classes — Enums – Oh,

    the power! — Closures — Structs — Generics
  8. No Time This Time — MVC – Model View Controller

    in Swift and iOS — MVVM (Model View View-Model) + Services; RxSwift
  9. CARFAX Hiring - Choices — http://bit.ly/carfaxAllJobsJuly - Straight to All

    Jobs — http://www.CARFAX.com - click on Careers — http://bit.ly/carfaxColumbiaJuly - Columbia Only — http://bit.ly/carfaxDeveloperJuly - Developers
  10. Swift Learning Resources — The Swift Programming Language - The

    Basics — Google “swift language reference” — OR http://j.mp/swiftBasics — IBM Swift Sandbox – https://swift.sandbox.bluemix.net — https://stackoverflow.com/ — https://bitbucket.org/finneycanhelp/swift_sample
  11. Resources — Images from https://pexels.com — Stack Overflow Developer Survey

    Results 2017 - https://insights.stackoverflow.com/survey/2017 — Swift - https://swift.org – get an overview. Not best place to start learning. — “Swift! Optionals?” – https://medium.com/ios-os-x-development/swift- optionals-78dafaa53f3 — “Swift for the Java Guy Part 2: The Basics” – https://dzone.com/articles/swift- for-the-java-guy-part-2-the-basics