| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I am creating a native application under OSX and have some problems that IIf you only use [something setNeedsDisplay:YES], the redraw will occur on the next event loop.
did not have under OS9.
1. Why can't I update the display or drawing on a window as I have it
displayed while doing a long calculation?
2. How do I update the progress bar as I do a long calculation?See above.
3. How do I create a separate thread for doing this kind of long processesThere is a NSThread class : Your can send it (the NSThread class) a detachNewThreadSelector:... message to create a
with a cancel button?
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.