Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 30, 2012, 03:13 PM   #1
gwelmarten
macrumors 6502
 
Join Date: Jan 2011
Location: England!
Queuing NSAlerts

Hi
I'm running some code that can trigger multiple NSAlerts to be shown to a user in one go. I'm wrote:
Code:
            [pleaseLeaveReview beginSheetModalForWindow:window modalDelegate:self didEndSelector:@selector(someMethodDidEnd:returnCode:contextInfo:) contextInfo:nil];
to show the alerts that slide out from the top of the application.
Problem is, if I call one alert followed by another only the first one is shown - the next method is shown afterwards. When I've done this in iOS, they queue after each other automatically.
Is there a simple method I can use, or an if command to detect if an NSAlert is currently being shown?
Or should I use boolean values to detect if a message is being shown and set a NSTimer to re-call the message method if a message is already being shown.

Thanks,

Sam
gwelmarten is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Tags
nsalert, objective-c, queue

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Indoor UK iPad Air Queuing spinstorm iPad Launch Meetups 0 Oct 30, 2013 10:00 AM
Queuing up next version in iTunes Connect D.T. iPhone/iPad Programming 3 Jul 5, 2013 09:37 PM
UK queuing at a carrier shop O2, Orange etc. c14nhl iPhone 0 Sep 20, 2012 02:02 PM
If you are queuing for a line... Sputnek iPhone 18 Sep 20, 2012 07:34 AM
Time to start queuing UK c14nhl iPhone 4 Sep 16, 2012 08:17 PM

Forum Jump

All times are GMT -5. The time now is 02:41 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC