Wednesday, May 9, 2012

How to do Tutorials in iAd Producer Book Using 2.1

The iAd Production Beginner's Guide, by Ben Collier, came out almost two months before iAd Producer 2.1 did, so it refers to an earlier version of the program. Because iAd Producer 2.1 has gone through updates, some of the lessons in the book have to be done differently than the book describes. If you choose to get this book and do these lessons, you may also want to read Apple's help guide on how to use iAd Producer 2.1. Here's how to do these lessons in the book using iAd Producer 2.1:

Page 79:
iAd Producer 2.1 no longer has the Shake for Change template. In order to make images change and play a sound every time you shake the device, first double-click a new page in the Overview, and choose a gallery template for this page. Then double-click this page to open it up. Once you're inside this page, drag all the images you want in this gallery from the Assets section into the gallery object. Click the gallery object to select it, then select Code menu > Page Events > View Did Shake > galleryView - Change Cell. With the gallery object still selected, inside the Inspector, go to the Interaction section and select Play Audio in the pulldown menu under the words "Did Select Cell." In the field underneath this pulldown menu, type the name of the sound file you want to play, or load it by clicking the button with the arrow pointing down, next to this field.

Pages 102-106:
Don't bother looking for a version of iAd Tester inside the Development folder of your Mac, because you won't find neither. Now you can copy iAds and, if you don't already have it, install iAd Tester to your iOS device at the same time. To do this, simply open an iAD in iAd Producer and select either Export menu > Upload to Device, or Export menu > Debug on Device. A window will appear, saying: "iAd Tester is not installed on the (iOS device). Do you want to install iAd on this device?" Click Install. Additional windows will appear, telling you to install the profile, and to complete the installation of this profile on your device. Once you've done those things, iAd Tester is now on your device.

Page 113:
Project Warnings can now be viewed by selecting Window menu > Project Warnings, not Export > Show Project Warnings.

Page 131:
iAd Producer 2.1 no longer has the Minimum Display Duration in the Inspector when no elements are selected.

Page 132:
iAd Producer 2.1 no longer has the Wave template.

Page 138:
iAd Producer 2.1 no longer has the Wallpaper Picker template.

Page 257:
Analytics in no longer inside Inspector. Analytics is accessed by selecting Window menu > Analytics, which causes a big box listing all the pages in your ad, and objects inside them, to appear. Track any object or page by getting them to generate logging events by first checking the objects, then check the Enable Logging for Analytics box.

Page 258:
Step 4: you select Code menu > Project Events > Did Finish Launching > Execute Javascript.

Step 6: Debugger is accessed by selecting Window menu > Debugger.
Step 8: in Debugger, Run Log pane is accessed by clicking Console icon, then Logs button underneath.

Page 261, Step 2:
In Analytics box, specify Section by first checking the object to be tracked, then highlighting this object, and checking Enable Logging for Analytics box at the bottom. Underneath, there is a field for the Section name under the Reference ID field.

Page 271:
In Xcode in Mac OS X 10.7.3 (Lion), there is no iAd_Demo_AppViewController.xib. Instead, click MainStoryboard.storyboard.

Page 272:
In Xcode, you access Object Library by selecting View menu > Utilities > Show Object Library.

Page 275:
Next to the Stop button in the upper left-hand corner of Xcode, you will find two buttons. The left button contains the name of your app. The right button contains the names of devices and simulators. When you click the right button, you will find a pulldown menu. Select the name of your iOS device in this menu.

Page 279:
Don't type "return (interfaceOrientation == UIInterfaceOrientationPortrait);."

Page 280:
Instead of File's Owner icon, it's View Controller icon, in View Controller Scene.

Page 281, Step 17:
The file where this long block of code goes before the @end line is ViewController.m. The user must also type a dash before this block of code.

Page 286, Step 11:
There needs to be a dash before this block of code.

No comments: