NSTextField no editable en NSWindow personalizado

Hola a todos

Si creo NSTextField en la vista de mi controlador, entonces todo está bien: el campo es editable. Desafortunadamente, tengo que crear NSTextField en una nueva NSWindow personalizada. Mi código debajo produce un campo que se ve sin foco (la selección de texto es gris) y no es editable (sin cursor y sin reacción a las pulsaciones de teclas). Puedo cambiar la selección de texto con el mouse, pero eso es todo.

Tengo que habilitar NSWindow para recibir pulsaciones de teclas?

Aprecio tu ayuda, - Josef

      NSRect windowRect = [[self.window contentView] frame] ;
      NSWindow* uiWindow          = [[NSWindow alloc]  initWithContentRect:windowRect
                    styleMask:NSBorderlessWindowMask
                    backing:NSBackingStoreBuffered defer:YES];
      [uiWindow setBackgroundColor: [NSColor redColor/*clearColor*/]];
      [uiWindow setOpaque:NO];

      NSView* uiView = [[[NSView alloc] initWithFrame:NSMakeRect(0, 0, windowRect.size.width, windowRect.size.height)] autorelease];
      [uiView translateOriginToPoint:NSMakePoint(100, uiView.bounds.size.height/2)];
      uiView.wantsLayer = YES;

      [uiWindow setContentView:uiView];

      NSTextField *textField;
      textField = [[NSTextField alloc] initWithFrame:NSMakeRect(0, 0, 800, 80)];
      [textField setFont:[NSFont fontWithName:@"Helvetica Bold" size:60]];
      [textField setStringValue:@"My Label"];
      [textField setBezeled:YES];
      [textField setDrawsBackground:YES];
      [textField setEditable:YES];
      [textField setSelectable:YES];
      [textField setEnabled:YES];

      [uiView addSubview:textField];


// THIS DOES NOT WORK
[self.window addChildWindow:uiWindow ordered:NSWindowAbove];

// THIS WORKS
//[_graphicView addSubview:uiView];

Respuestas a la pregunta(4)

Su respuesta a la pregunta