Note: We only just registered this site, check back over the next couple of days for improvements

Cocoaheads.au

Last night we had our third Brisbane Cocoaheads meeting, great to see we picking up steam and seeing some regulars.

First of all we had Rob Keniger give us an introduction to the WebKit Bridge, which allows you to use HTML and Javascript within a Cocoa app, and bridge between Cocoa and Javascript. Download the code

Next up we had Dr Nic assisted by Anthony Mittaz try and throw together a quick app to download a contact list from Highrise and display it it an iPhone Table View, when we had to pack up we had the table view almost working correctly, and the data fetching was still to be done.

Watching someone else code, I picked up two shortcuts name Cmd + Double Click a class name to view its header definiation Option + Double Click on a class name to view its documentation

Next Meeting: 7pm October 6th @ Toowong Library

Also if you haven’t subscribe to the cocoaheadsau mailing go do so now, the Brisbane list will soon be retired

by alan at September 02, 2008 02:59 AM

You heard it. We’re famous. Well we were until some silly little company announced movie rentals through iTunes.

The article is still available, just not on the front page.

by Gareth Townsend at August 14, 2008 09:09 PM

This summary is a week overdue but I think it's still worth putting up.

Last Monday's Brisbane CocoaHeads meeting was a great success. There were some new faces and some good discussions. It started early for some members with some general hacking around waiting for others to show up.

Presentations

Anthony Mittaz

Neither of the planned presentations were given, however a few good impromptu ones did! The meet up officially started with a few people introducing themselves around the table, each explaining their interests, projects, and development history. We got about half way through the introductions when one of the members, Anthony Mittaz, started a brief commentary on threading using the NSOperation class. Pretty quickly, a whiteboard marker was put in Anthony's hand. Of course, the whiteboard failed miserably (it was too dark and the marker only lasted about two words), so we all volunteered him to show us some code using the projector.

Forty minutes later or so, we had all had the pleasure of seeing the inner workings of two of Anthony's applications: a Cocoa application for searching RealEstate.com.au and an iPhone version of the same. He walked the new Cocoa users (almost all of us) through the life cycle of the application search function, giving a nice summary of how NSOperation is used and how it contrasts with other threading approaches.

We also got to see how his app integrated with QuickLook and used metadata to be index-able by Spotlight. All of us kept begging for source and information. By the end of our demands we'd also got to see some Core Data code and listen to Anthony's challenges porting the application to the iPhone. These challenges included finding a useful XML Parsing library and memory management.

Anthony sent me a beta version of his RealEstate application, which besides a few bugs was overall pretty impressive (I'd certainly use it over the realestate.com.au website). Unfortunately RealEstate.com.au are afraid of exactly this and are trying to block its release.... Bastards! I'll ask Anthony if i can post a few screen shots for any who had missed the presentation.

Bodaniel Jeanes

I (Bodaniel Jeanes) then gave a bit of rant about jail-broken iPhones and showed of some of the file system on my device. I have been experimenting with Carrier Bundles and hidden preferences and thought I'd share some of my findings. Mostly easy stuff but still fun for me nonetheless!

Wrap-Up

One would have hoped we'd get back to the rest of the introductions after two hours of ranting and frantic discussion. Unfortunately, I am pretty sure there were a few voices who didn't get heard. If so, make sure you speak up next time and we'll get the introductions out of the way first thing!

Remember, join the Google group at http://groups.google.com/group/brisbane-cocoaheads for notices, discussions, queries, etc. You can also catch most of us in #cocoaheadsau on FreeNode.

Anyone want to step up for a presentation at the next meeting? The next meeting will be as always on the first Monday of the month at the Toowong Library. Be there at 6.30pm for a 7pm start.

Great meeting you all!

by bjeanes at August 11, 2008 03:01 AM

This month we will be hearing about the following:

Audio Queue - Scott Brewer
A Love/Hate Relationship - Gareth Townsend - Touchable

When?: Thursday August 14th
Where?: RMIT City Campus. Seminar Room 1, Swanston St Library. Building 8, Level 5
Time?: 6pm - 9pm

As always we will be heading over the road to the Bunker afterwards for drinks and socialising.

by Gareth Townsend at August 05, 2008 10:44 PM

The Sydney guys are back and at it again, and are meeting tonight

When: Thu July 31st, 7:30pm
Where: James Squire Brewhouse

Don’t be confused by Google Maps; if you search for it, it’ll show you the wrong place. James Squires is on the wharf, right in front of a ferry terminal. You can’t miss it.

Easiest way to get there from George Street is to turn down King Street towards the water and keep walking all the way down King Street, over the foot bridge, until you hit the wharf, and then you turn right and keep walking until you see James Squires on the right.

by alan at July 31, 2008 03:38 AM

This month, we have Dr Nic is showing us what he has been learning with Nu, which is a LISP like scripting language for Cocoa development, including running Nu on iPhone. Bodaniel Jeanes is planning on showing us some RubyCocoa provided his hacking goes, according to plan, and Alan Harper is hoping to give a crash intro to CoreData.

There will probably be some time for hacking, so by all means bring along your Mac, and we’ll probably have some 3G internet access.

When? Monday, August 4th, arrrive 6.30ish for a 7pm start
Where? Toowong Library, Toowong Village Shopping Centre (rooftop parking is closest)

Afterwards we’ll be going to Jackpot for a bite to eat and a drink or two

by alan at July 22, 2008 04:55 AM

Pragmatic Programmers are at it again, with an iPhone book due out in December. I am a fan of their books, usually getting me up to speed on Rails, TextMate, and a few other topic, so I’ll be keeping an eye for this one. No beta book as of yet, which would be nice, I guess it’s just too soon.

by alan at July 16, 2008 10:08 PM

With the release of Apple’s SDK for building iPhone applications, many have plunged head-first into this new platform for the first time, with the new-found excitement that comes in discovering something entirely new and innovative. The energy surrounding the iPhone has been building steadily since its release last June, and Apple’s initial “beta” offering of their SDK gave developers many of the tools they needed to get engaged. Within a short time, however, the community hit a brick wall in many respects, leaving many disenchanted by the restrictions imposed on developers. While Apple insists that the SDK provides the same tools used to create their own software, developers have found that they don’t have access to the same low-level functions of the iPhone, such as the ability to run applications in the background, build certain types of objects, or use low-level frameworks such as CoreSurface, Celestial, or LayerKit — all of which provide direct access to graphics and sound components. These, along with many other features, are found in Apple’s own applications, but nowhere to be found in the SDK.

Read On

by alan at July 16, 2008 06:31 AM

Well Vodafone, have announced their plans today, and juding from Twitter and Mactalk, people are not happy.

Basically 24 month contract, $69 cap with only 250MB data, and $189 for the 8Gb iPhone.

Come join us on #cocoaheadsau on freenode, discussing this and and good old Cocoa

UPDATE: pricing has been pulled again, looks like they realised people have an issue with the pricing

by alan at July 09, 2008 12:38 AM

Yay we had our 1st meeting!! 9 developers attended plus a wife and child. We all sat around the tables and I gave an introduction to Objective-C and Xcode/Interface Builder to build two apps: one for Cocoa and one for the iPhone.

Well, it was one app – the RandomApp from Hillegass’s great book on Cocoa Programming

The iPhone app was almost a direct port of the Cocoa app. We used the “Cocoa Application” template for the Cocoa app, and then “View-based Application” template for the iPhone app. The latter creates two NIBs (.xib files), so you use the one who’s name starts with the application name (not MainWindow.xib). Both had the two buttons (“Change seed” and “Generate number”), both had a label for the output, and both had a controller to connect it all together.

The significant difference was that you use a UILabel for iPhone instead of NSTextField (configured as a Label). A minor difference in the Interface Builder – both called ‘Label’ in the Library – but their “set a value” APIs are different.

The NSTextField has both setStringValue: and setIntValue: methods via the NSControl superclass. The UILabel class did not; instead it has a text property (giving setText: and text setter/getter methods). So, to convert the generated integer into a string, we used:

textField.text = [NSString stringWithFormat:@"%d", generated];

Whereas for the Cocoa version with NSTextField we just did:

[textField setIntValue:generated];

Finally, the iPhone app was demonstrated being built and run on an iPod Touch. Sexy!

After the meeting, several people indicated they’d love a weekly “NSCoder” hacking session. No presentations, just sitting around and coding. What a great way to learn new things. More information to come.

It was a great first meeting. The next CocoaHeads meeting will be the 4th of August.

AGENDA:

Beginners: there are lots of Objective-C/Cocoa design patterns to discuss. Perhaps more useful for Cocoa + iPhone is delegates. Who’s up for doing 20minutes introducing them and showing a few very common uses of delegates + protocols?

Advanced: this will be our first meeting since the iPhone will have been released on the 11th of July. I’m confident various people will want to show off the interesting frameworks + code examples; such as for the GPS!

by alan at July 08, 2008 10:55 PM