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

Setup question (yes, I know, another one) — #35

Quote: Originally Posted by mduell Are you within the USB spec for cable length? 5m max per cable, 5 hubs/repeaters max per chain. I'm probably pushing the envelope. The p…
MacNN Networking by SimeyTheLimey

How to relinquish control to the GUI? — #1

Hi, Let's say I have the following: code: NSProgressIndicator* progress; (assume it's initialized and visible etc) for (int i = 0; i < 5; ++i) { [progress setDoubleValue: …
MacNN Hardware by Zimwy

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