Lost in Chapter 8
Some things for this SlideShow project don't seem to be working correctly and I can't figure out way. I'm sure I messed up someplace but I can't seem to find where...
1: I notice that in the early builds (before you replace the default MyDocument class) that when you launch SlideShow that it opens the default window with "Your contents here". Yes you can open an image file with the correct nib but is this window supposed to be there? Is this right or am I just getting ahead of myself?
2: After I replaced the MyDocument class with ImageDocumentClass, I did and Build and Run and got the error message that the nib file "SlideShowDocument" can't be found. Which makes sense, but on page 318 they specifically tell you to rename the file "SlideShowWindow.nib" Under SlideShowDocument.m am I supposed to change the name of the nib file under the windowNibName method??
3: On pages 320 and 321 where you add your own NSImageView subclass, I did all of that and it runs. What I don't understandd is this, on page 319 they specifically say "Don't wrap the image view in a scroll view" and I didn't. But on page 321 it says "... and scroll bars will appear when the window is small". Mine do not. What am I doing wrong?
Thanks in advance,
-Paul
|