views:

77

answers:

2

I've been working on an iPhone app which uses Core Data and I would like to use NSPersistentDocument if I can. I keep seeing discussions about using NSPersistentDocument in iPhone apps but no mention of which iPhone Framework defines NSPersistentDocument?

+1  A: 

It's in the AppKit Framework.

http://developer.apple.com/mac/library/documentation/cocoa/reference/ApplicationKit/Classes/NSPersistentDocument_Class/Reference/Reference.html

Aaron
Note that AppKit is not available on the iPhone.
Kristopher Johnson
Good point. I missed that.
Aaron
+5  A: 

NSPersistentDocument is only available for Mac OS X. It's not available in iPhone OS.

Kristopher Johnson