5. マルチタスクだ!
NSThreadとか、dispatchなんとかとか…
•
•
もちろん、Cocoaにはいろんなメソッドがある
ドキュメントを見よう!
Grand Central Dispatch (GCD) Reference
•
•
13年9月6日金曜日
The BSD subsystem, CoreFoundation, and Cocoa APIs have
all been extended to use these enhancements to help both
the system and your application to run faster, more
efficiently, and with improved responsiveness.
GCD is not restricted to system-level applications, but
before you use it for higher-level applications, you should
consider whether similar functionality provided in Cocoa (via
NSOperation and block objects) would be easier to use or
more appropriate for your needs.