Swift | Objective-C |
1. Swift was developed by Chris Lattner | 1. Objective-C was developed by Brad Cox and Tom Love |
2. It was influenced by Objective C, Ruby and Python | 2. It was influenced by C |
3. Swift is a static type | 3. Objective-C is a dynamic type |
4. It only have classes | 4. It has both Structs and classes |
5. Swift is an Apache Licensed open-source project | 5. Objective-C is a GPL (General Public License)
|
6. It uses true and false values | 6. It uses YES, NO and BOOL Operators. |
7. In Swift, polymorphism does not exist directly | 7. In Objective C, Polymorphism exist directly in compile time |
8. Swift has multiple types of templates than Objective C. | 8. Objective C has less of templates than Swift. |