Why is NSDocument reverting so rudimentary?
Why is NSDocument reverting so rudimentary?
- Subject: Why is NSDocument reverting so rudimentary?
- From: Markus Spoettl <email@hidden>
- Date: Tue, 24 Jul 2012 20:13:28 +0200
Hello,
more out of curiosity, I wonder why document reverting does not provide the
same level of abstraction loading and writing does? There's only
-revertToContentsOfURL:::. By contrast I can load and write documents by using
abstract -readFromData::: and -dataOfType:: or -readFromFileWrapper::: and
-fileWrapperOfType:: methods and leave the actual file OS interaction to
NSDocument. I basically don't have to care where it comes from or where it goes
to. Wonderful!
Am I overlooking something?
Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden