Skip to content

Instantly share code, notes, and snippets.

@djvita
Created May 25, 2015 20:38
Show Gist options
  • Save djvita/f5e488ab3babba005327 to your computer and use it in GitHub Desktop.
Save djvita/f5e488ab3babba005327 to your computer and use it in GitHub Desktop.
Playground Swift
//: Playground - noun: a place where people can play
import UIKit
var str = "Hello, playground"
var numberOfYears: Int = 4
var accountBalance: Float = 1203.51
var isStudent: Bool = true
var names: String = "Hello where are you"
var year: Int = 2015
//objects
//var fastCar: Car = Car()
var numberOFYears: Int = 24
let name: String = "Vita"
let isMale: Bool = true
var bankAccountBalance: Float = 2345.4
var numberOfYears1 = 25
var name2 = "Elias"
let issMale = true
var accountMonay = 45687.15
var favoriteFood = "pasta"
favoriteFood.uppercaseString
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment