Re: Core Data and Document Packages
Re: Core Data and Document Packages
- Subject: Re: Core Data and Document Packages
- From: Tim Perrett <email@hidden>
- Date: Fri, 13 Jul 2007 10:16:16 +0100
Hey Sergio
I found the problem in my code, so now it saves, save as etc etc and
re-opens :)
I followed your example but in my recent menu items i still see
"data.xml" - im guessing I need to write some code to strip off the "/
data.xml" part of the url string in
NSDocumentController::packageURLFromDataStoreURL(url) ?
Are you just using some kind of string manipulation to do that?
Thanks
Tim
On 12 Jul 2007, at 16:14, sergio wrote:
If you have more troubles, if you like, you can send me your code, so
that I take a look at it... in my case, I can create a new document
and
save it as many times as I need (there used to be problems with the
second save), open a document and edit/save it at will, revert a
document, and save as. Thanks to a reader of my blog I also discovered
that this solution is resilient to moving the package around while
it is
being edited -- and this actually surprised me a lot... now, it
would be
even more surprising discovering that it works only on my system
(which
could perfectly be the case)... :-)
_______________________________________________
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