Swift Tutorial
Swift is an Object Oriented Language developed by Apple. Swift uses the Objective C to develop the application. Swift will work along with Cocoa Touch frameworks , which are runnable in imac and ios systems.
Swift uses the LLVM compiler. Here is the examples of Constants and Variables.
Constants: The keyword used to declare the constant variable is "let".
Example :
let s:String = "hai iam here";
Variables: The "var" keyword is used to declare a variable.
Example :
var a:String = "you are there";
No comments:
Post a Comment