Objective-C header file not recognizing custom object as a type

后端 未结 3 1811
醉话见心
醉话见心 2020-12-05 10:35

I\'m working on a game for iPad using cocos2d which involves a board filled with different types of tiles. I\'ve created a custom class called Tile as a general

3条回答
  •  感情败类
    2020-12-05 10:53

    This may not be the problem, but what happens if you remove the "#import "Board.h"" from the Tile.h file. You might have a problem with circular referencing

提交回复
热议问题