• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Adding a background image to the GLPaint sample
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding a background image to the GLPaint sample


  • Subject: Re: Adding a background image to the GLPaint sample
  • From: David Duncan <email@hidden>
  • Date: Wed, 28 Mar 2012 10:19:51 -0700

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 (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

References: 
 >Adding a background image to the GLPaint sample (From: David Delmonte <email@hidden>)
 >Re: Adding a background image to the GLPaint sample (From: David Duncan <email@hidden>)

  • Prev by Date: Re: Adding a background image to the GLPaint sample
  • Next by Date: Re: Best Way to Append Bytes With Encoding To CFMutableString
  • Previous by thread: Re: Adding a background image to the GLPaint sample
  • Next by thread: Best Way to Append Bytes With Encoding To CFMutableString
  • Index(es):
    • Date
    • Thread