objective c - Editable textfield in popover not working -
I am working on a Mac app which uses the popover window for additional functionality I have a popover Opens where I need a user to input some text and I can not understand the field as editable. Behavior is considered editable in the Xcode under Attribute Inspector and other option matching settings are from a similar application in which the text field is editable in a new window. What am I missing?
- (IBAction) DataTransferButton: (ID) Sender {[Self Data TransferPopor] ShowOverwitchTrack: View of [Sender's limit]: Sender Favorites Edit: NSMaxXEdge]; _employeeCheckBox.enabled = No; [DatatransferPropor First Responder]; userAccountTextField.editable = Yes; Applying and applying NSPopoverDelegate to your app representative
- (zero) popoverDidShow: (NSNotification *) Notification {[self.dataTransferPopover.viewController.view.window makeKeyWindow]; Self.datatransferopopover.viewController.view.window makeFirstResponder: userAccountTextField]; } You should not text the file for the first time.
Comments
Post a Comment