Xcodeでバインディングを使用する方法を理解しようとしています。私はこのクラスを持っています:
#import <Foundation/Foundation.h>
@interface OddsItem : NSObject {
NSMutableDictionary *properties;
}
@property(nonatomic, retain) NSMutableDictionary *properties;
@end
と
#import "OddsItem.h"
@implementation OddsItem {
}
@synthesize properties;
- (void)dealloc {
[properties release];
[super dealloc];
}
@end
これはKVCに準拠していますか?私が見つけた例は、合成されたプロパティの時代以前のもののようです。
KVCに準拠していない場合、そのために何をする必要がありますか?