GithubHelp home page GithubHelp logo

wangcrystal / musicplayerviewcontroller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from beamapp/musicplayerviewcontroller

0.0 2.0 0.0 1.97 MB

An iPhone view controller to visualize and control music playback

License: Other

musicplayerviewcontroller's Introduction

MusicPlayerViewController Build Status

SCreenshot

MusicPlayerViewController aimes to be a drop-in component that serves as an UI for a Music Player on iPhone and iPhad by replicating the Music.app's user interface.

MusicPlayerViewController has the following features

  • UI for iPhone and iPad
  • Support for variable-speed scrobbling
  • Support for resolution/device-dependent cover art
  • Controllable using a data source and an optional delegate
  • Three Repeat Modes and Shuffle mode

Usage

You can read the full API Reference at CocoaDocs, but using the component itself is simple. Since it is derived from a standard UIViewController, you can just instantiate it, set a delegate and datasource and are good to go.

BeamMusicPlayerViewController* controller = [BeamMusicPlayerViewController new];
controller.delegate = self;
controller.dataSource = self;
// Push the controller or something else

The Project contains an example that uses the MediaLibrary to provide data for the UI. You can use this as an starting point.

Installation

To use MusicPlayerViewController in your Project, just

  1. Clone this repository or add it as submodule to your repository
  2. Add all files from Source/ to your project's target
  3. Add the frameworks MessageUI and MediaPlayer to your target

Alternatively, you can use the fabulous CocoaPods:

  1. add the dependency pod 'BeamMusicPlayerViewController' in your podfile
  2. run pod install

and you are done.

Development

You are more than welcome to contribute code to this project! Since this project relies on CocoaPods while describing a Pod itself, make sure to open BeamMusicPlayerExample.xcworkspace instead of the project file.

License

The Project is licensed under the new BSD License (see file LICENSE).

© 2013 Beam App UG ( haftungsbeschränkt )

musicplayerviewcontroller's People

Contributors

bsstokes avatar hbehrens avatar hminning avatar monr0e avatar moritzh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.