SWIFT | OBJECTIVE C | |
---|---|---|
Swift is a general-purpose, high-level programming language that is highly concerned about safety, and performance. | Objective C is a general-purpose language that is considered a superset of C language it was designed with the aim of providing object-oriented capabilities. | |
It was developed by Chris Lattner with eventual collaboration with other programmers at Apple. | It was developed by Brad Cox and Tom Love at their company Stepstone. | |
It was influenced by Objective C, Rust, Ruby, and Python. | It was influenced by C and Smalltalk. | |
Swift first appeared on the year 2014. | Objective C first appeared on the year 1984. | |
Swift is a static type. | Objective C is dynamic type. | |
Swift is apache licensed open-source project. | Objective C is licensed under General Public License. | |
It only has classes. | It has both Structs and classes. | |
It was designed for building apps for iOS, Mac, Apple TV, and Apple Watch. | Objective C was designed to be Smalltalk messaging features. | |
Swift polymorphism does not exist directly. | Polymorphism in Objective C exists directly in compile time. | |
It uses true and false values. | It uses YES and NO values and also BOOl. | |
Swift has multiple types of templates than Objective C. | Objective C lacks templates than Swift. |
No comments:
Post a Comment
Thanks