3 years ago
in English · 1,648 Views
likes 3clips 2comments 3
Programming Languages: Objective C
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/
csgeek clipped in 1 collections
Is it only for Apple related programming?
3 years ago·Reply
@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.
3 years ago·Reply
Good to know. I guess that is the beauty of programming. With enough determination and creativity you can create anything!
3 years ago·Reply