|
Answer» Swift Programming-
- In a swift programming, the variables and constants are declared before use.
- In a swift programming, “var” KEYWORD used for variable and “let” keyword for constant.
- In a swift programming, no NEED to end code with semi-colon
- In a swift programming, does not require creating a separate interface like Objective-C.
- In a swift programming, we can DEFINE METHODS in CLASS, structure or enumeration.
Objective-C Programming-
- In objective-C programming, we need to end code with semi-colon
- In objective-C programming, we can declare constant as int and variable as NSString.
Swift Programming- Objective-C Programming-
|