¡@

Home 

2014/10/15 ¤U¤È 10:14:19

iphone Programming Glossary: soundsinchain

Objective-C Category and new iVar

http://stackoverflow.com/questions/10502539/objective-c-category-and-new-ivar

... @end And the .m file with the extension #import SoundChainHelper.h @interface SimpleAudioEngine NSMutableArray soundsInChain int currentSound @end @implementation SimpleAudioEngine SoundChainHelper read in all filenames and start off playing process.. read in all filenames and start off playing process void playSoundChainWithFileNames NSString filename ... soundsInChain NSMutableArray alloc initWithCapacity 5 va_list params va_start params filename while filename soundsInChain addObject filename.. ... soundsInChain NSMutableArray alloc initWithCapacity 5 va_list params va_start params filename while filename soundsInChain addObject filename filename va_arg params NSString va_end params currentSound 0 self cdAudioSourceDidFinishPlaying nil play..