Requests permission to end editing.
Original signature is '- (BOOL)textShouldEndEditing:(NSText *)textObject'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- textObject (NSText)
- The text object requesting permission to end editing.
Return Value
YES if the text object should proceed to finish editing and resign first responder status. If the delegate returns NO, the text object selects all of its text and remains the first responder. The textShouldEndEditing: method returns NO if the text field contains invalid contents; otherwise it returns the value passed back from control:textShouldEndEditing:.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)