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.

 

posted on 2014-03-28 16:00  王培  阅读(519)  评论(0编辑  收藏  举报

导航