The log lines that you see (and especially the ones that you do not see) indicate that _conosirDoc
is nil
- it has not been initialized: the only reason the saveData
would not log the unconditional "being called?"
is that saveData
is invoked on a nil
. In all other cases there would be at least that additional log line.
You need to add code that assigns an object to your _conosirDoc
variable to make it work:
_conosirDoc = [[ConosirDocType alloc] init];
Replace ConosirDocType
above with the actual type of _conosirDoc
.