nstextfield
Updating UI in Cocoa from another .m file
I have a GUI app that has a main thread and then I use NSOperation to run 2 other threads once the user clicks the Start button. Now one thread calculates a certain value and updates it. What I want t[详细]
2023-02-08 10:05 分类:问答Problems with NSTextView where NSTextField worked
I\'m just starting out with obj-c, I\'m trying to build an importer to fetch a couple numbers from a piece of formatted text. I started with a wrapping TextField and was able to both get the text into[详细]
2023-02-07 12:45 分类:问答NSTextField Clear Button
On the iPhone a UITextField can have a clearButtonMode set to show a small clear button (X) at the 开发者_运维问答end of a text input. Similarly, on the Mac the NSSearchField has a nice clear button o[详细]
2023-02-05 21:25 分类:问答NSTextField like safari address bar
Whats开发者_C百科 the best way to go about building an address field like the one in safari? Needs to have editable text, and determinate progress indicator background.You could just subclass NSTextF[详细]
2023-02-04 16:27 分类:问答Restrict NSTextField input to numeric only? NSNumberformatter
I\'m just getting started up with Mac App Development and so far everything is good well, I\'m just having problems trying to get a NSTextField to only accept numbers for the input.[详细]
2023-02-04 13:45 分类:问答How can I get the value inside of an NSTextField?
My NSTextField contains doubles like \"1.67\" or \"0.05\" etc. When I try the following: console.log([priceChange doubleValue]); //priceChange is an NSTextField[详细]
2023-02-02 05:55 分类:问答Validate a user interface (NSButton) as user type in NSTextField
I know how I\'d do t开发者_开发百科his with NSTextView, but NSTextField doesn\'t seem to provide a way to access the NSTextStorage backing it, so I can\'t set myself as a delegate and process -textSto[详细]
2023-02-01 22:46 分类:问答What object to use for special text-editing
i need a special text-field that should do the following stuff: multiline tab key support send action when enter key gets pressed[详细]
2023-01-31 01:54 分类:问答NSTextView Chinese/Unicode Characters
I have a piece of text drawn in my cocoa app but I also need to draw it in a NSTextField and a NSTextView and look exactly the same, they all usually draw fine but if there are unicode or Chinese char[详细]
2023-01-26 18:35 分类:问答Can't Get indexPath.row from a array (error indexPath undeclared)?
I declared a NSArray in my .h @interface DevicePreferencesController : UITableViewController < UIAlertViewDelegate >{[详细]
2023-01-26 10:51 分类:问答