Skip to content

tewha.net

Mostly about iOS software development.

Tag archives: NSThread

Check your thread

When you start using Grand Central Dispatch or NSOperation, you’ll want to perform some actions on the main thread and some intentionally off the main thread. This is a simple and obvious technique, but it took me a while to adopt it: You can do by asserting with NSAssert or NSCAssert for [NSThread isMainThread], just […]

Posted bySteve2013-03-062019-10-28Posted inTechnologyTags: Debugging, iOS Development, NSThread, OS X Development

Archives

tewha.net, Proudly powered by WordPress.