Block_release deallocating UI objects on a background thread

后端 未结 3 1967
滥情空心
滥情空心 2020-12-03 17:33

One of the patterns presented at the WWDC 2010 \"Blocks and Grand Central Dispatch\" talk was to use nested dispatch_async calls to perform time consuming tasks on a backgro

3条回答
  •  青春惊慌失措
    2020-12-03 18:00

    In a thread, I just use [viewController retain]; then at the end of the thread use [viewController release]. It works and I don't use GCD~

提交回复
热议问题