• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CoreData - cannot load .sqlstore if path contains Alias folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Thu, 6 Sep 2007 00:29:26 +0100

> If you are storing a path in your user defaults it's possible that the
> user could replace a component with a Finder alias file; in that case,
> however, instead of a bare path you should really be storing an alias
> record (using BDAlias, NDAlias, or the like) in your user defaults.
> When you resolve that alias record to a path, the path will be fully-
> resolved and not one that tries to traverse Finder alias files.

Thanks for the detailed reply.  I think this was discussed before, but
just for clarification w/regards to BDAlias: if a user moves a
file/folder (which we have based a BDAlias upon and stored in
defaults), and in its original place creates a new file/folder with
the same name, which one will BDAlias resolve to, when restored from
defaults?  The original moved item, or the newly created one?  Does
BDAlias resolve a path first, and if invalid, then resolve its Alias
record?
_______________________________________________

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

  • Follow-Ups:
    • Re: CoreData - cannot load .sqlstore if path contains Alias folder
      • From: Chris Hanson <email@hidden>
References: 
 >CoreData - cannot load .sqlstore if path contains Alias folder (From: "Simon Liu" <email@hidden>)
 >Re: CoreData - cannot load .sqlstore if path contains Alias folder (From: Chris Hanson <email@hidden>)
 >Re: CoreData - cannot load .sqlstore if path contains Alias folder (From: "Simon Liu" <email@hidden>)
 >Re: CoreData - cannot load .sqlstore if path contains Alias folder (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Next by Date: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Previous by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Next by thread: Re: CoreData - cannot load .sqlstore if path contains Alias folder
  • Index(es):
    • Date
    • Thread