On Mon, Apr 20, 2015, at 05:54 AM, Roland King wrote:
> 2) "The view hierarchy for this class is private and must not be
> modified”. In the strictest sense adding a UITextField to the UIAlertView
> is modifying the view hierarchy and thus something which you probably
> shouldn’t be doing.
What Roland said.
But also:
> - (IBAction) button: (id) sender
> {
> [ --- snip --- ]
>
> [alertView show];
>
> CFRunLoopRun();
>
Why are you doing this? There is already a running runloop on the main
thread. You pretty much never want to nest runloop invocations like
this, especially on iOS.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list ([email protected])
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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]