There doesn’t seem to be that much comparison between Objective-C and Swift on the Internet. Apart from some grammatical differences, what is the difference between OC and Swift?
伊谢尔伦2017-05-02 09:30:59
Swift’s syntax is obviously closer to most current mainstream programming languages. Objective-C’s unique []
scares away many C/C++/Java programmers.
And Swift does not support older OSX/iOS, but Objective-C does, as long as the API used is not too new.
ringa_lee2017-05-02 09:30:59
Swift is more secure, the code is more elegant, concise, highly readable, and runs faster.