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

Re: resolving alias


  • Subject: Re: resolving alias
  • From: Roland King <email@hidden>
  • Date: Wed, 22 Jul 2015 21:38:05 +0800

> On 22 Jul 2015, at 21:14, Jan E. Schotsman <email@hidden> wrote:
>
> 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.
>

If the constants had disappeared it wouldn’t compile. Those constants are alive, well, kicking and not deprecated. I have no idea what the analzyer is whining about.


_______________________________________________

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


References: 
 >resolving alias (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: resolving alias
  • Next by Date: AudioQueueDispose delay
  • Previous by thread: resolving alias
  • Next by thread: Re: resolving alias
  • Index(es):
    • Date
    • Thread