Why I see two windows?


#1

I think I followed along the first example from the chapter one. I see two windows; one with no context and one with the actual content. Am I missing something?


#2

also, I see from the log view…

2015-04-27 10:53:02.677 MyRandomPassword[5596:81726] Failed to connect (window) outlet from (MyRandomPassword.AppDelegate) to (NSWindow): missing setter or instance variable

==

In anyway, the program is functional. The only problem is that I see two windows when I ran.


#3

Sorry ignore my two windows issue. I didn’t follow the direction from page 16. Once I followed it, it worked, no warning either.


#4

Could you please mention what instruction was important to avoid the second window? I have the same problem, tried several times but I cannot get rid of the second window. Thanks.


#5

Im getting two windows as well… Any advice as to whats happening?


#6

Figured it out… I had missed the part about deleting the window from the MainMenu.XIB file.


#7

Thanks diableo, I had missed the same thing


#8

You can remove the fail to connect to window outlet by keeping the line of code they tell you to remove. That is, keep the @IBOutlet weak var window: NSWindow! line of code.


#9

great to be here thanks for help