Objective-C is an actively used programming language created in 1984. Objective-C is a general-purpose, object-oriented programming language that adds Smalltalk-style messaging to the C programming language. It was the main programming language used by Apple for the OS X and iOS operating systems, and their respective application programming interfaces (APIs) Cocoa and Cocoa Touch prior to the introduction of Swift. The programming language Objective-C was originally developed in the early 1980s. Read more on Wikipedia...

35Years Old 237,996Users 4,324Jobs

Example code from the Hello World Collection:

/* Hello World in Objective-C.
** Since the standard implementation is identical to K&R C,
** a version that says hello to a set of people passed on
** the command line is shown here.
*/

#include <stdio.h>
#include <objpak.h>
int main(int argc,char **argv)
{
    id set = [Set new];
    argv++;while (--argc) [set add:[String str:*argv++]];
    [set do:{ :each | printf("hello, %s!\n",[each str]); }];
    return 0;
}

Example code from Linguist:

#import "Foo.h"


@implementation Foo

@end

Example code from Wikipedia:

-(void) firstLabel: (int)param1 secondLabel: (int)param2;

Last updated July 22nd, 2019