Category:Objective-C

From Rosetta Code
Revision as of 22:51, 2 November 2012 by rosettacode>MikeLorenz (Added paragraph at bottom about latest compiler (Clang), ARC, and other recent updates.)
Language
Objective-C
This programming language may be used to instruct a computer to perform a task.
Official website
Execution method: Compiled (machine code)
Garbage collected: Allowed
Parameter passing methods: By value
Type strength: Weak
Type expression: Explicit
Type checking: Static
See Also:
Listed below are all of the tasks on Rosetta Code which have been solved using Objective-C.

Objective-C is an object-oriented superset of the compatible with::C language. It mostly copies the message passing system from Smalltalk. It was popularized by NeXT, and then again by Apple Inc with Mac OS X and iOS to implement the Cocoa frameworks. Its main reference implementation is within the gcc compiler, maintained mostly by Apple.

As of October 2011, with the release of XCode 4.2, Apple switched from gcc to Clang as its default compiler. Clang/LLVM offers competitive execution times, better compile times, improved error messages, and supports a simpler alternative syntax for expressing NSArray & NSDictionary literals and indexing. In the same release Apple also introduced automatic reference counting (ARC) which eliminates the need to manually release/retain memory. With ARC the compiler reports an error any time it encounters a call to release, autorelease, retain, or dealloc.

Subcategories

This category has the following 3 subcategories, out of 3 total.

Pages in category "Objective-C"

The following 158 pages are in this category, out of 158 total.