Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Possible Errata: Chapter 7

Hi There,

1 - In the first code snippet on page 216, shouldn't we include the declaration for the crunch.wav sound?

2 - In the fifth line in the paragraph on page 218, playerWon = playWinSound ??

Thanks.

Comments

  • edited February 2013
    I did have to change the code on the top of 216 to this:

    @implementation BIDCustomPickerViewController

    {

        SystemSoundID winSoundID;

        SystemSoundID crunchSoundID;

    }


    to get it to compile.

    I didn't have to do anything different to the code on page 218.  What goes in the parenthesis of @selector is the method to call after the delay timer has expired.  "playWinSound" and "showButton" are the two methods added in the middle of page 216.
  • Thanks for the heads up. Will add this to the official errata.

    // Fredrik
Sign In or Register to comment.