开发者

BNRPersistence on the iPhone, and NSDocument

I'm trying to get BNRPersistence running in an iPhone app, but I'm having a problem that I have no id开发者_StackOverflow社区ea how to solve. Keep in mind I'm relatively new to iPhone dev.

The problem is that BNRStoreDocument subclasses NSDocument, which exists in the Cocoa framework and thus isn't available on the iPhone. So obviously I'm getting compile errors that it can't find NSDocument. The developer of BNRPersistence states that it works on the iPhone, so I'm sure there a solution, I just don't what it is.

Any help would be greatly appreciated!


The iphone Demo project does not have BNRStoreDocument in it but just BNRStore. I think is reasonable to assume that BNRStoreDocument is only available when running under Cocoa on a Mac OS X.

The BNRStore is an analog of NSPersistantStore. I'm pretty sure that's what you should be using on the iPhone.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜