diff --git a/README.md b/README.md new file mode 100644 index 0000000..92f4aae --- /dev/null +++ b/README.md @@ -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, robin.oster@rascor.com diff --git a/ROThumbnailGenerator.podspec b/ROThumbnailGenerator.podspec new file mode 100644 index 0000000..2dc6b29 --- /dev/null +++ b/ROThumbnailGenerator.podspec @@ -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" => "robin.oster@rascor.com" } +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 diff --git a/ROThumbnailGenerator.xcodeproj/project.pbxproj b/ROThumbnailGenerator.xcodeproj/project.pbxproj index 69e83d1..f500c97 100644 --- a/ROThumbnailGenerator.xcodeproj/project.pbxproj +++ b/ROThumbnailGenerator.xcodeproj/project.pbxproj @@ -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 */ @@ -54,6 +56,8 @@ CB3438AF1B7B6A3C00EEB5DB /* TestMovie.mov */ = {isa = PBXFileReference; lastKnownFileType = video.quicktime; path = TestMovie.mov; sourceTree = ""; }; CB3438B11B7B6A4900EEB5DB /* TestImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = TestImage.png; sourceTree = ""; }; CB3438B31B7B6A8900EEB5DB /* TestPdf.pdf */ = {isa = PBXFileReference; lastKnownFileType = image.pdf; path = TestPdf.pdf; sourceTree = ""; }; + 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 */ @@ -95,6 +99,8 @@ CB3438771B7B3BAF00EEB5DB /* ROThumbnailGenerator */ = { isa = PBXGroup; children = ( + CB3438B91B7B71BB00EEB5DB /* README.md */, + CB3438BA1B7B71BB00EEB5DB /* ROThumbnailGenerator.podspec */, CB34387A1B7B3BAF00EEB5DB /* AppDelegate.swift */, CB34387C1B7B3BAF00EEB5DB /* ViewController.swift */, CB34387E1B7B3BAF00EEB5DB /* Main.storyboard */, @@ -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 */, @@ -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 */, ); @@ -455,6 +463,7 @@ CB3438961B7B3BAF00EEB5DB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; CB3438971B7B3BAF00EEB5DB /* Build configuration list for PBXNativeTarget "ROThumbnailGeneratorTests" */ = { isa = XCConfigurationList; @@ -463,6 +472,7 @@ CB3438991B7B3BAF00EEB5DB /* Release */, ); defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/ROThumbnailGenerator/Info.plist b/ROThumbnailGenerator/Info.plist index 4362709..235f702 100644 --- a/ROThumbnailGenerator/Info.plist +++ b/ROThumbnailGenerator/Info.plist @@ -15,11 +15,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.0 + 1.0.0 CFBundleSignature ???? CFBundleVersion - 1 + 15224 LSRequiresIPhoneOS UILaunchStoryboardName