I have a class with below interface:
@interface MyData : NSObject
@property (readwrite, strong) NSString *urlToParse;
@property (readwrite, strong) MappingElement *titleElement;
- (instancetype)initWithPlist:(NSString *)plistPath;
Its implementation is like this:
-
On Oct 6, 2014, at 7:43 AM, Devarshi Kulshreshtha
devarshi.bluec...@gmail.com wrote:
Scenario 1: Do not initialize instance variables in initWithPlist method
In this case if I try to log class of key in setValue:forKey method,
it prints nil
That doesn't make any sense — it's illegal to
Scenario 1: Do not initialize instance variables in initWithPlist method
In this case if I try to log class of key in setValue:forKey method,
it prints nil
That doesn't make any sense — it's illegal to pass a nil key to
setValue:ForKey:. Who is calling this method?
This method is
On Oct 6, 2014, at 10:12 AM, Devarshi Kulshreshtha
devarshi.bluec...@gmail.com wrote:
Scenario 1: Do not initialize instance variables in initWithPlist method
In this case if I try to log class of key in setValue:forKey method,
it prints nil
That doesn't make any sense — it's