Challenge solution using a sheet?


#1

Looking at the solution to the challenge it seems to me that it doesn’t create a sheet but rather just a separate window, almost like it’s faking a document based application. The chapter on sheets says a sheet it “simply an NSWindow instance that is attached to another window” and then the chapter follows with us using the existing xib to create the window and then we attach it. It’s very clear.

But this is not done in the solution. Rather a totally new xib is created and a separate controller for it and basically it is completely different then the chapter on sheets. Plus I don’t think it’s attached to the existing window at all but just uses data that it grabs from the delegate.

Am I missing something here?