• 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: windowDidLoad getting called twice?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windowDidLoad getting called twice?


  • Subject: Re: windowDidLoad getting called twice?
  • From: Keary Suska <email@hidden>
  • Date: Sun, 28 Feb 2016 10:55:49 -0700

> On Feb 28, 2016, at 8:10 AM, Dave <email@hidden> wrote:
>
> the winddowDidLoad method of my Window Controller is getting called twice. Is this expected behaviour? The window is the NIB has no views setup in the window ContentView, I add them after the window NIB has loaded. I’m guessing the second call is when I add subviews to the Content View…..

As I understand, no. No need to guess—set a break point and know.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"


_______________________________________________

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


  • Follow-Ups:
    • Re: windowDidLoad getting called twice?
      • From: Dave <email@hidden>
    • Re: windowDidLoad getting called twice?
      • From: Dave <email@hidden>
References: 
 >windowDidLoad getting called twice? (From: Dave <email@hidden>)

  • Prev by Date: windowDidLoad getting called twice?
  • Next by Date: Re: windowDidLoad getting called twice?
  • Previous by thread: windowDidLoad getting called twice?
  • Next by thread: Re: windowDidLoad getting called twice?
  • Index(es):
    • Date
    • Thread