• 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
resolving alias
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

resolving alias


  • Subject: resolving alias
  • From: "Jan E. Schotsman" <email@hidden>
  • Date: Wed, 22 Jul 2015 15:14:21 +0200

Hello,

I am converting a Carbon program.
When resolving an alias, it t really necessary to call URLByResolvingSymlinksInPath first or is this just defensive coding?

Second problem: if I do this:

options = NSURLBookmarkResolutionWithoutUI | NSURLBookmarkResolutionWithoutMounting

fileObject = NSURL.URLByResolvingBookmarkData( bookmarkData,
options:options, relativeToURL:nil, bookmarkDataIsStale:&isStale, error:&err )

I get this message from the analyzer: Use of unresolved identifier NSURLBookmarkResolutionWithoutMounting

These BookmarkResolution options constants seem to have disappeared. What is the recommended code path these days?

Jan E.

Xcode 6.3
_______________________________________________

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: resolving alias
      • From: "Jan E. Schotsman" <email@hidden>
    • Re: resolving alias
      • From: Roland King <email@hidden>
  • Prev by Date: Re: Dubrovnik Sucesss!
  • Next by Date: Re: resolving alias
  • Previous by thread: Re: Dubrovnik Sucesss!
  • Next by thread: Re: resolving alias
  • Index(es):
    • Date
    • Thread