Skip to main content
Search titles, bodies, and author names
Found 42,335 posts across 1 forum.

How to relinquish control to the GUI? — #3

When you update the value of a progress indicator, it's marked as needing display the next time through the runloop (with setNeedsDisplay: YES). Your code, however, never returns …
MacNN Hardware by smeger

How to relinquish control to the GUI? — #4

Quote: Originally Posted by smeger When you update the value of a progress indicator, it's marked as needing display the next time through the runloop (with setNeedsDisplay: YES…
MacNN Hardware by Catfish_Man

How to relinquish control to the GUI? — #5

He already said that, for some reason, an NSTimer is really impractical for what he's doing. I'd think that indicates a problem with the program's structure, but y'know, whatever. …
MacNN Hardware by Chuckit

How to relinquish control to the GUI? — #6

Thanks for the responses. I was hoping to avoid pthreads as it's a bit overkill. As for some people who are unhappy with my design I can elaborate as to why it's uncomfortable to…
MacNN Hardware by Zimwy

How to relinquish control to the GUI? — #8

I don't think that would work. If I declared the array on the stack and then passed it into the user info of the timer wouldn't it already be popped off the stack by the time the …
MacNN Hardware by Zimwy

How to relinquish control to the GUI? — #9

Yeah, it would be off the stack; that's why I suggested an NSDictionary. Actually, the userInfo object is declared to be an id, so it should be an Objective-C object, anyway (it's …
MacNN Hardware by Wevah
mp.ls