Re: file references in CoreData

2008-10-30 Thread Georg Seifert
Many thanks for your replies. I will try out the aliases. Georg ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Re: file references in CoreData

2008-10-29 Thread Sean McBride
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

Re: file references in CoreData

2008-10-29 Thread Uli Kusterer
On 29.10.2008, at 09:59, Dirkjan Krijnders wrote: When using Leopard this is easy: you can store any data type in core data using the 'Transformable' type. Use this to store instances of NSURL that point to your files see http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Arti

Re: file references in CoreData

2008-10-29 Thread Paul Thomas
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 u

Re: file references in CoreData

2008-10-29 Thread I. Savant
On Wed, Oct 29, 2008 at 1:15 PM, Sean McBride <[EMAIL PROTECTED]> wrote: > Last I checked, BDAlias does not support garbage collection and 64bit, > which NDAlias does. Good catch. Looks like I might need to update my own code in the next few months. :-) -- I.S.

Re: file references in CoreData

2008-10-29 Thread Sean McBride
On 10/29/08 7:02 AM, I. Savant said: >> I need to store references to local files in CoreData. What is the >> best solution for this. Just now I use plain paths but there has to >> be a better way. > > I use the much-lauded BDAlias: > >http://eschatologist.net/bDistributed.com/index.html Anothe

Re: file references in CoreData

2008-10-29 Thread I. Savant
On Oct 29, 2008, at 4:44 AM, Georg Seifert wrote: I need to store references to local files in CoreData. What is the best solution for this. Just now I use plain paths but there has to be a better way. I use the much-lauded BDAlias: http://eschatologist.net/bDistributed.com/index.html

Re: file references in CoreData

2008-10-29 Thread Dirkjan Krijnders
Hi, When using Leopard this is easy: you can store any data type in core data using the 'Transformable' type. Use this to store instances of NSURL that point to your files see http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html for more information

file references in CoreData

2008-10-29 Thread Georg Seifert
hello, I’m very new to CoreData and can’t find anything on this: I need to store references to local files in CoreData. What is the best solution for this. Just now I use plain paths but there has to be a better way. Thanks Georg___ Cocoa-dev ma