Xcode 3.0

We overlooked Xcode 3.0 (and Interface Builder 3.0) in all the WWDC hubbub, though I bet that many developers are very happy with the direction Xcode is going in. Xcode 3.0 has new 'iChat like' notifications, as well as speed increases (Apple claims it loads code 4 times faster than before). Xcode 3.0 supports Objective-C 2.0, which itself has new features (including the all important 'garbage collection').
Also new in Xcode 3.0 are Xray, a timeline based way to optimize your app, and Research Assistant which keeps API documentation at your fingertips without being annoying.
Share
Categories
We overlooked Xcode 3.0 (and Interface Builder 3.0) in all the WWDC hubbub, though I bet that many developers are very happy with the...
Add a Comment
Regarding whatâs new in ObjC2, hereâs what I wrote on Cocodev.com.
Leopard will introduce significant updates to Objective-C, referred to officially as âObjective-C 2.0â, and unofficially as C*. The following information is gleaned from public sources: the compiler source code (http://gcc.gnu.org/viewcvs/branches/apple/trunk/gcc/objc/) and compiler test cases (http://gcc.gnu.org/viewcvs/branches/apple/trunk/gcc/testsuite/objc.dg/). I had not have access to privileged information at the time of writing. Kudos to Dietmar Planitzer and Dave Vasilevsky for doing a lot of the digging.
Interestingly, the compiler source code says âThis module implements the Objective-C 4.0 languageâ, rather than 2.0.
Known new features â which will all be optional to use, at least at first â are:
⢠Automatic GarbageCollection.
⢠A new iterator construction: for (id element in someArray) { [element doStuff]; }
⢠@required and @optional keywords for FormalProtocols.
⢠Weak references, indirect object references which donât stop objects from being garbage-collected.
⢠GCC attributes on methods.
⢠Properties. A property is an ivar with a getter and setter, unless it is read-only. There are several ways of implementing them. In the simplest form, the ivar, getter and setter are generated by the compiler: @property NSString *name;. An existing ivar may be specified: @property (ivar = _tag) int tag;. You can also specify your own getter and setter: @property (getter = getFrame, setter = setFrame:) NSRect frame;. Properties can also have two properties: readonly, meaning there is no setter, and copying, meaning the value passed to the setter will be copied. Client code uses properties by using dot notation on the object pointer: NSWindow *myWindow = getAWindow(); NSLog(myWindow.name); myWindow.frame = someRect;.
⢠Warnings will be generated for use of @defs and implicit typecasts of SELs?, saying these âwill not be supported in future.â
It looks like XCode 3.0 is catching up to where Java IDEs were a few years ago, so there's still hope, I guess.
Xcode 3.0 has refactoring support.
August 08 2006 at 4:30 PM Report abuse Permalink rate up rate down ReplyDoes anyone know when this will be released beyond those precious CDs at WWDC.
I paid dearly for a Select membership to the Apple ADC, but so far all that's released is a point update to XCode -- no 3.0.
Feeling left out,
Isaiah
So... Does it have REFACTORING support? There are days I would *kill* for Eclipse-style refactoring power and code manipulation support for Objective-C. Some days, it's almost enough to make me look at CocoaJava!
Please? Refactoring? Pretty please? Maybe some nice lint or CheckStyle-like stuff too?
Yes can someone pleeeease give us some more info on Objective-C 2.0!! Also would be good to have *any* info on Interface Builder 3.0
August 08 2006 at 6:49 AM Report abuse Permalink rate up rate down Replycan anyone please clarify what's new in objective-c 2.0 except for garbage collection? the apple page is quite uninformative on this
August 08 2006 at 6:30 AM Report abuse Permalink rate up rate down ReplyHot Apps on TUAW
Deals of the Day
more deals- Lounge Deluxe Stand for iPhone / iPod touch for $28 + $8 s&h
- Brookstone Surround-Sound Earbuds for $14 + $7 s&h
- Refurbished Skullcandy Tokidoki Smokin' Buds Mic'd Headset for $5 + $2 s&h
- Stitchway Backup Battery for iPod / iPhone for $5 + free shipping
- Used Apple MacBook Pro 2.4GHz 15" LED Laptop for $1,030 + $29 s&h
- Refurb MacBook Air Core i5 Dual 1.6GHz 12" Laptop for $750 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



7 Comments