I haven’t seen any crashes like that, but a few weeks ago, while “modernizing" 
an app, migrating from the old Alias Manager functions to the newer NSURL 
bookmarks, I learned something interesting.

When I tried to resolve an alias which was on a previously-mounted but 
currently-unreachable volume, +[NSURL 
URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:] 
returned errors in the NSOSStatusErrorDomain, with localized description ending 
in "Function=FSResolveAlias".  And it also blocked the thread for 30 seconds, 
before displaying a confusihg modal alert to the user, just like 
FSResolveAlias() does.

So, although there are some additional bits in the typical alias data, it looks 
like NSURL bookmarks are based on the old Alias Manager.


_______________________________________________

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

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to