Skip to content

Commit

Permalink
Prepare for CocoaPods upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Oster committed Aug 12, 2015
1 parent b913edd commit 85e577d
Show file tree
Hide file tree
Showing 4 changed files with 93 additions and 2 deletions.
43 changes: 43 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# ROThumbnailGenerator
Creates Thumbnails....

## Installation

ROThumbnailGenerator is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "ROThumbnailGenerator"
```

## How to use
Todo

## License

```
The MIT License (MIT)
Copyright (c) 2015 Robin Oster (http://prine.ch)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
```

## Author

Robin Oster, [email protected]
38 changes: 38 additions & 0 deletions ROThumbnailGenerator.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Be sure to run `pod lib lint ROStorageBar.podspec' to ensure this is a
# valid spec and remove all comments before submitting the spec.
#
# Any lines starting with a # are optional, but encouraged
#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
s.name = "ROThumbnailGenerator"
s.version = "1.0.0"
s.summary = "Creates thumbnails of different file types very easily"
s.description = <<-DESC
It does create a thumbnail by the given file url. Creation of PDF, Image and Video thumbnails is per default supported.
With implementing the ROThumbnailGenerator it is very simple to add an additional ThumbnailGenerator for a missing file type.
DESC
s.homepage = "https://github.com/prine/ROThumbnailGenerator"
#s.screenshots = "https://raw.githubusercontent.com/prine/ROThumbnailGenerator/master/Screenshot.png"
s.license = 'MIT'
s.author = { "Robin Oster" => "[email protected]" }
s.source = { :git => "https://github.com/prine/ROThumbnailGenerator.git", :tag => s.version.to_s }
s.social_media_url = 'https://twitter.com/prinedev'

s.platform = :ios, '8.0'
s.requires_arc = true

s.source_files = 'Source/**/*'
s.resource_bundles = {
'ROBarcodeScanner' => ['Pod/Assets/*.png']
}

#s.resources = ["Source/*.Storyboard"]

# s.public_header_files = 'Pod/Classes/**/*.h'
# s.frameworks = 'UIKit', 'MapKit'
# s.dependency 'AFNetworking', '~> 2.3'
end
10 changes: 10 additions & 0 deletions ROThumbnailGenerator.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
CB3438B01B7B6A3C00EEB5DB /* TestMovie.mov in Resources */ = {isa = PBXBuildFile; fileRef = CB3438AF1B7B6A3C00EEB5DB /* TestMovie.mov */; };
CB3438B21B7B6A4900EEB5DB /* TestImage.png in Resources */ = {isa = PBXBuildFile; fileRef = CB3438B11B7B6A4900EEB5DB /* TestImage.png */; };
CB3438B41B7B6A8900EEB5DB /* TestPdf.pdf in Resources */ = {isa = PBXBuildFile; fileRef = CB3438B31B7B6A8900EEB5DB /* TestPdf.pdf */; };
CB3438BB1B7B71BB00EEB5DB /* README.md in Sources */ = {isa = PBXBuildFile; fileRef = CB3438B91B7B71BB00EEB5DB /* README.md */; };
CB3438BC1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec in Resources */ = {isa = PBXBuildFile; fileRef = CB3438BA1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand Down Expand Up @@ -54,6 +56,8 @@
CB3438AF1B7B6A3C00EEB5DB /* TestMovie.mov */ = {isa = PBXFileReference; lastKnownFileType = video.quicktime; path = TestMovie.mov; sourceTree = "<group>"; };
CB3438B11B7B6A4900EEB5DB /* TestImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = TestImage.png; sourceTree = "<group>"; };
CB3438B31B7B6A8900EEB5DB /* TestPdf.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = TestPdf.pdf; sourceTree = "<group>"; };
CB3438B91B7B71BB00EEB5DB /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
CB3438BA1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ROThumbnailGenerator.podspec; sourceTree = SOURCE_ROOT; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand Down Expand Up @@ -95,6 +99,8 @@
CB3438771B7B3BAF00EEB5DB /* ROThumbnailGenerator */ = {
isa = PBXGroup;
children = (
CB3438B91B7B71BB00EEB5DB /* README.md */,
CB3438BA1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec */,
CB34387A1B7B3BAF00EEB5DB /* AppDelegate.swift */,
CB34387C1B7B3BAF00EEB5DB /* ViewController.swift */,
CB34387E1B7B3BAF00EEB5DB /* Main.storyboard */,
Expand Down Expand Up @@ -230,6 +236,7 @@
CB3438B21B7B6A4900EEB5DB /* TestImage.png in Resources */,
CB3438801B7B3BAF00EEB5DB /* Main.storyboard in Resources */,
CB3438B01B7B6A3C00EEB5DB /* TestMovie.mov in Resources */,
CB3438BC1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec in Resources */,
CB3438851B7B3BAF00EEB5DB /* LaunchScreen.xib in Resources */,
CB3438821B7B3BAF00EEB5DB /* Images.xcassets in Resources */,
CB3438B41B7B6A8900EEB5DB /* TestPdf.pdf in Resources */,
Expand All @@ -256,6 +263,7 @@
CB34387B1B7B3BAF00EEB5DB /* AppDelegate.swift in Sources */,
CB3438AA1B7B3C3300EEB5DB /* VideoThumbnailGenerator.swift in Sources */,
CB3438A91B7B3C3300EEB5DB /* ROThumbnailGenerator.swift in Sources */,
CB3438BB1B7B71BB00EEB5DB /* README.md in Sources */,
CB3438A71B7B3C3300EEB5DB /* ImageThumbnailGenerator.swift in Sources */,
CB3438A81B7B3C3300EEB5DB /* PDFThumbnailGenerator.swift in Sources */,
);
Expand Down Expand Up @@ -455,6 +463,7 @@
CB3438961B7B3BAF00EEB5DB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
CB3438971B7B3BAF00EEB5DB /* Build configuration list for PBXNativeTarget "ROThumbnailGeneratorTests" */ = {
isa = XCConfigurationList;
Expand All @@ -463,6 +472,7 @@
CB3438991B7B3BAF00EEB5DB /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
4 changes: 2 additions & 2 deletions ROThumbnailGenerator/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<string>15224</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
Expand Down

0 comments on commit 85e577d

Please sign in to comment.