What is the value of val after this code is executed? let i = 5; let val = i * 6.0
What is the type of value1 in this code? let value1 = "\("test".count)"
What is wrong with this code? for (key, value) in [1: "one", 2: "two"]{print(key, value)}
What is the value of test after this code executes? let vt = (name: "ABC", val: 5) let test = vt.0
What is the name of the Xcode generated header file used to import Swift classes into an Objective-C Class given a product module named Example?
What is the correct way to add a value to this array? var strings = [1, 2, 3]
What is the correct way to import an Objective-C class into bridging header file?
What is the correct way to declare Decomposed Tuple?
What is the type of Swift Enumerations?
What is the type of this function? func add(a: Int, b: Int) -> Int { return a+b }
What is used to import Objective-C files into Swift?
What is a mutating instance method in Swift?
What is the raw/underlying type of this enum? enum Direction {case north, south, east, west}
What is the type of vals in this code? let vals = ["a", 1, "Hi"]
What is this code an example of? let val = 5; print("value is: \(val)")
What is the difference between let and var in swift? let x = 10 var x = 10
What is wrong with this code? Let val = 5.0 + 10