I originally posted this on the QT API list, but have had it suggested that this is a more appropriate venue. I apologize for the cross posting.
I am working through the QuickTime Kit Programming Guide and having another difficulty re-creating the exercise.
I'm using OS 10.4.2, XCode 2.1, Interface Builder 2.5.1 on a PowerBook G4 1.25 GHz.
Chapter 6 (Adding Multimedia Playback Capability), Step 5 of Constructing the Multimedia Playback Engine says:
"For SplitView and ScrollView, you need to drag a CustomView object into the window and then set the class using the CustomClass pop-up NSSplitView and NSScrollView, respectively. "
Step 11 directs me to "Specify the window attributes for the Split View, shown in Figure 6-8.
My Inspector window does not look like the one shown. There is only one lonely check box labeled "hidden."
So I went to the Developer->Examples->QuickTime->QTKit folder and took a look there to see what it looked like there and of course, it looks like the documentation.
The first difference that I can see is that when I click on the CustomView object that I've dragged into the "Play Multimedia Content" window, and then press the Cmd-1 keys to bring up the attribute inspector, the name at the top of my inspector is "NSView (Custom) Inspector". I chose "Custom Class" (Cmd-5) from the dropdown, and selected NSSplitView from the very long list of choices. Now the top of that window says "NSSplitView (Custom) Inspector."
In the example QTKit project, "(Custom)" is not in the title of the Custom Class inspector window, and there is only one choice, and that is NSSplitView.
The only other difference that I notice is that in the documentation and example in the "Play Multimedia Content" window, there are little bullets between each of the QTMovieView objects that aren't there in my attempts. And the Inspector window says inspector instead of info.
What should I be doing differently to get the Attributes inspector to show the Orientation and Type information as in Figure 6-8?
I run into the identical problem with the Scroll View steps.
Thanks, Dave |