← All Languages

Objective-C

A Superset of C

First appeared: 1984Designed by: Brad Cox, Tom Love

The original Apple platform language that added Smalltalk-style messaging to C, used for macOS and iOS development before Swift.

Links

Paradigm

OOPProcedural

Hello, World

#import <Foundation/Foundation.h>

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

About

Created by Brad Cox and Tom Love in the early 1980s. Licensed by NeXT in 1988, then acquired by Apple in 1997. Effectively succeeded by Swift in 2014.

Type system: Static

Ecosystem

Package Managers
CocoaPodsCarthageSwift Package Manager
Frameworks
CocoaUIKitAppKit

Learning Resources

Apple Objective-C Guide