SkillAgentSearch skills...

SimpleAudioPlayer

SimpleAudioPlayer is a simple wrapper for AVAudioPlayer

Install / Use

/learn @owlcoding/SimpleAudioPlayer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

SimpleAudioPlayer

SimpleAudioPlayer is a simple wrapper for AVAudioPlayer

Usage

To use it, make:

[SimpleAudioPlayer playFile:@"filename.mp3"];

or

[SimpleAudioPlayer playFile:@"filename.mp3" withCompletionBlock:^(BOOL finished) {
    NSLog(@"Finished playing");
}];

Instalation

Using CocoaPods:

Add to your Podfile

pod 'SimpleAudioPlayer' 

then run

pod update

Not using CocoaPods:

Drag the .m and .h file to your project, make sure you have the AVFoundation framework added to your project and off - you go!

View on GitHub
GitHub Stars59
CategoryDevelopment
Updated3y ago
Forks13

Languages

Objective-C

Security Score

80/100

Audited on Aug 17, 2022

No findings