Re: LSSharedFIleList API deprecated
Re: LSSharedFIleList API deprecated
- Subject: Re: LSSharedFIleList API deprecated
- From: Greg Weston <email@hidden>
- Date: Wed, 09 Dec 2015 13:12:05 -0500
> I opened a radar a while back and got this answer:
>
> "Shared file lists are no longer supported. There is no exact replacement API.”
> “If you want to manage your recent documents list, you should use NSDocumentController."
> “If you want to run a background tool independent of your main application, you should use a Launch Agent."
>
> My application already uses NSDocumentController; however, there is no means to remove a recent item from the list and my application uses LSSharedFileListItemRemove. I updated the radar with the need to remove recent items. No word yet.
> —kevin
While not optimal, I would imagine this could be accomplished with a combination of recentDocumentURLs, clearRecentDocuments: and noteNewRecentDocumentURL:.
Greg
_______________________________________________
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