control delegate (NSTextField)
control delegate (NSTextField)
- Subject: control delegate (NSTextField)
- From: Brent Gulanowski <email@hidden>
- Date: Wed, 18 Jun 2003 17:19:33 -0400
Greetings.
OK, I ask the list to show me my error.
I am trying to connect delegates to NSTextFields to use the following
NSControlSubclassDelegate methods:
-(BOOL)control:(NSControl *)control textShouldBeginEditing:(NSText
*)fieldEditor;
-(BOOL)control:(NSControl *)control textShouldEndEditing:(NSText
*)fieldEditor;
I connected the text fields to my window controller in IB -- it serves
as the delegate and declares/implements both of those methods.
They are not being called. I went through the archives at mamasam and
saw similar, but never the same, issue (people mostly using wrong
methods, and being told to use the ones I am using or some
notification-based versions).
Also, when the delegates are connected, I get weird errors on the
console about arrays being out of bounds and such.
Brent Gulanowski
--
Mac game development news and discussion
http://www.idevgames.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.