ABAddressBookRef
can only be accessed by one thread. I think a good model would be having a thread for ABAddressBookRef
in the background, besides the main thread.
How can I ensure that there's only one thread while using NSOperationQueue
? Simply setting max concurrency to 1 won't guarantee it to be run on the same thread.
Should I use other unique threads like web threads?