Re: iOS Simulator
Re: iOS Simulator
- Subject: Re: iOS Simulator
- From: Jens Alfke <email@hidden>
- Date: Mon, 08 Aug 2011 12:28:15 -0700
On Aug 8, 2011, at 12:08 PM, Brian Barnes wrote: What *is* it simulating when I select iPad. An iPad 1? iPad 2? Neither? Is it even attempting to be clock for clock, or just running with whatever speed your machine has? Is at attempting to run multiple threads ala an iPad 2? Force a single thread on iPad 1?
It’s not attempting to emulate the hardware at all. Think of it as a port of iOS running in a window on your Mac. It’s running x86 code (that’s why you have to compile separately for the simulator) directly on the CPU. A lot of the iOS APIs are just directly linked to (or thin wrappers around) the native Mac APIs like CoreFoundation, etc. Graphics are going to be drawn by CoreGraphics/Quartz just like an OS X app, i.e. using whatever GPU your Mac has.
Best to think of it as an entirely different iOS platform that can to some degree emulate the features of a mobile device, like the screen size.
—Jens |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden