« July 2007 | Main | October 2007 »

PSIG 106 | NSToolbar

Monday, August 6, 2007

(What is PSIG? | PSIG 106 announcement)

Items of Interest
NSToolbar

Great presentation by Dave and El Wolfo involving a cowboy hat, a gaucho hat, methods named "spanishize" that define anything starting with "El " as Spanish, and oh -- we got to see some live debugging ;). Summary:

Currently, Interface Builder doesn't help you create toolbars, so you either have to do it in code or use Belkadan's GenericToolbar palette.

Doing it in code: After allocating your toolbar, initialize it with a unique identifier (initWithIdentifier) so that Cocoa can automatically remember user customizations to the toolbar. You'll also have to set setAutosavesConfiguration: and setAllowsUserCustomization: to YES. Once you've created and set the delegate, tell your window to setToolbar:toolbar.

There are four basic methods you need to manage your toolbar:

GenericToolbar is the non-code alternative: It has a nice drag/drop interface for adding and removing items as well as hooking up items to your controllers. It doesn't work very well with bindings, so it's better to do those in code.



Thanks to Gruber for the great wwdc photo upon which this is based


C4[1] this weekend!

Ok, I think this is the most excited I've ever been about a tech event. I can't wait for the sessions and I'm hugely looking forward to meeting everybody. I'm actually going to be manning the registration booth so I'll at least get to greet everyone :)

Hay -- anybody out there have an idea for Iron Coder that could use my help? I'm pretty psyched about the announced "API" because it would seem I could easily make use of my art/design/webcode-fu, but I'm not coming up with any ideas...

1:39 AM | Comments (5)

PSIG 105 | Dissasembling on OS X

Thursday, August 2, 2007

(What is PSIG? | PSIG 105 announcement)

Items of Interest
Dissasembling on OS X

Why disassemble?


Static tools: Hex editors


Static tools: General level


Static tools: Code


Runtime Tools
"What's cool about software is you can put your hand up them like a puppet."

The rest of the evening was spent doing evil things to the iPhone. Also! I watched in awe as Dave/Wolf worked some fabulous Quartz Composer action into a little Cocoa toy app that I'd been working on ;D


1:21 AM | Comments (2)