objective-c - self == [APLEvent class]有意思吗?
天蓬老师
天蓬老师 2017-04-26 09:01:56
0
0
495
#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
天蓬老师
天蓬老师

欢迎选择我的课程,让我们一起见证您的进步~~

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template