찾다

 >  Q&A  >  본문

objective-c - self == [APLEvent class]有意思吗?

#import "APLEvent.h"
#import "APLPhoto.h"

#import "APLImageToDataTransformer.h"

@implementation APLEvent

@dynamic creationDate, latitude, longitude, thumbnail, photo;

+ (void)initialize {
    if (self == [APLEvent class]) {
        APLImageToDataTransformer *transformer = [[APLImageToDataTransformer alloc] init];
        [NSValueTransformer setValueTransformer:transformer forName:@"APLImageToDataTransformer"];
    }
}

@end
天蓬老师天蓬老师2764일 전496

모든 응답(0)나는 대답할 것이다

답장 없음
  • 취소회신하다