Skip to content

herndonj/Swift_In_Practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Swift_In_Practice

Observations and resources on learning/using Swift from the perspective of R and Python

Language Notes/Observations

Dataframes

While Swift does have support for Tensorflow and you can code in Swift in Google's Colab, I have yet to find anything close (a pre-built solution) to R or Pandas dataframes in Swift. I'd be delighted to be corrected- just let me know!

Resources

Unless otherwise noted, I've used the following resources while exploring Swift.

General iOS Resources

Websites

Paul Hudson's (@twostraws) website provides the best mix of tutorials and how to guides that I've found online. The 100 days course provides a solid foundation on language fundamentals and offers two paths to developing for iOS if your goal is to use swift for iOS development.

Swift Book

Books

  • Sahar, Ahmad and Craig Clayton. iOS 13 Programming for Beginners, 4th ed. (Birmingham, UK:Packt, 2020)

The title says "iOS," but the first 100 pages a quick, clear introduction to Swift. The book then moves into a set of tutorials using UIKit for iOS apps.

Collections

Putting different types in a dictionary

Command Line

Command Line Swift

Dates

Formatting Dates in Swift ISO8601 Dates convert dates and times to a string using DateFormatter

Files

Working with Directories Working with Files

Web Frameworks

kitura and vapor links Server-side Swift - Perfect | Perfect.org

Observations/Commentaries/Digressions

  • Many people are surprised- but it's true... you can use Swift on a linux machine and you don't have to use Xcode. I've had great luck using a Digital Ocean droplet (ubuntu) as a space to test swift code on the command line. Apple's Swift Playgrounds provides a light environment for testing Swift code with a REPL. I seem to find myself debugging small pieces of code in the terminal on my mac while I'm working on larger things in Xcode.

About

Observations and resources on learning/using Swift from the perspective of R and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages