objective c - Using NSColorWell with different windows -


im trying make nscolorwell used in open nswindows customview .i'm using following code create new windows:

- (ibaction)createwindows:(id)pid {        mywindowcontroller *zwindowcontroller =     [[mywindowcontroller alloc]      initwithwindownibname:@"myextrawindow"];     nspointwindoworigin.x   += 100.0;     nspointwindoworigin.y   += 15.0;      [zwindowcontroller.window setframeorigin:nspointwindoworigin];     [zwindowcontroller showwindow:self];     [nsmutaryofwindows addobject:zwindowcontroller]; } 

in here myextrawindow string .xib file name holds nswindow customview ideas how can make nscolorwell work new created windows?


Comments