Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Mac > BOOK: Beginning Mac OS X Programming
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Beginning Mac OS X Programming
This is the forum to discuss the Wrox book Beginning Mac OS X Programming by Michael Trent, Drew McCormack; ISBN: 9780764573996
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Mac OS X Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 17th, 2006, 12:07 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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

  #2 (permalink)  
Old August 17th, 2006, 01:16 PM
Registered User
 
Join Date: Aug 2006
Location: , , .
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Oooops! Found the answer to #3. I accidentally named my class SlideShowImageView instead of SlideShowView. So that works now.

But any help on the other questions would be appreciated.

-Paul

  #3 (permalink)  
Old October 21st, 2006, 12:10 PM
Authorized User
 
Join Date: Aug 2005
Location: La Charité-sur-Loire, , France.
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have not the answer to #2, but I succeeded executing step by step the thirteen steps at the same page 318. Perhaps in the fourth it would be useful to tell: after changing file name, press carriage return key befor open the nib file? Excuse me if this does'nt help.

FJ
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
lost, please help me out... chriswinn Classic ASP Databases 4 January 26th, 2005 03:01 PM
Lost in Chapter 2 kyleridolfo BOOK: Expert One-on-One Access Application Development 0 January 5th, 2005 08:01 PM



All times are GMT -4. The time now is 03:04 AM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.