Objective-C

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Category:Apple)
 
(4 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|subcat=Programming Languages
 
|subcat=Programming Languages
 
|extensions={{ext|m}}, {{ext|mm}}, {{ext|h}}
 
|extensions={{ext|m}}, {{ext|mm}}, {{ext|h}}
 +
|mimetypes={{mimetype|text/x-objcsrc}}
 
|released=1983
 
|released=1983
 
}}
 
}}
 
 
'''Objective-C''' is a programming language based on [[C]], with influences from [[Smalltalk]]. It is object-oriented, featuring message-passing between objects and reflective querying of an object to discover its capabilities. It has no standard library (unlike C), but uses various system-specific frameworks (such as Apple's Cocoa).
 
'''Objective-C''' is a programming language based on [[C]], with influences from [[Smalltalk]]. It is object-oriented, featuring message-passing between objects and reflective querying of an object to discover its capabilities. It has no standard library (unlike C), but uses various system-specific frameworks (such as Apple's Cocoa).
  
Objective-C was developed in the early 1980s at a company called Stepstone, and adopted in the late part of that decade by NeXT (founded by Steve Jobs when he left Apple) as the main language used for the [[NeXTstep]] operating system. When Jobs returned to Apple and merged NeXT into that company, it became a major language for Mac [[OS X]] development, and eventually the official language for [[iOS]] development as well.
+
Objective-C was developed in the early 1980s at a company called Stepstone, and adopted in the late part of that decade by NeXT (founded by Steve Jobs when he left Apple) as the main language used for the [[NeXTstep]] operating system. When Jobs returned to Apple and merged NeXT into that company, it became a major language for Mac [[OS X]] development, and eventually the official language for [[iOS]] development as well, until [[Swift]] was released in 2014 as a new iOS/OS X language.
 +
 
 +
[[C++]] and [[C Sharp|C#]] take different approaches to object-oriented C. Objective-C's syntax uses square brackets to invoke a method of a class, a syntax not found in those other languages, though the more widely-used "dot" syntax of following an object name with an attribute is also used.
  
 
== References ==
 
== References ==
* [http://en.wikipedia.org/wiki/Objective-C Objective-C (Wikipedia)]
+
* [[Wikipedia:Objective-C|Objective-C (Wikipedia)]]
* [https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html Apple's Objective C developer docs]
+
* [https://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/ObjectiveC/Introduction/introObjectiveC.html Apple's Objective-C developer docs]
 
* [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]
 +
 +
[[Category:Apple]]

Latest revision as of 02:13, 30 December 2014

File Format
Name Objective-C
Ontology
Extension(s) .m, .mm, .h
MIME Type(s) text/x-objcsrc
Released 1983

Objective-C is a programming language based on C, with influences from Smalltalk. It is object-oriented, featuring message-passing between objects and reflective querying of an object to discover its capabilities. It has no standard library (unlike C), but uses various system-specific frameworks (such as Apple's Cocoa).

Objective-C was developed in the early 1980s at a company called Stepstone, and adopted in the late part of that decade by NeXT (founded by Steve Jobs when he left Apple) as the main language used for the NeXTstep operating system. When Jobs returned to Apple and merged NeXT into that company, it became a major language for Mac OS X development, and eventually the official language for iOS development as well, until Swift was released in 2014 as a new iOS/OS X language.

C++ and C# take different approaches to object-oriented C. Objective-C's syntax uses square brackets to invoke a method of a class, a syntax not found in those other languages, though the more widely-used "dot" syntax of following an object name with an attribute is also used.

[edit] References

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox