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

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

I'm running some code that can trigger multiple NSAlerts to be shown to a user in one go. I'm wrote:
            [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.


gwelmarten is offline   0 Reply With Quote

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

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 09:00 AM
Queuing up next version in iTunes Connect D.T. iPhone/iPad Programming 3 Jul 5, 2013 08:37 PM
UK queuing at a carrier shop O2, Orange etc. c14nhl iPhone 0 Sep 20, 2012 01:02 PM
If you are queuing for a line... Sputnek iPhone 18 Sep 20, 2012 06:34 AM
Time to start queuing UK c14nhl iPhone 4 Sep 16, 2012 07:17 PM

Forum Jump

All times are GMT -5. The time now is 04:44 AM.

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

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