receiver type *** for instance message is a forward declaration

转自:http://stackoverflow.com/questions/8815200/receiver-type-for-instance-message-is-a-forward-declaration

You're -init'ing an object without +alloc'ing it. That won't work
You're declaring an object as a non-pointer type, that won't work either
You're not calling [super init] in -init.

 

你可能感兴趣的:(instance)