Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Obj C Program Structure
#import <Foundation/Foundation.h> @interface SampleClass:NSObject - (void)sampleMethod; @end @implementation SampleClass - (void)sampleMethod{ NSLog(@"Hello, World! \n"); } @end int main() { /* my first program in Objective-C */ SampleClass *sampleClass = [[SampleClass alloc]init]; [sampleClass sampleMethod]; return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Strings
objective c find factorial
shape example
PRogram 3.2 - simple class
Objective C NSSet Declaration
Class implementation using get method
geomatric operations in objective c
arary
Objective C NSSet Declaration
NSString Examples in one
Please log in to post a comment.