Re: Multiple simultaneous UIAlertControllers
Re: Multiple simultaneous UIAlertControllers
- Subject: Re: Multiple simultaneous UIAlertControllers
- From: Alex Zavatone <email@hidden>
- Date: Fri, 06 Nov 2015 11:45:27 -0500
- X_v_e_cd: a1cbebce816bd0b65b52692c84769dc1
- X_v_r_cd: 10018b89644372c7acbce7bbf3540d43
On Nov 5, 2015, at 6:58 PM, Carl Hoefs wrote:
> Thanks for the tip, I'll look into it.
>
> (As a general thought, though, it would appear that UIAlertController
> should be a singleton app-wide, and it should manage its own serialized
> presentation. Any other solution seems like external plumbing to fix a
> design problem.)
> -Carl
>
>> Pretty sure the WWDC 2015 video on NSOperations tackles a similar scenario
>> in a quite elegant way. That might be worth investigating.
>>
>> Peter
>>
>>> On Nov 5, 2015, at 6:42 PM, Carl Hoefs <email@hidden>
>>> wrote:
>>>
>>> A queue of what? I would think that if only a single alert view can be
>>> presented at a time, then iOS would serialize them and present them when
>>> earlier ones complete. Is there no system-level solution to this?
>>> -Carl
Your own queue. A queue of data you want to be displayed within alerts. Cook up an alert manager that can handle more than one alert. You could even make one that is paged to go from alert to alert and display the # of the alert is within the total # of alerts. Change OK to OK and Next.
Honestly, I've got no idea if there is a system level one or not, but I'm on my second project in the same year where we needed something like this.
It seems to be a reoccurring need.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden