4 years ago1,000+ Views
Objective-C is a "general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language."(via wiki) Most people know Objective-C for being the main language used to develop iOS apps and anything for OS X. Smalltalk is an object-oriented, dynamically typed, reflective programming language and Objective-C is a strict superset of C with Smalltalk syntax. Why you should know Objective-C: - To develop anything for Apple Some unique features of Objective-C: • Dynamic typing and the id type Any variable can be declared as type id, meaning a pointer to an object of an undetermined type. Also, Objective C classes are true objects and exist at runtime. • Categories and dynamic loading Allows existing classes to be extended at runtime & define categories. • Simple and standard! • Shortcuts Includes C++-style comments and #import (which acts like the #include directive but ensures that each referenced file is included only once per project.) Resources to learn Objective-C: http://tryobjectivec.codeschool.com/ http://cocoadevcentral.com/d/learn_objectivec/ http://www.tutorialspoint.com/objective_c/
@TechAtHeart No, but it is one of the main uses for it. You can program anything you want in any language if you're creative.
Good to know. I guess that is the beauty of programming. With enough determination and creativity you can create anything!
Is it only for Apple related programming?