Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

Swift if

let number = 10

// check if number is greater than 0
if (number > 0) {
  print("Number is positive.")
}

print("The if statement is easy")
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #Swift
ADD COMMENT
Topic
Name
4+1 =