/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// SomeClass.h #import <Foundation/Foundation.h> int mynumber; NSString *mystring; } @property(readwrite/readonly, assign/retain/copy, nonatomic) int mynumber; @end // SomeClass.m #import "SomeClass.h" @implementation SomeClass @synthesize mynumber, mystring; @end