Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 936 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 936 Bytes

JBAudioPlayerView

Simple view component for playing audio files in iOS. Suitable for usage in UITableView and UICollectionView.

alt tag

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like JBMessage in your projects.

Podfile

platform :ios, '7.0'
pod 'JBAudioPlayerView'

USAGE

You can use it from Storyboards, XIBs or directly from code. It uses AutoLayou by default but if you wish to turn it off just set useAutoLayout to NO.

JBAudioPlayerView *fromCode = [[JBAudioPlayerView alloc] initWithFrame:CGRectMake(10.0f, 10.0f, 200.0f, 50.0f)];
fromCode.backgroundColor = [UIColor yellowColor];
fromCode.useAutoLayout = NO;
[self.view addSubview:fromCode];