Skip to content

martyav/swiftBasics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

swiftBasics

A Swift Playground covering basics for code newbies.

To use

Note: You need XCode to use this. Download it for free from iTunes: https://itunes.apple.com/us/app/xcode/id497799835?mt=12

Hit the download button on the top, and select download as .zip. Open the zip file to get a folder containing the Playground and supporting files.

or

Go to the file Contents.Swift and copy/paste directly into an open Playground.

(Open in Desktop is for if you have Github Desktop. You probably don't, at this point.)


The Playground provides a swift overview of:

  • Commenting
  • Var vs let
  • Bools & logical operators
  • Syntax for if/else and switch
  • For-in & while loops
  • Ints, floats, & doubles
  • Optionals
  • Strings, characters & unicode
  • Arrays & dictionaries
  • Functions & guard

If you like this Playground and are feeling generous, give me a tip at paypal.me/martyav!

About

A Swift playground covering basics for code newbies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages