Open
Description
I have the following initialiser in a class:
objection_initializer(initWithComms:)
-(instancetype) initWithComms:(Comms *) commsX {
self = [super init];
if (self) {
_comms = commsX;
}
return self;
}
However when I run the code the commsX argument is nil. I've tried to follow the Objection code and it appears that it is building an instance of the Comms object and putting it into it's context. However it's not passed through to the code that actually creates the instance of this code.
Am I doing anything wrong? I found the sample code on the Objection website rather difficult to follow :-(
Metadata
Metadata
Assignees
Labels
No labels