On 15 Jan 2015, at 22:04, Steffen Andersen <i...@me.com> wrote: > I am currently working on a MacOSX app, where the user will be able to send > mails generated based on different user input. To help the user, when > writing an email address, it would be great, if it was possible to search in > the previous recipients list/db Mail uses. As not all emails will be in the > users Contacts. > From a bit of search I’ve located the previous recipients list/db > ~/Library/Containers/com.apple.corerecents.recentsd/Data/Library/Recents/Recents > and it seems to be a sqlite. Is there any issues accesses it from with in an > app, if I want to launch the app to AppStore?
Others have mentioned that Sandboxing won't let you access that file. Apart from that, it's a bad idea. Apple may, at any time, change the schema of the SQLite database. At best, your app will autocomplete user names into e-mail address fields instead of the addresses, at worst you'll crash. In general, it's not a good idea to just access other apps' files, unless you have talked to the authors and they're willing to supoort you. It's not a reliable mechanism, and you wouldn't want to sell your users unreliable software. -- Uli _______________________________________________ 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