The TextField is validated in textDidEndEditing:
IMO its not a bug :-)
(see Cocoa reference)

You should catch NSControlTextDidEndEditingNotification instead of
NSControlTextDidChangeNotification


I second this opinion. Still it is strange why your code worked
correctly on Cocoa.

I haven't read the spec. But even without having done so I would say that posting a textDidChange notification is not of much use if the delegate method is not able to figure out to what the value had been changed. I don't know whether Apple is calling validateEditing, but they definitely make sure that objectValue reflects the changes made before this notification is posted.

Regards,

  Andreas




_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to