Difference between revisions of "Objective-C"

From GNUstepWiki
Jump to navigation Jump to search
(www.objc.info no longer exists, removed from list.)
(Some more informative text, link to Wikipedia)
Line 1: Line 1:
Objective-C consists of a set of object-oriented extensions to the C language, featuring things like dynamic binding and a powerful runtime system. That makes Objective-C a superset of C. It is the main  programming language used to program with GNUstep.
+
'''Objective-C''' is a reflective, object-oriented programming language that adds [[Smalltalk]]-style [[Message|messaging]] to C.
  
Objective-C was created by [http://virtualschool.edu/cox/ Brad Cox].
+
It is a very "thin" layer on top of C, which makes Objective-C a strict superset of C. That means it is possible to compile any C program with an Objective-C compiler -- something that cannot be said of C++ ...
  
 +
Objective-C derives its syntax from both C and Smalltalk. Most of the syntax (including preprocessing, expressions, function declarations and function calls) is inherited from C, while the syntax for object-oriented features was created to enable Smalltalk-style message passing.
  
Some resources:
+
== Some Resources ==
# Apple Site: [http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ The Objective-C Programming Language]
+
# [http://en.wikipedia.org/wiki/Objective-C Objective-C] on Wikipedia
 +
# [http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ The Objective-C Programming Language]
 
# [http://www.toodarkpark.org/computers/objc/ Object-Oriented Programming and the Objective-C Language]
 
# [http://www.toodarkpark.org/computers/objc/ Object-Oriented Programming and the Objective-C Language]
 
# [http://www.faqs.org/faqs/computer-lang/Objective-C/faq/ Objective-C FAQ]
 
# [http://www.faqs.org/faqs/computer-lang/Objective-C/faq/ Objective-C FAQ]

Revision as of 17:53, 8 September 2006

Objective-C is a reflective, object-oriented programming language that adds Smalltalk-style messaging to C.

It is a very "thin" layer on top of C, which makes Objective-C a strict superset of C. That means it is possible to compile any C program with an Objective-C compiler -- something that cannot be said of C++ ...

Objective-C derives its syntax from both C and Smalltalk. Most of the syntax (including preprocessing, expressions, function declarations and function calls) is inherited from C, while the syntax for object-oriented features was created to enable Smalltalk-style message passing.

Some Resources

  1. Objective-C on Wikipedia
  2. The Objective-C Programming Language
  3. Object-Oriented Programming and the Objective-C Language
  4. Objective-C FAQ