Re: file references in CoreData
Re: file references in CoreData
- Subject: Re: file references in CoreData
- From: "Sean McBride" <email@hidden>
- Date: Wed, 29 Oct 2008 13:52:12 -0400
- Organization: Rogue Research
On 10/29/08 11:05 AM, Paul Thomas said:
>I'm currently working on a system that uses NDAlias (http://
>codebeach.org/code/show/34
>) in a CoreData store. It works pretty well in that the user can move
>the files around when the app isn't running and (so long as they stay
>on the same volume) it'll find them again when it wakes up.
>
>I'm using mogenerator (http://rentzsch.com/code/mogenerator), so I set
>the attribute to the 'Transformable' and add to the user info (in the
>user tab of the model editor the key: 'attributeValueClassName' and
>value: 'NDAlias'. I also had to modify the standard template to
>#import "NDAlias.h" which is a little hacky - but I didn't have time
>to follow it up.
We do exactly the same.
>P.S. if you use mogenerator and find an elegant fix for the missing
>header problem, please submit a patch to the author so we can all
>benefit.
We have submitted such a patch, but the author is busy of late, though
I'm confident he'll eventually incorporate it.
In the meantime, I suggest you import NDAlias.h into your prefix header,
that way you don't need to edit the machine files.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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