Re: runModalForWindow, best solution to modal session

2009-01-21 Thread Alexander Reichstadt
Hi Ken, On 17.01.2009, at 17:51, Ken Thomases wrote: On Jan 16, 2009, at 2:06 AM, Alexander Reichstadt wrote: @implementation KSingleItemSelectorController #pragma mark - #pragma mark Init+Dealloc + (id)selectItemUsingFenstertyp:(NSString *)aFenstertyp withComposition:(NSString *)aKomposit

Re: runModalForWindow, best solution to modal session

2009-01-17 Thread Ken Thomases
On Jan 16, 2009, at 2:06 AM, Alexander Reichstadt wrote: @implementation KSingleItemSelectorController #pragma mark - #pragma mark Init+Dealloc + (id)selectItemUsingFenstertyp:(NSString *)aFenstertyp withComposition:(NSString *)aKomposition { KSingleItemSelectorController *newXelector = [[s

Re: runModalForWindow, best solution to modal session

2009-01-14 Thread Keary Suska
On Jan 13, 2009, at 12:21 PM, Alexander Reichstadt wrote: If so, do you override -initWithWindowNibName:? The implementation may matter. No, I only override initWithWindow. Should I override it, and if so should I call on NSBundle to load my nib there then? I recommend that you allow NSW

Re: runModalForWindow, best solution to modal session

2009-01-13 Thread Ken Thomases
On Jan 13, 2009, at 1:21 PM, Alexander Reichstadt wrote: On 13.01.2009, at 19:44, Keary Suska wrote: If so, do you override -initWithWindowNibName:? The implementation may matter. No, I only override initWithWindow. Should I override it, and if so should I call on NSBundle to load my nib

Re: runModalForWindow, best solution to modal session

2009-01-13 Thread Alexander Reichstadt
Hi Keary, On 13.01.2009, at 19:44, Keary Suska wrote: On Jan 13, 2009, at 10:44 AM, Alexander Reichstadt wrote: Hi, in my app I call runModalForWindow: in a class method initializer -- the class is a NSWindowController subclass-- from a controller of a sheet. Please, disregard UI Guideli

Re: runModalForWindow, best solution to modal session

2009-01-13 Thread Keary Suska
On Jan 13, 2009, at 10:44 AM, Alexander Reichstadt wrote: Hi, in my app I call runModalForWindow: in a class method initializer -- the class is a NSWindowController subclass-- from a controller of a sheet. Please, disregard UI Guidelines, it's a highly customized app and this approach use

runModalForWindow, best solution to modal session

2009-01-13 Thread Alexander Reichstadt
Hi, in my app I call runModalForWindow: in a class method initializer -- the class is a NSWindowController subclass-- from a controller of a sheet. Please, disregard UI Guidelines, it's a highly customized app and this approach used as per specific request. + (id)selectItem { KSingleItemS