Below are the features introduced in swift and not present in Objective C
- 'repeat while' which is conceptually equal to 'do while' in C/Objective C
- guard statement
- 'Any' (keyword using which arrays dicts can store objects of discrete type)
- 'fallthrough' (using which we can allow implicit fall-through in switch statement which is not default in Swift unlike Objective C)
- 'AnyObject' conceptually equivalent to id in Objective C
- Optionals
- Tuples
- Range Operator
This comment has been removed by the author.
ReplyDeleteThanks for Sharing !!!
ReplyDeleteBE Inplant Training in Chennai
Inplant Training in Chennai
me inplant training in chennai