How to play the next sound after the first sound is finished playing using AVAudioPlayer

2009-05-04 Thread Bess Ho
// Notify Delegate for audioPlayerDidFinishPlaying [player prepareToPlay]; [player play]; } } - (void)audioPlayerDidFinishPlaying:(AVAudioPlayer*)player successfully: (BOOL)flag { if (player == playSound) NSLog(@"Finish playing"); } -- Bess Ho __

Re: iphone SDK session duration

2009-04-29 Thread Bess Ho
urs before your post: > > Am 29.04.2009 um 02:10 schrieb Bess Ho: > > *** -[NSObject timeIntervalSinceReferenceDate]: unrecognized selector sent >> to instance 0x521fe0 >> 2009-04-28 17:07:32.283 sessiontime[22584:20b] CoreAnimation: ignoring >> exception: *** -[NSObje

Re: iphone SDK session duration

2009-04-28 Thread Bess Ho
ion below? > > Luke > > On Apr 21, 2009, at 10:49 PM, Bess Ho wrote: > > I couldn't get any working responses from iphone developer forum or iphone > meetup group. I am hoping that this group with more experience cocoa > developers with understanding on MVC model, X

iphone SDK session duration

2009-04-21 Thread Bess Ho
Is this appropriate mailing list to ask iphone SDK questions? How do you measure session duration on a utility application with 3 ViewControllers? Use NSDate to mark the starting and ending the session and print the time lapsed on NSLog. -- Bess Ho