Re: NSTextField only displaying last setStringValue in a loop
Re: NSTextField only displaying last setStringValue in a loop
- Subject: Re: NSTextField only displaying last setStringValue in a loop
- From: Fritz Anderson <email@hidden>
- Date: Fri, 26 Mar 2004 15:18:16 -0600
Send "display" to the text field in question. "setStringValue:" just
marks the text field as needing display at the next pass through the
run loop, which your download loop apparently isn't returning to.
-- F
On 26 Mar 2004, at 2:46 PM, Ken Tozier wrote:
Is there some delay before NSTextFields display strings using
"setStringValue"?
I wrote a class that downloads photos from a camera and posts a
notification (on the same machine) containing the name of the most
recently downloaded photo. In the window controller, the method that
receives these notifications is receiving all the sent messages (as
verified by NSLog) but only the last received message actually displays
in the UI. Is there some "forced refresh" command I'm missing?
--
Fritz Anderson
Consulting Programmer
http://resume.manoverboard.org/
_______________________________________________
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.