I have my default initialiser:
- (id)init
{
if ((self = [super init]))
{
}
return self;
}
I have only included this method in my class to track whether it was performing it's job, and from what I can tell, it is.
Self is getting set,and in the console I can see that self has a memory address which is not 0x0000000. For example, here is the console from a run I just tried:
self IssueManager * 0x08383ad0
However, when the method returns self to this method:
- (id)initWithNibName:(NSString *)nibNameOrNil
bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self)
self.issueManager = [[IssueManager alloc] init];
return self;
}
self.issueManager remains an empty pointer:
_issueManager IssueManager * 0x00000000
I have no idea why this is the case, but would appreciate any help.