Actually we found the culprit. I posted the solution to the list.

On Aug 19, 2011, at 16:14 , William Squires wrote:

> I would check 2 things:
> 
> 1) Is there anything in the view controller that's maintaining a persistent 
> boolean state that toggles each time its awakeFromNib is called?
> 2) Does it do the same thing when you deploy to an actual iPad?
> 
> On Aug 19, 2011, at 3:20 PM, Rick Mann wrote:
> 
>> One of my colleagues at work wrote a small test app to work on a bit of 
>> custom UI. It's a simple app based on the View-based app stationery.
>> 
>> She has run into a vexing problem: on one run of the app, it works fine. On 
>> the second, her view controller's view does not appear. The next run, all is 
>> fine. The next, broken. It is exactly every other time that it works.
>> 
>> This is all in the sim. I've tried quitting the sim, resetting it, etc. It 
>> always, without fail, alternates behavior every other launch, no matter what 
>> else you do.
>> 
>> What little debugging I've done shows that -didFinishLaunching is always 
>> called, but that the view fails to load every other time. That is, the view 
>> controller's -viewDidLoad is only called every other launch. 
>> -didFinishLaunching installed the view controller as the window's root view 
>> controller, then calls -makeKeyAndVisible. Both those outlets are never nil.
>> 
>> Any ideas?
>> 
>> Thanks,
>> Rick
>> 
>> _______________________________________________
>> 
>> 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:
>> http://lists.apple.com/mailman/options/cocoa-dev/wsquires%40satx.rr.com
>> 
>> This email sent to wsqui...@satx.rr.com
> 
> _______________________________________________
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/rmann%40latencyzero.com
> 
> This email sent to rm...@latencyzero.com

_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to