menu search
brightness_auto
Ask or Answer anything Anonymously! No sign-up is needed!
more_vert



Watch this video to learn the main differences and which one is definitely the best choice for a new project

6 Answers

more_vert
Swift is a  high-level programming language.It is mainly concerned about safety, performance.

Objective C is an general purpose language. It is a superset of C language.Swift is static type language while Objective C is dynamic type. The concept of polymorphism doesn't exist in swift. It exists in objective c. 
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
Objective-C and Swift are both programming languages that are primarily used to develop apps for Apple's platforms such as iOS, macOS, and watchOS. However, there are some key differences between the two languages. Objective-C is an object-oriented programming language that is derived from the C language. It was developed by Brad Cox and Tom Love in the early 1980s and was the primary programming language for developing iOS apps until 2014. It is known for its dynamic binding, runtime flexibility and its ability to coexist with C code. Objective-C uses a message-passing syntax and dynamic binding to interact with objects, which can make it more difficult to understand for developers who are not familiar with the language. Swift, on the other hand, is a modern, high-performance programming language that was developed by Apple and introduced in 2014. It is designed to be safer than Objective-C and more expressive. Swift has a syntax that is more similar to other modern programming languages like Python, Java and JavaScript. Swift has a type-safe and syntax optimized for development, making the code more readable and expressive. Swift also has a more modern feature set and is less prone to errors. In summary, while Objective-C is an older and more established language, Swift is newer and more modern, and it is generally considered to be easier to learn and use, with a more modern feature set.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
Objective-C is an older programming language used primarily for iOS/macOS app development, while Swift is a newer, faster, and more modern alternative.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
Objective c allow variable to hold  the value of any while swift has some fixed data type that it support . Moreover, objective c supports pointers . 
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
Objective-C and Swift are both programming languages used for developing iOS and macOS applications. Objective-C was the primary language used for iOS and macOS app development before the introduction of Swift in 2014.

Here are some differences between Objective-C and Swift:

Syntax: Objective-C is an object-oriented programming language that uses a syntax based on Smalltalk, while Swift uses a more modern syntax that is similar to languages like Python and Ruby.

Safety: Swift was designed to be safer than Objective-C. It includes features like optional types, automatic memory management, and safer array and string manipulation.

Speed: Swift is generally faster than Objective-C due to its performance optimizations, including its use of value types and its ability to optimize code for modern hardware.

Interoperability: Swift was designed to be interoperable with Objective-C, meaning that developers can use both languages in the same project.

Learning Curve: Swift is considered easier to learn than Objective-C due to its modern syntax and more intuitive language features.

Overall, Swift is considered a more modern and efficient language compared to Objective-C, and it is gradually becoming the preferred language for iOS and macOS development. However, Objective-C still has a large codebase in use and is still widely used for maintaining legacy codebases
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
more_vert
It was developed by Brad Cox and Tom Love in the early 1980s and was the primary programming language for developing iOS apps until 2014. It is known for its dynamic binding, runtime flexibility and its ability to coexist with C code.
thumb_up_off_alt 0 like thumb_down_off_alt 0 dislike
Welcome to Answeree, where you can ask questions and receive answers from other members of the community.
...