Newbie: performSelector: withObject: afterDelay: inModes: question..
Newbie: performSelector: withObject: afterDelay: inModes: question..
- Subject: Newbie: performSelector: withObject: afterDelay: inModes: question..
- From: Scott Andrew <email@hidden>
- Date: Fri, 08 Jul 2005 21:45:19 -0700
I have a question about performSelector: withObject: afterDelay: inModes:. I
understand that this calls the selector after a specific delay. What exactly
is the modes for. I found some source code that fixes my issue with text it
is the following:
// Remember that we're in a Modal Panel run loop
[self performSelector: @selector(beginAuthentication)
withObject: nil
afterDelay: 1
inModes: [NSArray arrayWithObjects: NSDefaultRunLoopMode,
NSModalPanelRunLoopMode, nil]];
What are the modes for?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden