views:

131

answers:

2

[NSThread isMultiThreaded] always returns YES for my iPhone application, both in simulator and on the device, even if I run it first thing in applicationDidFinishLaunching:.

It this expected?

(I'm using Snow Leopard, if it makes a difference).

+3  A: 

It seems that UIView layer compositing and animation is done in a thread (spawned by Cocoa).

Nikolai Ruhe
+3  A: 

Totally normal. It's almost always true for Mac apps as well, unless you create a command-line application that doesn't use AppKit.

In particular, Core Animation, Core Audio, and possibly some other parts of Cocoa will spawn background threads on you behalf.

Mark Bessey