NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
NSString *documentsDirectory = [paths objectAtIndex:0];
NSString *path = [[NSBundle mainBundle] pathForResource:name ofType:@"png"];
NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:name ofType:@"png"];
#pragma mark KVO걷어 내기 위해서, 가로 채서, Caller Log 찍기 위해 Override
- (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context {
NSLog(@"===================");
NSLog(@"[KVO Register] caller Class = %@", [observer class]);
NSLog(@"===================");
[super addObserver:observer forKeyPath:keyPath options:options context:context];
}
-(id) initWithImageName:(NSString *) imageName __attribute__((deprecated));
-(id) initWithImageName:(NSString *) imageName withEditing:(BOOL) aEditing DEPRECATED_ATTRIBUTE;