How can I determine if Apple methods are asynchronous?

前端 未结 1 1552
太阳男子
太阳男子 2020-11-27 22:11

I\'m binding an NSArrayController to a managedObjectContext with mainQueueConcurrency.

All that I want is to do is modify the sort properties the arrangedObjects wit

相关标签:
1条回答
  • 2020-11-27 22:49

    I was able to catch rearrangeObjects invoking dispatch_async_f (through bindings) by breaking just before the suspect line of code and enabling symbolic breakpoints on the GCD dispatch_async functions:

    symbolic breakpoints on dispatch_async*

    And, sure enough, the dispatch_async_f symbolic breakpoint stopped on the rearrangeObjects line:

    breakpoint activated on rearrangeObjects

    0 讨论(0)
提交回复
热议问题