Objective-C is an actively used programming language created in 1984.

35Years Old 252,646Users 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;
Edit

Last updated February 11th, 2019