If I subclass NSTokenField or NSTextField and override becomeFirstResponder (for the purpose of executing some code when the control becomes first responder), when the field becomes first responder (as indicated by the focus ring, and by logging) the cursor doesn't appear.
-(BOOL)becomeFirstResponder {
// call other code here
NSLog(@"%@",[self.superview.window firstResponder]);
return YES;
}
Since the default implementation of this method returns YES, why does overriding it like this cause the control to not display the cursor.