Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In summary, in using the new Accounts framework you can provide your users with a single sign-on experience for system accounts, specifically the OAuth-based Twitter API. When used in combination, the Twitter and Accounts frameworks can significantly reduce the complexity of your applications by relying on native processes to handle various OAuth operations.
Remember that when working with the Accounts framework it’s very important to always monitor changes in your accounts database by observing the ACAccountStoreDidChangeNotification notification. If you receive this notification, assume that all of your ACAccounts and ACAccountStores need to be refreshed. Also, be prepared for conditions that the account you’re working with is the account that’s removed. Similarly, you should never attempt to use an ACAccount from one ACAccountStore to interact with another. Finally, remember that completion blocks will execute on an arbitrary thread, so any changes to the UI should be dispatched to the main queue.