-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #86 from mobileplayer/fix/pod-resources
Fix cocoapods resource issues
- Loading branch information
Showing
43 changed files
with
162 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,17 @@ | ||
Pod::Spec.new do |s| | ||
s.name = "MobilePlayer" | ||
s.version = "1.0.0" | ||
s.summary = "A powerful and completely customizable media player for iOS." | ||
s.homepage = "https://github.com/mobileplayer/mobileplayer-ios" | ||
s.license = 'CC' | ||
s.author = { "Barış Şencan" => "[email protected]", | ||
"Toygar Dündaralp" => "[email protected]", | ||
"Cem Olcay" => "[email protected]", | ||
"Şahin Boydaş" => "[email protected]" } | ||
s.source = { :git => "https://github.com/mobileplayer/mobileplayer-ios.git", :tag => s.version.to_s } | ||
s.platform = :ios, '8.0' | ||
s.requires_arc = true | ||
s.frameworks = 'UIKit', 'MediaPlayer' | ||
s.source_files = 'MobilePlayer/**/*.swift' | ||
s.name = "MobilePlayer" | ||
s.version = "1.0.1" | ||
s.summary = "A powerful and completely customizable media player for iOS." | ||
s.homepage = "https://github.com/mobileplayer/mobileplayer-ios" | ||
s.license = 'CC' | ||
s.author = { "Barış Şencan" => "[email protected]", | ||
"Toygar Dündaralp" => "[email protected]", | ||
"Cem Olcay" => "[email protected]", | ||
"Şahin Boydaş" => "[email protected]" } | ||
s.source = { :git => "https://github.com/mobileplayer/mobileplayer-ios.git", :tag => s.version.to_s } | ||
s.platform = :ios, '8.0' | ||
s.requires_arc = true | ||
s.frameworks = 'UIKit', 'MediaPlayer' | ||
s.source_files = 'MobilePlayer/**/*.swift' | ||
s.resource_bundle = { 'MobilePlayer' => 'MobilePlayer/**/*.png' } | ||
end |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// UIImage+CocoaPods.swift | ||
// MobilePlayer | ||
// | ||
// Created by Baris Sencan on 16/11/2015. | ||
// Copyright © 2015 MovieLaLa. All rights reserved. | ||
// | ||
|
||
import UIKit | ||
|
||
extension UIImage { | ||
|
||
convenience init?(podResourceNamed name: String) { | ||
let bundleUrl = NSBundle(forClass: MobilePlayerViewController.self).URLForResource("MobilePlayer", withExtension: "bundle")! | ||
let bundle = NSBundle(URL: bundleUrl) | ||
self.init(named: name, inBundle: bundle, compatibleWithTraitCollection:nil) | ||
} | ||
|
||
var template: UIImage { | ||
return imageWithRenderingMode(.AlwaysTemplate) | ||
} | ||
} |
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLCloseButton.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLIncreaseVolume.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-66.2 KB
MobilePlayer/Images.xcassets/MLIncreaseVolume.imageset/MLIncreaseVolume.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLPauseButton.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLPlayButton.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLReduceVolume.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-74.8 KB
MobilePlayer/Images.xcassets/MLReduceVolume.imageset/MLReduceVolume.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLShareButton.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-75.9 KB
MobilePlayer/Images.xcassets/MLShareButton.imageset/ShareButton.pdf
Binary file not shown.
13 changes: 0 additions & 13 deletions
13
MobilePlayer/Images.xcassets/MLVolumeButton.imageset/Contents.json
This file was deleted.
Oops, something went wrong.
Binary file removed
BIN
-98.6 KB
MobilePlayer/Images.xcassets/MLVolumeButton.imageset/MLVolumeButton.pdf
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters