Always YES?

[NSThread isMultiThreaded]

always returns YES

for my iPhone app, both in the simulator and on the device, even if I run it in applicationDidFinishLaunching:

.

Was this expected?

(I'm using Snow Leopard if that matters).

+2
objective-c iphone


source to share


2 answers


Completely normal. This is almost always true for Mac applications, unless you create a command line application that doesn't use AppKit.



In particular, Core Animation, Core Audio, and maybe some other parts of Cocoa will generate background streams on your behalf.

+3


source to share


It seems that the layout and animation of the UIView layer is done on a thread (spawned by Cocoa).



+3


source to share







All Articles
Loading...
X
Show
Funny
Dev
Pics