Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modal control



Mark Thomas wrote on 24/6/04, 12:41 pm:

 > Ok, like the sound of this :-), so do you mean
 >
 > [NSEvent startPeriodicEventsAfterDelay:0 withPeriod:0.2]
 >
 > [NSApp runModalForWindow: myWindow ]
 >
 > [NSEvent startPeriodicEventsAfterDelay:0 withPeriod:0 ]

You want

    [NSEvent stopPeriodicEvents] here.

 > And that's all, or do I need to some extra trickery

That might be all. No guarantees that it will work, but try it.

Also, note that it's a hack and can cause other issues.
I'd not recommend shipping anything using this. The point
is that it shows (if it works) that there may be ways to tickle
the run loop to make NSURLConnection happy.

Simon
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Modal control (From: Mark Thomas <email@hidden>)



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.