All skills

Languages & Frameworks

Objective-C

Overview

Objective-C is a high-level general-purpose, object-oriented programming language that adds Smalltalk-style message passing (messaging) to the C programming language. Originally developed by Brad Cox and Tom Love in the early 1980s, it was selected by NeXT for its NeXTSTEP operating system. Due to Apple macOS’s direct lineage from NeXTSTEP, Objective-C was the standard language used, supported, and promoted by Apple for developing macOS and iOS applications from 1997, when Apple purchased NeXT, until the introduction of the Swift language in 2014.

Read more

How it works

objectivec
#import <Foundation/Foundation.h>

int main() {
    NSLog(@"Hello, World!");
    return 0;
}

The flow

Step by step, from source to running.

  1. 1Write .m / .h files
  2. 2Clang compiles to machine code
  3. 3Runtime dispatches messages
  4. 4Runs on iOS / macOS

Links

More in Languages & Frameworks