Allows the delegate to provide a string to be edited as a proxy for a represented object.
Original signature is '- (NSString *)tokenField:(NSTokenField *)tokenField editingStringForRepresentedObject:(id)representedObject'
Available in Mac OS X v10.4 and later.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public delegate NSString TokenFieldEditingStringForRepresentedObjectEventHandler( NSTokenField tokenField, Id representedObject )
Public Delegate Function TokenFieldEditingStringForRepresentedObjectEventHandler ( _ tokenField As NSTokenField, _ representedObject As Id _ ) As NSString
public delegate NSString^ TokenFieldEditingStringForRepresentedObjectEventHandler( NSTokenField^ tokenField, Id^ representedObject )
Parameters
- tokenField (NSTokenField)
- The token field that sent the message.
- representedObject (Id)
- A represented object of the token field.
Return Value
A string that’s an editable proxy of the represented object, or nil if the token should not be editable.
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)