Ligr / ASAudioPlayer

A simple audio player which can play audio file from remote or local links.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASAudioPlayer

Version License Platform

Overview

ASAudioPlayer is a simple audio player which can play audio file from remote or local links provided a NSURL.

Usage

import ASAudioPlayer

let audioPlayer = ASAudioPlayer(frame: CGRectMake(0, 50, 300, 100))
audioPlayer.setUrl(url)
self.view.addSubview(audioPlayer)

Requirements

  • ARC
  • iOS7 or above

Installation

ASAudioPlayer is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "ASAudioPlayer"

Example Project

An example project is included with this repo. To run the example project, clone the repo, and run pod install from the Example directory first.

Author

Ankit Shah, shahankit2313@gmail.com

License

ASAudioPlayer is available under the MIT license. See the LICENSE file for more info.

About

A simple audio player which can play audio file from remote or local links.

License:MIT License


Languages

Language:Shell 47.7%Language:Swift 44.1%Language:Ruby 5.5%Language:Objective-C 2.7%