Funny bug from XCode and objective-c …
** warning: initialization from distinct Objective-C type **
For the following block of code:
// Quiz *qz = [[Quiz alloc] initFromDict: qdata]; Quiz *quiz = [Quiz alloc]; [quiz initFromDict: qdata];
From what I’ve read I ended up with the uncommented code as the operational code, since it implies that something bad will happen… Before you ask “initFromDict” returns a (Quiz *) object..