• 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: erroneous template
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: erroneous template


  • Subject: Re: erroneous template
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 23 Oct 2011 09:54:09 -0700

On Oct 23, 2011, at 9:34 AM, Juan Fernandez wrote:

> if you do not supply a root view controller on the nib or by the template, xcode is expecting you to have a root view controller manually by the end of your applicationDidFinishLaunching

Obviously. But not Xcode. Cocoa.

With that substitution, you're just repeating what I said. My point is pedagogical: Xcode is "helping" the user make a project that Cocoa isn't going to like... m.

> On Oct 23, 2011, at 11:26 AM, Matt Neuburg wrote:
>
>> Use Xcode 4.2 to create a new project based on the last iOS template, Empty Application. Run the project. It runs, but a warning message results in the console:
>>
>> "Applications are expected to have a root view controller at the end of application launch"
>>
>> An application template whose application isn't valid? Is this wise?
>>
>> I do sort of understand why Apple has modified the previous Empty Window template; before, it made a window whose root view was pulled directly from a nib, with no root view controller, and this really was never correct, since there is no reason on earth why an iOS app should lack a root view controller. But as it stands this now is a peculiarly useless template.

--
matt neuburg, phd = email@hidden, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Among the 2007 MacTech Top 25, http://tinyurl.com/2rh4pf
Programming iOS 4! http://www.apeth.net/matt/default.html#iosbook
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: erroneous template
      • From: Fritz Anderson <email@hidden>
References: 
 >erroneous template (From: Matt Neuburg <email@hidden>)
 >Re: erroneous template (From: Juan Fernandez <email@hidden>)

  • Prev by Date: Re: Apple ID works on iTunes, App Store - won't work on Apple Developer Site
  • Next by Date: Re: Apple ID works on iTunes, App Store - won't work on Apple Developer Site
  • Previous by thread: Re: erroneous template
  • Next by thread: Re: erroneous template
  • Index(es):
    • Date
    • Thread