|
| 1 | +# |
| 2 | +# Be sure to run `pod spec lint JSImageLoader.podspec' to ensure this is a |
| 3 | +# valid spec and to remove all comments including this before submitting the spec. |
| 4 | +# |
| 5 | +# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
| 6 | +# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
| 7 | +# |
| 8 | + |
| 9 | +Pod::Spec.new do |s| |
| 10 | + |
| 11 | + # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 12 | + # |
| 13 | + # These will help people to find your library, and whilst it |
| 14 | + # can feel like a chore to fill in it's definitely to your advantage. The |
| 15 | + # summary should be tweet-length, and the description more in depth. |
| 16 | + # |
| 17 | + |
| 18 | + s.name = "JSImageLoader" |
| 19 | + s.version = "1.0.0" |
| 20 | + s.summary = "Image loading and caching on iOS" |
| 21 | + |
| 22 | + s.description = <<-DESC |
| 23 | + This is a simple image caching and loading library for iOS. |
| 24 | + It includes a persistent disk cache which is capped to a max |
| 25 | + size that you can set. |
| 26 | + DESC |
| 27 | + |
| 28 | + s.homepage = "http://jernejstrasner.com/" |
| 29 | + # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" |
| 30 | + |
| 31 | + |
| 32 | + # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 33 | + # |
| 34 | + # Licensing your code is important. See http://choosealicense.com for more info. |
| 35 | + # CocoaPods will detect a license file if there is a named LICENSE* |
| 36 | + # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. |
| 37 | + # |
| 38 | + |
| 39 | + s.license = "MIT" |
| 40 | + # s.license = { :type => "MIT", :file => "FILE_LICENSE" } |
| 41 | + |
| 42 | + |
| 43 | + # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 44 | + # |
| 45 | + # Specify the authors of the library, with email addresses. Email addresses |
| 46 | + # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also |
| 47 | + # accepts just a name if you'd rather not provide an email address. |
| 48 | + # |
| 49 | + # Specify a social_media_url where others can refer to, for example a twitter |
| 50 | + # profile URL. |
| 51 | + # |
| 52 | + |
| 53 | + s.author = { "Jernej Strasner" => "[email protected]" } |
| 54 | + # Or just: s.author = "Jernej Strasner" |
| 55 | + # s.authors = { "Jernej Strasner" => "[email protected]" } |
| 56 | + s.social_media_url = "http://twitter.com/JernejStrasner" |
| 57 | + |
| 58 | + # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 59 | + # |
| 60 | + # If this Pod runs only on iOS or OS X, then specify the platform and |
| 61 | + # the deployment target. You can optionally include the target after the platform. |
| 62 | + # |
| 63 | + |
| 64 | + # s.platform = :ios |
| 65 | + s.platform = :ios, "6.0" |
| 66 | + |
| 67 | + # When using multiple platforms |
| 68 | + # s.ios.deployment_target = "5.0" |
| 69 | + # s.osx.deployment_target = "10.7" |
| 70 | + |
| 71 | + |
| 72 | + # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 73 | + # |
| 74 | + # Specify the location from where the source should be retrieved. |
| 75 | + # Supports git, hg, bzr, svn and HTTP. |
| 76 | + # |
| 77 | + |
| 78 | + s.source = { :git => "https://github.com/jernejstrasner/JSImageLoader.git", :tag => "1.0.0" } |
| 79 | + |
| 80 | + |
| 81 | + # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 82 | + # |
| 83 | + # CocoaPods is smart about how it includes source code. For source files |
| 84 | + # giving a folder will include any h, m, mm, c & cpp files. For header |
| 85 | + # files it will include any header in the folder. |
| 86 | + # Not including the public_header_files will make all headers public. |
| 87 | + # |
| 88 | + |
| 89 | + s.source_files = "Library" |
| 90 | + |
| 91 | + # s.public_header_files = "Classes/**/*.h" |
| 92 | + |
| 93 | + |
| 94 | + # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 95 | + # |
| 96 | + # A list of resources included with the Pod. These are copied into the |
| 97 | + # target bundle with a build phase script. Anything else will be cleaned. |
| 98 | + # You can preserve files from being cleaned, please don't preserve |
| 99 | + # non-essential files like tests, examples and documentation. |
| 100 | + # |
| 101 | + |
| 102 | + # s.resource = "icon.png" |
| 103 | + # s.resources = "Resources/*.png" |
| 104 | + |
| 105 | + # s.preserve_paths = "FilesToSave", "MoreFilesToSave" |
| 106 | + |
| 107 | + |
| 108 | + # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 109 | + # |
| 110 | + # Link your library with frameworks, or libraries. Libraries do not include |
| 111 | + # the lib prefix of their name. |
| 112 | + # |
| 113 | + |
| 114 | + s.framework = "UIKit" |
| 115 | + # s.frameworks = "SomeFramework", "AnotherFramework" |
| 116 | + |
| 117 | + # s.library = "iconv" |
| 118 | + # s.libraries = "iconv", "xml2" |
| 119 | + |
| 120 | + |
| 121 | + # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
| 122 | + # |
| 123 | + # If your library depends on compiler flags you can set them in the xcconfig hash |
| 124 | + # where they will only apply to your library. If you depend on other Podspecs |
| 125 | + # you can include multiple dependencies to ensure it works. |
| 126 | + |
| 127 | + s.requires_arc = true |
| 128 | + |
| 129 | + # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } |
| 130 | + # s.dependency "JSONKit", "~> 1.4" |
| 131 | + |
| 132 | +end |
0 commit comments