Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-23-2009, 10:56 PM   #14 (permalink)
deansx
Objective-C Code Monkey
 
deansx's Avatar
 
Join Date: May 2009
Location: Mountain View, CA
Posts: 127
deansx is on a distinguished road
Default

Did you notice that I changed the spot for

Code:
#import <AVFoundation/AVAudioPlayer.h>
from the source file to the .h file?

This allowed me to declare theAudio in the header. I noticed that, in the fragment of source you copied above, you were still importing the file in the source.
deansx is offline   Reply With Quote
 

» Advertisements
» Online Users: 470
19 members and 451 guests
bignoggins, buggen, ClerurcifeDer, Clouds, dana0550, Duncan C, iAppDeveloper, ipodphone, krisk, linkmx, QuantumDoja, ryantcb, sacha1996, Sami Gh, sirenum, stanny, Steven.C, Studder, yomo710
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,638
Threads: 94,102
Posts: 402,827
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Studder
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.