how to get NSTextField in custom NSFormatter class
Posted
by Amit
on Stack Overflow
See other posts from Stack Overflow
or by Amit
Published on 2010-04-23T11:24:54Z
Indexed on
2010/04/23
11:33 UTC
Read the original article
Hit count: 324
i am new to cocoa and objective-c and creating small application having few NStextFields on the window.I have create custom NSformatter to validate the inputs,at some instance i want to get the NStextField within my custom NSformatter to change its backcolor to red to notify user for wrong input value.I didn't getting how to get the currently selected/focused NStextfield for which i want to change backcolor.
© Stack Overflow or respective owner