Swift 3 dataTypes

let - it is used for declaring the constant values.you cannot able to change the values at run time.

Var - It is variable at runtime.You can change its value at runtime.

In swift you can use the above data types to use the standard datatypes.Because they are flexible to change its datatype at runtime or compile time.So you can use let and var variables as NSString, String, NSMutablearray, NSArray, Integer, Float, Double, ..etc.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift