AppleInsider AppleInsider Forums


Go Back   AppleInsider > iPhone
Register Members List New Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 03-27-2008, 03:36 PM   #1
AppleInsider
Kasper's Automated Slave
 
Join Date: Nov 1997
Posts: 6,166
Apple releases second beta version of iPhone SDK

Apple on Thursday released a new version of its iPhone software developers kit (SDK) that allows third parties to develop applications for the iPhone and iPod touch digital media player.

"The second beta version of the iPhone SDK includes Interface Builder, Xcode IDE, Instruments, iPhone simulator, frameworks and samples, compilers, and Shark analysis tool," the company said on its iPhone developer website.

Thus far, the most significant changes appear to be the inclusion of a version of Interface Builder tailored specifically for the iPhone, as well as beta 2 of Apple's proprietary Xcode 3.1 integrated developer environment (IDE), which also serves as the primary IDE for Mac OS X-based application development.

For those unaware, Apple describes Interface Builder as an application for designing and testing user interfaces.

"Developers can use Interface Builder to create user interfaces that follow the Mac*OS*X human-interface guidelines by dragging user-interface elements from a palette of predefined controls and dropping them into the window or view they are configuring," the company says. "Interface Builder works closely with Xcode to provide a development experience that facilitates the concurrent but specialized development of an application's user interface and business logic."



The initial beta version of the iPhone SDK was released three weeks ago. It saw over 100,000 downloads from prospective developers and curious enthusiasts in its first four days.

Apple plans to release a finalized version of the SDK, along with iPhone software v2.0, in the June timeframe.
AppleInsider is offline   Reply With Quote
Old 03-27-2008, 04:01 PM   #2
hypermark
Registered User
 
Join Date: Jan 2008
Posts: 119
Definitely interested in feedback from members of the board as to the utility of the Interface Builder. My past experience dealing with Sun's bean box model was that you could build sexy demo-ware but it was pretty useless for real, compelling differentiated applications.

I am guessing that that won't be the case here but interested in hearing from developers as they use it.

Regards,

Mark
--
My Blog: www.thenetworkgarden.com
hypermark is offline   Reply With Quote
Old 03-27-2008, 04:30 PM   #3
melgross
Global Moderator
 
Join Date: Sep 2004
Location: NYC
Posts: 19,612
Well, this should answer the person who I and others were arguing with about the SDK.

Yes, it is a beta. And, yes, Apple will be adding features. And, yes, you will be able to get them.
melgross is offline   Reply With Quote
Old 03-27-2008, 05:08 PM   #4
Booga
Registered User
 
Join Date: Jun 2003
Location: Tinton Falls, NJ
Posts: 702
Quote:
Originally Posted by hypermark View Post
Definitely interested in feedback from members of the board as to the utility of the Interface Builder. My past experience dealing with Sun's bean box model was that you could build sexy demo-ware but it was pretty useless for real, compelling differentiated applications.

I am guessing that that won't be the case here but interested in hearing from developers as they use it.

Regards,

Mark
--
My Blog: www.thenetworkgarden.com
I'll download it when I get a chance, but in general Interface Builder has been the shining star of NeXT and now MacOS X software development. Unlike XCode/Project Builder, it's always been a best-of-breed tool. I have high hopes for its applicability to the iPhone/iTouch.
Booga is offline   Reply With Quote
Old 03-27-2008, 05:13 PM   #5
mbene12
Registered User
 
Join Date: Jan 2008
Posts: 32
Quote:
Unlike XCode/Project Builder
I dont do Mac specific code atm, but is there some other development environment that is better for Mac devs?
mbene12 is offline   Reply With Quote
Old 03-27-2008, 05:52 PM   #6
stevetim
Registered User
 
Join Date: Jan 2008
Posts: 87
I have a great idea for an iphone app, but gave up after it took me 3 hours to put 4 stupid buttons properly on the iphone using their UIKit framework. Now that I can drag and drop ... I look forward to getting back to real coding and letting interface building take care of the look and feel of the app.
stevetim is offline   Reply With Quote
Old 03-27-2008, 06:12 PM   #7
Feynman
Registered User
 
Join Date: Oct 2005
Posts: 614
Thumbs up

Quote:
Originally Posted by mbene12 View Post
I dont do Mac specific code atm, but is there some other development environment that is better for Mac devs?
As Booga said above you, Apple's development tools are best in breed.

Download OmniGraffle to get a great example of how beautiful a 100 % native Mac OS X application (Cocoa/Objective C). That or, Delicious Library.

Developers for Windows cannot even come close to this type of beauty.

And now, these same amazing tools come to the iPhone.

I can't wait!
Feynman is offline   Reply With Quote
Old 03-27-2008, 06:20 PM   #8
hypermark
Registered User
 
Join Date: Jan 2008
Posts: 119
Quote:
Originally Posted by Booga View Post
I'll download it when I get a chance, but in general Interface Builder has been the shining star of NeXT and now MacOS X software development. Unlike XCode/Project Builder, it's always been a best-of-breed tool. I have high hopes for its applicability to the iPhone/iTouch.
Thanks a bundle, Booga. That is good to hear at least as far as knee jerk goes. Would love to get read better read as you actually use it.

Cheers,

Mark
hypermark is offline   Reply With Quote
Old 03-27-2008, 08:23 PM   #9
EagerDragon
Registered User
 
Join Date: Feb 2007
Posts: 318
Quote:
Originally Posted by mbene12 View Post
I dont do Mac specific code atm, but is there some other development environment that is better for Mac devs?
Xcode is the only dev environment for Macs. There used to be others, but everyone moved to Xcode when Apple changed to Intel.
When ready, just sign up for it and you will get it for free including full documentation for every single API and you can also use it to develop for the iPhone.
EagerDragon is offline   Reply With Quote
Old 03-27-2008, 08:55 PM   #10
NasserAE
Registered User
 
Join Date: Jan 2008
Location: USA
Posts: 1,069
Quote:
Originally Posted by mbene12 View Post
I dont do Mac specific code atm, but is there some other development environment that is better for Mac devs?
RealBasic can be used to develop windows, mac, and Linux applications. Not as powerful as Xcode though.


Nasser
NasserAE is offline   Reply With Quote
Old 03-27-2008, 10:04 PM   #11
stevetim
Registered User
 
Join Date: Jan 2008
Posts: 87
Well apple it is a good start, but not good enough. I'll wait for next version. Basically app builder gives you only a few controllers, but not the ones I need. Such as flip switch and the rotating wheel.

Text field and label and basic rect button nice, along with table viewer. Table view cell is also handy. But the problem is if you don't have the controllers you need, you can't use the interface builder to set up all the bindings. So for my app that I'm writing now, I can't use it yet.
stevetim is offline   Reply With Quote
Old 03-28-2008, 12:19 AM   #12
theapplegenius
Registered User
 
Join Date: May 2005
Location: Chicago, IL
Posts: 584
It's unstable to the point of uselessness.

Shouldn't have been released.


"Humankind -- despite its artistic pretensions, its sophistication, and its many accomplishments -- owes its existence to a six-inch layer of topsoil and the fact that it rains."
theapplegenius is offline   Reply With Quote
Old 03-28-2008, 01:34 AM   #13
winterspan
Registered User
 
Join Date: Jun 2007
Location: Boise, ID among others
Posts: 529
Quote:
Originally Posted by EagerDragon View Post
Xcode is the only dev environment for Macs. There used to be others, but everyone moved to Xcode when Apple changed to Intel.
What about Eclipse with a Cocoa plugin? Does something like that exist? also, have you had any experience with Mono and/or Cocoa-# (sharp) ? Is there an IDE for Mono C#/Cocoa#?
winterspan is offline   Reply With Quote
Old 03-28-2008, 09:52 AM   #14
asdasd
Registered User
 
Join Date: Jun 2003
Posts: 68
Quote:
Text field and label and basic rect button nice, along with table viewer. Table view cell is also handy. But the problem is if you don't have the controllers you need, you can't use the interface builder to set up all the bindings. So for my app that I'm writing now, I can't use it yet.
As far as I know there will be no bindings in the iPhone. From what I saw in the UIKit you can position butons fairly easily anyway - on the toolbar, on the tabbar - by setting a position property. I dont see why I would need interface builder for the simple table view , maybe for the second view it would make sense. I havent see if they have updated any sample code to use this.

Quote:
It's unstable to the point of uselessness.

Shouldn't have been released.
I am getting weirdness too, not only that but they changed API names etc.
asdasd is offline   Reply With Quote
Old 03-28-2008, 03:55 PM   #15
DaveGee
Registered User
 
Join Date: Nov 2001
Posts: 2,073
Quote:
Originally Posted by asdasd View Post
I am getting weirdness too, not only that but they changed API names etc.
WAIT HOLD THE PRESSES...

weirdness, bugginess AND API changes?!?!?!

You'd think this was bleeding edge beta-prerelease stuff or something?!?!

Dave


Thank you for a funky time, call me up whenever you wanna grind...
DaveGee is offline   Reply With Quote
Old 03-28-2008, 10:27 PM   #16
stevetim
Registered User
 
Join Date: Jan 2008
Posts: 87
Quote:
Originally Posted by asdasd View Post
As far as I know there will be no bindings in the iPhone. From what I saw in the UIKit you can position butons fairly easily anyway - on the toolbar, on the tabbar - by setting a position property. I dont see why I would need interface builder for the simple table view , maybe for the second view it would make sense. I havent see if they have updated any sample code to use this.



I am getting weirdness too, not only that but they changed API names etc.
Yes this is acting very different compared to the Interface builder for mac apps.
stevetim is offline   Reply With Quote
Old 03-28-2008, 11:02 PM   #17
melgross
Global Moderator
 
Join Date: Sep 2004
Location: NYC
Posts: 19,612
Quote:
Originally Posted by stevetim View Post
Yes this is acting very different compared to the Interface builder for mac apps.
I hate to have to mention this, but this isn't for Mac apps.

One might note that the interface for the iPhone is vastly different, and much simpler than that for the Mac.

I would be surprised if IB weren't different.

It's also an early beta, they might yet change it.
melgross is offline   Reply With Quote
Old 03-28-2008, 11:28 PM   #18
lundy
Administrator
 
Join Date: Dec 2001
Location: GA
Posts: 3,729
I've been working with it since yesterday.

They way they did it is IB now has a plug-in for the iPhone SDK. So your previous Xcode/IB desktop apps should not run into difficulties.

There are several objects missing from the IB Palette and I could not get the TableView to do anything and it appeared to have no subviews. I think it is just a graphic placeholder.

When you make a new project in Xcode for the iPhone, it does not add the IB .xib (formerly .nib) file for you. You have to switch to IB, make a new .xib file, and store it in the same folder as the project. It will then ask you if this xib file is for that Xcode project.

They fixed a lot of bugs with the original beta, and they hacked out a ton of the APIs that I am sure people have used. In fact, the ColorPuzzle Demo used two of these now-nonexistent APIs and would not compile - I had to fix that.

You can now use the Mac keyboard to type into iPhone Simulator text fields.

All projects should be placed in /Developer. This is OK for new projects, but if you move old project folders in there, they will forget where their frameworks are. Check a new project to find the ridiculous deeply-buried path to the iPhone frameworks.

It's

/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator2.0.sdk/System/Library/Frameworks

If anyone can find the cited "Instructions for making a nib file and connecting it to your Xcode project", let me know - I gave up.

The example code is, as usual, buried inside the documentation bundle, not in the "Examples" folder where anybody with a lick of sense would have put it.

Xcode and IB for the iPhone MUST run in 32-bit mode. A little tidbit buried somewhere in the pile of confusing documentation.

It's not intended to actually work, though - I am sure they felt they had to release it so people would not write so many hand-coded interfaces and thus have to trash all that code later.

If it works as it appears to be designed to work, what now takes 4 hours to code an interface can be done in 30 seconds.

TIP: do not mess with the build settings. Nobody seems to know what hack Apple has used to make the Simulator work. If you do get the build settings torqued up, just make a new project and copy your code into new class files, and then trash the whole original project folder.


--Johnny
lundy is offline   Reply With Quote
Old 03-28-2008, 11:43 PM   #19
melgross
Global Moderator
 
Join Date: Sep 2004
Location: NYC
Posts: 19,612
Quote:
Originally Posted by lundy View Post
I've been working with it since yesterday...
You sound as though you know what you're talking about—stop it!

We'll have none of that here.
melgross is offline   Reply With Quote
Old 03-29-2008, 12:13 AM   #20
Hiro
Registered User
 
Join Date: Nov 2004
Posts: 1,275
Quote:
Originally Posted by winterspan View Post
What about Eclipse with a Cocoa plugin? Does something like that exist? also, have you had any experience with Mono and/or Cocoa-# (sharp) ? Is there an IDE for Mono C#/Cocoa#?
I don't know of any Eclipse plugins, although the motivation for anyone to do one is pretty small since Xcode is free.

C# is a veiled attempt by Microsoft to cut Java off at the knees and is .NET specific. Mono is utterly unsupported and I don't know why anyone but the Mono team would even care about it. Trying to emulate MS proprietary APIs on other platforms? Ugh!

Cocoa#?!? Run .NET code from inside a Cocoa interface? That's worse than heresy, that's just down-right perverted.
Hiro is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.