One Quickie


Running a window modally (NSWindow->General)
  // I am the very modal of a modern major general.
  int blah = [NSApp runModalForWindow:[self window]];
and then elsewhere, like in your OK or cancel button
  [NSApp stopModalWithCode:NSOKButton];



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

webmonster@borkware.com