Posts tagged ·

XCode

·...

Xcode 4.01

no comments

The new Xcode is available…but…you have to pay for it now.  $4.99 in the Mac App Store or be a paying member of the iOS or Mac Developer program.  I am a bit…disappointed. Well, java is still free. Isn’t it.  Oracle?  Are you listening?  Android?

 

iOS 4.3 SDK is new

no comments

Xcode 3.2.6 and iOS SDK 4.3 Here we go again with the huge download.  😉  4.14 GB.

 

iOS 4.2 SDK is available now

no comments

At the Apple developer site.  That’s ….

Yes, I know I’m a little late with this.

another update

no comments

Dev Tools are updated again for iPhone iOS 4.02.  I wish we didn’t have to download the whole thing (2.49GB) every time there is an update.  I suppose I should get a get a fast internet connection….

rotating

no comments

To get the HelloWorld to autorotate is just too simple.  Update the xxxxViewController.m and uncomment the shouldAutorotateToInterfaceOrientation method, and have it return a YES value.


// Override to allow orientations other than the default portrait orientation. –
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
// Return YES for supported orientations
return (YES); }

But, then, rotated, things aren’t centered properly:

iPad uncentered after autorotate

iPad uncentered after autorotate

so, fixing that will be the next thing I suppose.

I like O’Reilly books….

new xcode

no comments

The iPhone simulator that comes with the new version of the XCode SDK (3.2.3) seems to work much better.  I spent quite a bit of time trying to figure out why the HelloWorld app behaved correctly in iPhone simulation but was not quite the same in the iPad simulation.  Now they act the same and in the expected manner.

Nr. 1 simulating iPhone

no comments

Found the answer to my simulator question, how to get Xcode to launch the simulator in iPhone mode instead of iPad mode for a universal app. See here.

  1. Build your application for the Simulator 3.2 SDK. Just build (⌘B) it, not ‘build and run’.
  2. Change your target SDK to ‘Simulator – 3.0’.
  3. Run (⌘⌥R) or Debug (⌘⌥Y) your application.

A bit of a kludge, but thanks Alan, this seems to work.

Did you want to buy an iPad?   [amazonify]B00365F6G4[/amazonify]

Nr. 1

no comments

Write your first iPod app: article

HelloWorld sample app on iPhone simulator

Hello You?

Being me, I had to do a little extra just to stress myself.  I made HelloWorld a “universal” app–which means it should work on the iPhone (and iPod Touch) as well as the iPad.  I used two nibs.  Build and Run always seems to bring up the iPad view in the simulator–have to figure out how to get it to run the iPhone.

It occurs to me that one of the reasons Apple is so successful is due to the very large amount of developer documentation available. IBM and Microsoft are/were pretty good at that too. It’s a monumental task to keep documentation up to date. So much of what is in the Apple OS dates back to NeXT which starting in 1985. ( Wikipedia article).

XCode

no comments

I had already installed the Mac OS X Developer Tools (a.k.a. XCode Tools) when I upgraded to Snow Leopard on my Mac Book Pro because I like to have current c compilers & such.  I never really used XCode, however, and the Tools didn’t include the iPhone SDK.  So I downloaded a more current one, Xcode 3.2.2 and iPhone SDK 3.2 (~2.3GB), which includes support for developing iPad apps as well as iPhone apps and includes a software emulator of the iPhone/iPad environment.  The iPad emulation doesn’t really fit on my MBPs 15 inch screen too well, but that’s OK.

Switch to our desktop site