GLPaint is a really old sample, and appears to have not been updated to use a 
UIViewController subclass to manage its view, and as such will elicit this 
warning because the window's rootViewController property will not have been 
set. I would recommend you look at a more recent sample, or even at one of the 
application templates, for a better example along this vein.

On Mar 28, 2012, at 10:15 AM, David Delmonte wrote:

> Thanks David, I will work with that..
> 
> I have a follow-up question. In the GLPaint sample,  there is an 
> AppController rather than an AppDelegate, and another warning "Application 
> windows are expected to have a root view controller at the end of application 
> launch".
> 
> When you can, would you mind explaining both of these.
> 
> I'm much obliged, and am learning, albeit sloooowly.

--
David Duncan


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to