One Quickie


calling objective-C methods in gdb (gdb->General)
To call an Objective-C method in the gdb console, you have to cast the return type (since gdb doesn't really know what the return value is):
(gdb) call (void)[textField setStringValue: @"Bork"]



borkware home | products | miniblog | rants | quickies | cocoaheads
Advanced Mac OS X Programming book

webmonster@borkware.com