久しぶりに、Objective-C の勉強。はっきり言って基本すら忘れてます。
sample.h
[c]
@interface クラス名 : 親クラス
{
}
@property プロパティ型 プロパティ名
@end
[/c]
sample.m
[c]
@implmentation クラス名
@synthesize プロパティ名;
//メソッド実装
@end
[/c]
久しぶりに、Objective-C の勉強。はっきり言って基本すら忘れてます。
sample.h
[c]
@interface クラス名 : 親クラス
{
}
@property プロパティ型 プロパティ名
@end
[/c]
sample.m
[c]
@implmentation クラス名
@synthesize プロパティ名;
//メソッド実装
@end
[/c]