TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | BSD |
ReleasedLast Release | Nov 2017 |
SPMSupports SPM | ✗ |
Maintained by Gaston Montes.
================
GMSimplePLayer is a customizable view player.
You can customize It styling via code or via Interface Builder.
To use It you can create an instance with It's initializer or just add a GMPlayer view to your .xib file.
If you do not want to customize the Player don't worry! The GMPlayer has a basic styling.
You can play a single track or multiples tracks.
You can customize:
To run the example project, follow these steps:
git clone https://github.com/GastonMontes/GMSimplePlayer.git
.cd GMSimplePlayer/Example/
.pod install
.open GMSimplePlayer.xcworkspace
.GMSimplePlayer Version | Minimum iOS Target | Minimum OS X Target | Notes |
---|---|---|---|
1.0.0 | iOS 11.0 | OS X 10.12.6 | Xcode 9 required. |
CocoaPods is a dependency manager for iOS, which automates and simplifies the process of using 3rd-party libraries in your projects.
CocoaPods is distributed as a ruby gem, and is installed by running the following commands in Terminal.app:
$ sudo gem install cocoapods
$ pod setup
In the project root folder, run the following command to create a Podfile:
$ pod init
If an YOURXCODEPROJECTFILE
project file is specified or if there is only a single project file in the current directory, targets will be automatically generated based on targets defined in the project.
An empty Podfile was created, so we are going to add dependencies to the Podfile specifying pods versions:
To use the latest version of a Pod, ommit the version specification:
pod 'GMSimplePlayer'
Freezing to a specific Pod version:
pod 'GMSimplePlayer', '1.0.0'
Using logical
operators:
'> 0.1'
, Any version higher than 0.1.'>= 0.1'
, Any version higher or equal to 0.1.'< 0.1'
, Any version lower than 0.1.'<= 0.1'
, Any version lower or equal to 0.1.Using optimistic
operators:
'~> 0.1.0'
, Version 0.1.0 or higher up to 0.2, not including 0.2.'~> 0.1'
, Version 0.1 or higher up to 1.0, not including 1.0.Install Pods dependencies in your project. Run the following commands:
$ pod install
From now on, be sure to always open the generated Xcode workspace (.xcworkspace) instead of the project file when building your project.
GMSimplePlayer is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'GMSimplePlayer'
Gaston Montes, [email protected]
GMSimplePlayer is available under the BSD license. See the LICENSE file for more info.