Re:Using afterDelay: ? (2)
Re:Using afterDelay: ? (2)
- Subject: Re:Using afterDelay: ? (2)
- From: Mamdouh <email@hidden>
- Date: Thu, 1 Jan 1970 02:04:38 +0100
[suStatusSheet performSelector:@selector(orderOut:) withObject:nil
afterDelay:3.0];
Thanks for the help guys! It works great!
Just to be annoying :-), i have one more question! I want to use the
withDelay method on the endSheet method, because i need to ec4execute
some code wright after the suStatusSheet is out, and if i use the
withDelay: method on the orderOut: method, the code gets executed while
the sheet is still up!
How do i use the withdDelay: method with this method:
[NSApp endSheet:SUStatusSheet];
??
[NSApp performSelector:@selector(endSheet:) withObjct:SUStatusSheet
afterDelay:4.0];
This , obviously doesn't work because the withDelay: method is not a
NSApplication method, but an NSObject method! And if i replace it with
this:
[NSObject performSelector:@selector(endSheet:) withObjct:SUStatusSheet
afterDelay:4.0];
it does4nt work either because the endSheet: method ia a NSApplication
method and not a NSObject method!
I would appreciate if one of you could help me (again)!
Again thanks a 1000 times for the help with my first question!
TIA
Mamdouh
Student/Programmer
Denmark
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.