Re: CoreData - cannot load .sqlstore if path contains Alias folder
Re: CoreData - cannot load .sqlstore if path contains Alias folder
- Subject: Re: CoreData - cannot load .sqlstore if path contains Alias folder
- From: "Simon Liu" <email@hidden>
- Date: Wed, 5 Sep 2007 20:20:47 +0100
Chris,
Is there a quick way to resolve all the aliases in a given path,
checking all path components? Any 3rd party classes? I could write
some code using FSResolveAliasFile() but I imagine somebody has
already done this...
BTW: I tried BDAlias -initWithPath: and that fails - I guess it needs
a fully resolved posix path?
--Simon
> This has nothing to do with Core Data. Finder aliases are not
> resolved automatically in the same way that symbolic links are; they
> need to be resolved manually using the Carbon File Manager. This is
> not normally a problem as only manually-typed paths are likely to
> contain elements that are Finder aliases; paths returned by
> NSOpenPanel or NSSavePanel won't.
>
> -- Chris
>
>
_______________________________________________
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