diff --git a/.swift-version b/.swift-version new file mode 100644 index 0000000..9f55b2c --- /dev/null +++ b/.swift-version @@ -0,0 +1 @@ +3.0 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..1df6748 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +# references: +# * http://www.objc.io/issue-6/travis-ci.html +# * https://github.com/supermarin/xcpretty#usage + +osx_image: xcode7.3 +language: objective-c +# cache: cocoapods +# podfile: Example/Podfile +# before_install: +# - gem install cocoapods # Since Travis is not always on latest version +# - pod install --project-directory=Example +script: +- set -o pipefail && xcodebuild test -workspace Example/DIImageView.xcworkspace -scheme DIImageView-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty +- pod lib lint diff --git a/DIImageView.podspec b/DIImageView.podspec new file mode 100644 index 0000000..7b90529 --- /dev/null +++ b/DIImageView.podspec @@ -0,0 +1,30 @@ +# +# Be sure to run `pod lib lint DIImageView.podspec' to ensure this is a +# valid spec before submitting. +# +# Any lines starting with a # are optional, but their use is encouraged +# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html +# + +Pod::Spec.new do |s| + s.name = 'DIImageView' + s.version = '1.0.0' + s.summary = 'A Snapchat-inspired caption integrated within a regular UIImageView' + + s.homepage = 'https://github.com/danielinoa/DIImageView' + # s.screenshots = 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png', 'https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png' + s.license = { :type => 'MIT', :file => 'LICENSE' } + s.author = { 'danielinoa' => 'danielinoa@gmail.com' } + s.source = { :git => 'https://github.com/danielinoa/DIImageView.git', :tag => s.version.to_s } + s.social_media_url = 'https://twitter.com/danielinoa_' + + s.ios.deployment_target = '8.0' + + s.source_files = 'DIImageView/Classes/**/*' + + # s.resource_bundles = { + # 'DIImageView' => ['DIImageView/Assets/*.png'] + # } + + # s.public_header_files = 'Pod/Classes/**/*.h' +end diff --git a/DIImageView.xcodeproj/project.pbxproj b/DIImageView.xcodeproj/project.pbxproj deleted file mode 100644 index b9115e9..0000000 --- a/DIImageView.xcodeproj/project.pbxproj +++ /dev/null @@ -1,289 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 012B74521D505C330054E4DA /* DIImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 012B744B1D505C330054E4DA /* DIImageView.swift */; }; - 012B74531D505C330054E4DA /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 012B744C1D505C330054E4DA /* AppDelegate.swift */; }; - 012B74551D505C330054E4DA /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 012B744E1D505C330054E4DA /* Main.storyboard */; }; - 012B74561D505C330054E4DA /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 012B744F1D505C330054E4DA /* Assets.xcassets */; }; - 012B74571D505C330054E4DA /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 012B74501D505C330054E4DA /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXFileReference section */ - 012B744B1D505C330054E4DA /* DIImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DIImageView.swift; sourceTree = ""; }; - 012B744C1D505C330054E4DA /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 012B744E1D505C330054E4DA /* Main.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = ""; }; - 012B744F1D505C330054E4DA /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 012B74501D505C330054E4DA /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = ""; }; - 012B74511D505C330054E4DA /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 0154EBE81D4ED868008AEB8A /* DIImageVIew.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DIImageVIew.app; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 0154EBE51D4ED868008AEB8A /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0154EBDF1D4ED868008AEB8A = { - isa = PBXGroup; - children = ( - 0154EBEA1D4ED868008AEB8A /* DIImageVIew */, - 0154EBE91D4ED868008AEB8A /* Products */, - ); - sourceTree = ""; - }; - 0154EBE91D4ED868008AEB8A /* Products */ = { - isa = PBXGroup; - children = ( - 0154EBE81D4ED868008AEB8A /* DIImageVIew.app */, - ); - name = Products; - sourceTree = ""; - }; - 0154EBEA1D4ED868008AEB8A /* DIImageVIew */ = { - isa = PBXGroup; - children = ( - 012B744B1D505C330054E4DA /* DIImageView.swift */, - 012B744C1D505C330054E4DA /* AppDelegate.swift */, - 012B744E1D505C330054E4DA /* Main.storyboard */, - 012B744F1D505C330054E4DA /* Assets.xcassets */, - 012B74501D505C330054E4DA /* LaunchScreen.storyboard */, - 012B74511D505C330054E4DA /* Info.plist */, - ); - path = DIImageVIew; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 0154EBE71D4ED868008AEB8A /* DIImageVIew */ = { - isa = PBXNativeTarget; - buildConfigurationList = 0154EBFA1D4ED868008AEB8A /* Build configuration list for PBXNativeTarget "DIImageVIew" */; - buildPhases = ( - 0154EBE41D4ED868008AEB8A /* Sources */, - 0154EBE51D4ED868008AEB8A /* Frameworks */, - 0154EBE61D4ED868008AEB8A /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = DIImageVIew; - productName = DIImageVIew; - productReference = 0154EBE81D4ED868008AEB8A /* DIImageVIew.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 0154EBE01D4ED868008AEB8A /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0820; - ORGANIZATIONNAME = "Daniel Inoa"; - TargetAttributes = { - 0154EBE71D4ED868008AEB8A = { - CreatedOnToolsVersion = 7.3.1; - DevelopmentTeam = A8SJS26GGQ; - LastSwiftMigration = 0810; - }; - }; - }; - buildConfigurationList = 0154EBE31D4ED868008AEB8A /* Build configuration list for PBXProject "DIImageView" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 0154EBDF1D4ED868008AEB8A; - productRefGroup = 0154EBE91D4ED868008AEB8A /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 0154EBE71D4ED868008AEB8A /* DIImageVIew */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 0154EBE61D4ED868008AEB8A /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 012B74571D505C330054E4DA /* LaunchScreen.storyboard in Resources */, - 012B74561D505C330054E4DA /* Assets.xcassets in Resources */, - 012B74551D505C330054E4DA /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 0154EBE41D4ED868008AEB8A /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 012B74531D505C330054E4DA /* AppDelegate.swift in Sources */, - 012B74521D505C330054E4DA /* DIImageView.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin XCBuildConfiguration section */ - 0154EBF81D4ED868008AEB8A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - 0154EBF91D4ED868008AEB8A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 9.3; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 0154EBFB1D4ED868008AEB8A /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - DEVELOPMENT_TEAM = A8SJS26GGQ; - INFOPLIST_FILE = DIImageVIew/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.danielinoa.DIImageVIew; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 3.0; - }; - name = Debug; - }; - 0154EBFC1D4ED868008AEB8A /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - DEVELOPMENT_TEAM = A8SJS26GGQ; - INFOPLIST_FILE = DIImageVIew/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.danielinoa.DIImageVIew; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 0154EBE31D4ED868008AEB8A /* Build configuration list for PBXProject "DIImageView" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0154EBF81D4ED868008AEB8A /* Debug */, - 0154EBF91D4ED868008AEB8A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 0154EBFA1D4ED868008AEB8A /* Build configuration list for PBXNativeTarget "DIImageVIew" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 0154EBFB1D4ED868008AEB8A /* Debug */, - 0154EBFC1D4ED868008AEB8A /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 0154EBE01D4ED868008AEB8A /* Project object */; -} diff --git a/DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/xcschememanagement.plist b/DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/xcschememanagement.plist deleted file mode 100644 index 8ff43ef..0000000 --- a/DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/xcschememanagement.plist +++ /dev/null @@ -1,22 +0,0 @@ - - - - - SchemeUserState - - DIImageVIew.xcscheme - - orderHint - 0 - - - SuppressBuildableAutocreation - - 0154EBE71D4ED868008AEB8A - - primary - - - - - diff --git a/DIImageView/AppDelegate.swift b/DIImageView/AppDelegate.swift deleted file mode 100644 index 10d15db..0000000 --- a/DIImageView/AppDelegate.swift +++ /dev/null @@ -1,15 +0,0 @@ -// -// AppDelegate.swift -// DIImageVIew -// -// Created by Daniel Inoa on 7/31/16. -// Copyright © 2016 Daniel Inoa. All rights reserved. -// - -import UIKit - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - var window: UIWindow? -} - diff --git a/DIImageView/Assets/.gitkeep b/DIImageView/Assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/DIImageView/Classes/.gitkeep b/DIImageView/Classes/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/DIImageView/DIImageView.swift b/DIImageView/Classes/DIImageView.swift similarity index 77% rename from DIImageView/DIImageView.swift rename to DIImageView/Classes/DIImageView.swift index b1ecd10..9901e0a 100644 --- a/DIImageView/DIImageView.swift +++ b/DIImageView/Classes/DIImageView.swift @@ -2,26 +2,36 @@ // DIImageView.swift // DIImageVIew // -// Created by Daniel Inoa on 7/31/16. +// Created by Daniel Inoa on 8/18/14. // Copyright © 2016 Daniel Inoa. All rights reserved. // import UIKit -class DIImageView: UIImageView, UITextFieldDelegate { +public class DIImageView: UIImageView, UITextFieldDelegate { // MARK: - Lifecycle + public override init(image: UIImage?) { + super.init(image: image) + configure() + } + + public override init(image: UIImage?, highlightedImage: UIImage?) { + super.init(image: image, highlightedImage: highlightedImage) + configure() + } + override init(frame: CGRect) { super.init(frame: frame) configure() } - required init?(coder aDecoder: NSCoder) { + public required init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) } - override func awakeFromNib() { + public override func awakeFromNib() { super.awakeFromNib() configure() } @@ -38,6 +48,7 @@ class DIImageView: UIImageView, UITextFieldDelegate { private lazy var caption: UITextField = { let textField = UITextField() + textField.isHidden = true textField.backgroundColor = UIColor.black.withAlphaComponent(0.5) textField.textAlignment = .center textField.textColor = .white @@ -53,7 +64,7 @@ class DIImageView: UIImageView, UITextFieldDelegate { } } - override func layoutSubviews() { + public override func layoutSubviews() { super.layoutSubviews() let captionSize = CGSize(width: bounds.size.width, height: 32) caption.bounds = CGRect(origin: CGPoint.zero, size: captionSize) @@ -83,18 +94,18 @@ class DIImageView: UIImageView, UITextFieldDelegate { // MARK: - Text Field Delegate - func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { + public func textField(_ textField: UITextField, shouldChangeCharactersIn range: NSRange, replacementString string: String) -> Bool { guard let captionFont = textField.font, textField == caption && !string.isEmpty else { return true } let textSize = textField.text?.size(attributes: [NSFontAttributeName: captionFont]) ?? CGSize.zero return (textSize.width + 16 < textField.bounds.size.width) } - func textFieldDidEndEditing(_ textField: UITextField) { + public func textFieldDidEndEditing(_ textField: UITextField) { guard caption == textField else { return } caption.isHidden = caption.text?.isEmpty ?? true } - func textFieldShouldReturn(_ textField: UITextField) -> Bool { + public func textFieldShouldReturn(_ textField: UITextField) -> Bool { guard caption == textField else { return true } return caption.resignFirstResponder() } diff --git a/DIImageView/LaunchScreen.storyboard b/DIImageView/LaunchScreen.storyboard deleted file mode 100644 index 5bc8b47..0000000 --- a/DIImageView/LaunchScreen.storyboard +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/DIImageView/Main.storyboard b/DIImageView/Main.storyboard deleted file mode 100644 index 7b7b34d..0000000 --- a/DIImageView/Main.storyboard +++ /dev/null @@ -1,45 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Example/DIImageView.xcodeproj/project.pbxproj b/Example/DIImageView.xcodeproj/project.pbxproj new file mode 100644 index 0000000..b0f0eae --- /dev/null +++ b/Example/DIImageView.xcodeproj/project.pbxproj @@ -0,0 +1,537 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 011E5C221E91C5C6004D0F1E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 011E5C211E91C5C6004D0F1E /* ViewController.swift */; }; + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; }; + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; }; + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; }; + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; }; + B00E14FD440F67B356409CD0 /* Pods_DIImageView_Example.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D88707D4435EAD4335DD037 /* Pods_DIImageView_Example.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 607FACC81AFB9204008FA782 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 607FACCF1AFB9204008FA782; + remoteInfo = DIImageView; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 011E5C1F1E91B431004D0F1E /* DIImageView.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = DIImageView.framework; path = "../../../Library/Developer/Xcode/DerivedData/DIImageView-bvwfacvqedrpfwbxwstvjfnrmrgz/Build/Products/Debug-iphonesimulator/DIImageView/DIImageView.framework"; sourceTree = ""; }; + 011E5C211E91C5C6004D0F1E /* ViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; + 10FB6AA8000AC0473D93DD84 /* Pods_DIImageView_Tests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DIImageView_Tests.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2CC8E819D5E9E2B47550A664 /* Pods-DIImageView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DIImageView_Example.debug.xcconfig"; path = "Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.debug.xcconfig"; sourceTree = ""; }; + 2D88707D4435EAD4335DD037 /* Pods_DIImageView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_DIImageView_Example.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACD01AFB9204008FA782 /* DIImageView_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DIImageView_Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; + 607FACDC1AFB9204008FA782 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; + 607FACDF1AFB9204008FA782 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; + 607FACE51AFB9204008FA782 /* DIImageView_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DIImageView_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = ""; }; + 651ECB95F870ED43B2BAC90A /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; + 8D374FC5EFFEBBE1C7ADA958 /* DIImageView.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = DIImageView.podspec; path = ../DIImageView.podspec; sourceTree = ""; }; + 8D5BC4094F61CE1988CC3BD6 /* Pods-DIImageView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-DIImageView_Example.release.xcconfig"; path = "Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.release.xcconfig"; sourceTree = ""; }; + A7EC3812E7AB9E48C2060721 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 607FACCD1AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + B00E14FD440F67B356409CD0 /* Pods_DIImageView_Example.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE21AFB9204008FA782 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 607FACC71AFB9204008FA782 = { + isa = PBXGroup; + children = ( + 607FACF51AFB993E008FA782 /* Podspec Metadata */, + 607FACD21AFB9204008FA782 /* Example for DIImageView */, + 607FACE81AFB9204008FA782 /* Tests */, + 607FACD11AFB9204008FA782 /* Products */, + DEA08F55F05099F26BEF8B14 /* Pods */, + D545909C44CBE0E8595952AF /* Frameworks */, + ); + sourceTree = ""; + }; + 607FACD11AFB9204008FA782 /* Products */ = { + isa = PBXGroup; + children = ( + 607FACD01AFB9204008FA782 /* DIImageView_Example.app */, + 607FACE51AFB9204008FA782 /* DIImageView_Tests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 607FACD21AFB9204008FA782 /* Example for DIImageView */ = { + isa = PBXGroup; + children = ( + 607FACD51AFB9204008FA782 /* AppDelegate.swift */, + 011E5C211E91C5C6004D0F1E /* ViewController.swift */, + 607FACDC1AFB9204008FA782 /* Images.xcassets */, + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */, + 607FACD31AFB9204008FA782 /* Supporting Files */, + ); + name = "Example for DIImageView"; + path = DIImageView; + sourceTree = ""; + }; + 607FACD31AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACD41AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACE81AFB9204008FA782 /* Tests */ = { + isa = PBXGroup; + children = ( + 607FACEB1AFB9204008FA782 /* Tests.swift */, + 607FACE91AFB9204008FA782 /* Supporting Files */, + ); + path = Tests; + sourceTree = ""; + }; + 607FACE91AFB9204008FA782 /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 607FACEA1AFB9204008FA782 /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 607FACF51AFB993E008FA782 /* Podspec Metadata */ = { + isa = PBXGroup; + children = ( + 8D374FC5EFFEBBE1C7ADA958 /* DIImageView.podspec */, + A7EC3812E7AB9E48C2060721 /* README.md */, + 651ECB95F870ED43B2BAC90A /* LICENSE */, + ); + name = "Podspec Metadata"; + sourceTree = ""; + }; + D545909C44CBE0E8595952AF /* Frameworks */ = { + isa = PBXGroup; + children = ( + 011E5C1F1E91B431004D0F1E /* DIImageView.framework */, + 2D88707D4435EAD4335DD037 /* Pods_DIImageView_Example.framework */, + 10FB6AA8000AC0473D93DD84 /* Pods_DIImageView_Tests.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + DEA08F55F05099F26BEF8B14 /* Pods */ = { + isa = PBXGroup; + children = ( + 2CC8E819D5E9E2B47550A664 /* Pods-DIImageView_Example.debug.xcconfig */, + 8D5BC4094F61CE1988CC3BD6 /* Pods-DIImageView_Example.release.xcconfig */, + ); + name = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 607FACCF1AFB9204008FA782 /* DIImageView_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DIImageView_Example" */; + buildPhases = ( + 0028AE5BBBD807D93BB9AE29 /* [CP] Check Pods Manifest.lock */, + 607FACCC1AFB9204008FA782 /* Sources */, + 607FACCD1AFB9204008FA782 /* Frameworks */, + 607FACCE1AFB9204008FA782 /* Resources */, + E22DFB79B6EF3E15AF921BC7 /* [CP] Embed Pods Frameworks */, + DA8FD95E37863DDC5523B9AB /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DIImageView_Example; + productName = DIImageView; + productReference = 607FACD01AFB9204008FA782 /* DIImageView_Example.app */; + productType = "com.apple.product-type.application"; + }; + 607FACE41AFB9204008FA782 /* DIImageView_Tests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DIImageView_Tests" */; + buildPhases = ( + 607FACE11AFB9204008FA782 /* Sources */, + 607FACE21AFB9204008FA782 /* Frameworks */, + 607FACE31AFB9204008FA782 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 607FACE71AFB9204008FA782 /* PBXTargetDependency */, + ); + name = DIImageView_Tests; + productName = Tests; + productReference = 607FACE51AFB9204008FA782 /* DIImageView_Tests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 607FACC81AFB9204008FA782 /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0720; + LastUpgradeCheck = 0820; + ORGANIZATIONNAME = CocoaPods; + TargetAttributes = { + 607FACCF1AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0820; + }; + 607FACE41AFB9204008FA782 = { + CreatedOnToolsVersion = 6.3.1; + LastSwiftMigration = 0820; + TestTargetID = 607FACCF1AFB9204008FA782; + }; + }; + }; + buildConfigurationList = 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "DIImageView" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 607FACC71AFB9204008FA782; + productRefGroup = 607FACD11AFB9204008FA782 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 607FACCF1AFB9204008FA782 /* DIImageView_Example */, + 607FACE41AFB9204008FA782 /* DIImageView_Tests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 607FACCE1AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */, + 607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE31AFB9204008FA782 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 0028AE5BBBD807D93BB9AE29 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Check Pods Manifest.lock"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n"; + showEnvVarsInLog = 0; + }; + DA8FD95E37863DDC5523B9AB /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Copy Pods Resources"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + E22DFB79B6EF3E15AF921BC7 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 607FACCC1AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 011E5C221E91C5C6004D0F1E /* ViewController.swift in Sources */, + 607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 607FACE11AFB9204008FA782 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 607FACEC1AFB9204008FA782 /* Tests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 607FACE71AFB9204008FA782 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 607FACCF1AFB9204008FA782 /* DIImageView_Example */; + targetProxy = 607FACE61AFB9204008FA782 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin PBXVariantGroup section */ + 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */ = { + isa = PBXVariantGroup; + children = ( + 607FACDF1AFB9204008FA782 /* Base */, + ); + name = LaunchScreen.xib; + sourceTree = ""; + }; +/* End PBXVariantGroup section */ + +/* Begin XCBuildConfiguration section */ + 607FACED1AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$PODS_CONFIGURATION_BUILD_DIR/DIImageView\"", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 607FACEE1AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$PODS_CONFIGURATION_BUILD_DIR/DIImageView\"", + ); + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 607FACF01AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 2CC8E819D5E9E2B47550A664 /* Pods-DIImageView_Example.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$PODS_CONFIGURATION_BUILD_DIR/DIImageView\"", + ); + INFOPLIST_FILE = DIImageView/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 607FACF11AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 8D5BC4094F61CE1988CC3BD6 /* Pods-DIImageView_Example.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"$PODS_CONFIGURATION_BUILD_DIR/DIImageView\"", + ); + INFOPLIST_FILE = DIImageView/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + MODULE_NAME = ExampleApp; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; + 607FACF31AFB9204008FA782 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ""; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Debug; + }; + 607FACF41AFB9204008FA782 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + FRAMEWORK_SEARCH_PATHS = ""; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 3.0; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 607FACCB1AFB9204008FA782 /* Build configuration list for PBXProject "DIImageView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACED1AFB9204008FA782 /* Debug */, + 607FACEE1AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACEF1AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DIImageView_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF01AFB9204008FA782 /* Debug */, + 607FACF11AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 607FACF21AFB9204008FA782 /* Build configuration list for PBXNativeTarget "DIImageView_Tests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 607FACF31AFB9204008FA782 /* Debug */, + 607FACF41AFB9204008FA782 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 607FACC81AFB9204008FA782 /* Project object */; +} diff --git a/DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/Example/DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 69% rename from DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to Example/DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata index 1948705..04bfd4a 100644 --- a/DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/Example/DIImageView.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -2,6 +2,6 @@ + location = "self:DIImageView.xcodeproj"> diff --git a/DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/DIImageView.xcscheme b/Example/DIImageView.xcodeproj/xcshareddata/xcschemes/DIImageView-Example.xcscheme similarity index 58% rename from DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/DIImageView.xcscheme rename to Example/DIImageView.xcodeproj/xcshareddata/xcschemes/DIImageView-Example.xcscheme index 9c5ead5..fb5faeb 100644 --- a/DIImageView.xcodeproj/xcuserdata/danielinoa.xcuserdatad/xcschemes/DIImageView.xcscheme +++ b/Example/DIImageView.xcodeproj/xcshareddata/xcschemes/DIImageView-Example.xcscheme @@ -14,9 +14,23 @@ buildForAnalyzing = "YES"> + + + + @@ -28,13 +42,23 @@ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv = "YES"> + + + + @@ -55,12 +79,19 @@ runnableDebuggingMode = "0"> + + + + @@ -74,9 +105,9 @@ runnableDebuggingMode = "0"> diff --git a/Example/DIImageView.xcworkspace/contents.xcworkspacedata b/Example/DIImageView.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..24f70d6 --- /dev/null +++ b/Example/DIImageView.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/Example/DIImageView/AppDelegate.swift b/Example/DIImageView/AppDelegate.swift new file mode 100644 index 0000000..8e420bb --- /dev/null +++ b/Example/DIImageView/AppDelegate.swift @@ -0,0 +1,23 @@ +// +// AppDelegate.swift +// DIImageView +// +// Created by danielinoa on 04/02/2017. +// Copyright (c) 2017 danielinoa. All rights reserved. +// + +import UIKit + +@UIApplicationMain +class AppDelegate: UIResponder, UIApplicationDelegate { + + var window: UIWindow? + + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + window = UIWindow(frame: UIScreen.main.bounds) + window?.rootViewController = ViewController() + window?.makeKeyAndVisible() + return true + } + +} diff --git a/Example/DIImageView/Base.lproj/LaunchScreen.xib b/Example/DIImageView/Base.lproj/LaunchScreen.xib new file mode 100644 index 0000000..94be99e --- /dev/null +++ b/Example/DIImageView/Base.lproj/LaunchScreen.xib @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/DIImageView/Assets.xcassets/AppIcon.appiconset/Contents.json b/Example/DIImageView/Images.xcassets/AppIcon.appiconset/Contents.json similarity index 77% rename from DIImageView/Assets.xcassets/AppIcon.appiconset/Contents.json rename to Example/DIImageView/Images.xcassets/AppIcon.appiconset/Contents.json index 118c98f..b8236c6 100644 --- a/DIImageView/Assets.xcassets/AppIcon.appiconset/Contents.json +++ b/Example/DIImageView/Images.xcassets/AppIcon.appiconset/Contents.json @@ -1,5 +1,15 @@ { "images" : [ + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "2x" + }, + { + "idiom" : "iphone", + "size" : "20x20", + "scale" : "3x" + }, { "idiom" : "iphone", "size" : "29x29", diff --git a/DIImageView/Assets.xcassets/Contents.json b/Example/DIImageView/Images.xcassets/Contents.json similarity index 100% rename from DIImageView/Assets.xcassets/Contents.json rename to Example/DIImageView/Images.xcassets/Contents.json diff --git a/DIImageView/Assets.xcassets/alley.imageset/Contents.json b/Example/DIImageView/Images.xcassets/alley.imageset/Contents.json similarity index 100% rename from DIImageView/Assets.xcassets/alley.imageset/Contents.json rename to Example/DIImageView/Images.xcassets/alley.imageset/Contents.json index a0f1596..08b24d7 100644 --- a/DIImageView/Assets.xcassets/alley.imageset/Contents.json +++ b/Example/DIImageView/Images.xcassets/alley.imageset/Contents.json @@ -6,11 +6,11 @@ }, { "idiom" : "universal", - "filename" : "alley.jpg", "scale" : "2x" }, { "idiom" : "universal", + "filename" : "alley.jpg", "scale" : "3x" } ], diff --git a/DIImageView/Assets.xcassets/alley.imageset/alley.jpg b/Example/DIImageView/Images.xcassets/alley.imageset/alley.jpg similarity index 100% rename from DIImageView/Assets.xcassets/alley.imageset/alley.jpg rename to Example/DIImageView/Images.xcassets/alley.imageset/alley.jpg diff --git a/DIImageView/Info.plist b/Example/DIImageView/Info.plist similarity index 94% rename from DIImageView/Info.plist rename to Example/DIImageView/Info.plist index 6c48029..04ef3d3 100644 --- a/DIImageView/Info.plist +++ b/Example/DIImageView/Info.plist @@ -24,8 +24,6 @@ UILaunchStoryboardName LaunchScreen - UIMainStoryboardFile - Main UIRequiredDeviceCapabilities armv7 @@ -33,6 +31,7 @@ UISupportedInterfaceOrientations UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft diff --git a/Example/DIImageView/ViewController.swift b/Example/DIImageView/ViewController.swift new file mode 100644 index 0000000..987b022 --- /dev/null +++ b/Example/DIImageView/ViewController.swift @@ -0,0 +1,21 @@ +// +// ViewController.swift +// DIImageView +// +// Created by Daniel Inoa on 4/2/17. +// Copyright © 2017 CocoaPods. All rights reserved. +// + +import UIKit +import DIImageView + +final class ViewController: UIViewController { + + override func loadView() { + let image = UIImage(named: "alley") + let imageView = DIImageView(image: image) + imageView.contentMode = .scaleAspectFill + view = imageView + } + +} diff --git a/Example/Podfile b/Example/Podfile new file mode 100644 index 0000000..3ca83ef --- /dev/null +++ b/Example/Podfile @@ -0,0 +1,5 @@ +use_frameworks! + +target 'DIImageView_Example' do + pod 'DIImageView', :path => '../' +end diff --git a/Example/Podfile.lock b/Example/Podfile.lock new file mode 100644 index 0000000..3181cda --- /dev/null +++ b/Example/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - DIImageView (1.0.0) + +DEPENDENCIES: + - DIImageView (from `../`) + +EXTERNAL SOURCES: + DIImageView: + :path: ../ + +SPEC CHECKSUMS: + DIImageView: 893ebfafb92ba13d71cef6ea050ac946ac0c8882 + +PODFILE CHECKSUM: 6c598e430661786b3fe76fa28b7710e2072566fa + +COCOAPODS: 1.2.0 diff --git a/Example/Pods/Local Podspecs/DIImageView.podspec.json b/Example/Pods/Local Podspecs/DIImageView.podspec.json new file mode 100644 index 0000000..e1f1c10 --- /dev/null +++ b/Example/Pods/Local Podspecs/DIImageView.podspec.json @@ -0,0 +1,22 @@ +{ + "name": "DIImageView", + "version": "1.0.0", + "summary": "A Snapchat-inspired caption integrated within a regular UIImageView", + "homepage": "https://github.com/danielinoa/DIImageView", + "license": { + "type": "MIT", + "file": "LICENSE" + }, + "authors": { + "danielinoa": "danielinoa@gmail.com" + }, + "source": { + "git": "https://github.com/danielinoa/DIImageView.git", + "tag": "1.0.0" + }, + "social_media_url": "https://twitter.com/danielinoa_", + "platforms": { + "ios": "8.0" + }, + "source_files": "DIImageView/Classes/**/*" +} diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock new file mode 100644 index 0000000..3181cda --- /dev/null +++ b/Example/Pods/Manifest.lock @@ -0,0 +1,16 @@ +PODS: + - DIImageView (1.0.0) + +DEPENDENCIES: + - DIImageView (from `../`) + +EXTERNAL SOURCES: + DIImageView: + :path: ../ + +SPEC CHECKSUMS: + DIImageView: 893ebfafb92ba13d71cef6ea050ac946ac0c8882 + +PODFILE CHECKSUM: 6c598e430661786b3fe76fa28b7710e2072566fa + +COCOAPODS: 1.2.0 diff --git a/Example/Pods/Pods.xcodeproj/project.pbxproj b/Example/Pods/Pods.xcodeproj/project.pbxproj new file mode 100644 index 0000000..c270ceb --- /dev/null +++ b/Example/Pods/Pods.xcodeproj/project.pbxproj @@ -0,0 +1,570 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 38A648BA4F5853639930175A7C9C9EE4 /* Pods-DIImageView_Example-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C74D0FFA637246525D75EF712DEFF12 /* Pods-DIImageView_Example-dummy.m */; }; + 44E7DE9800E2D54977B0FEEE94EC48AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 6483607557D41D0ECE16BBE71F76A629 /* DIImageView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E3F11D94A99270409AA82D45B18D008 /* DIImageView-dummy.m */; }; + 6CFAE86A1A542EF9503388E4BB296C6F /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */; }; + 7B92D62DF86C797E3718824B38D64D5B /* DIImageView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 66CCD5C6F59023D15AFBD46A7AF45A40 /* DIImageView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 97179921C426CE97444D07FE7DC37836 /* Pods-DIImageView_Example-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9BAA8008FF74C2C2CD4E7C78F6A047EE /* Pods-DIImageView_Example-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 9D01FD1BDD57AE237DF6D270FE58A390 /* DIImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93ADB3DA75B878334819A675F2592B57 /* DIImageView.swift */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 84875AFECB6C97893B030B117AF2E294 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + proxyType = 1; + remoteGlobalIDString = B324D0819904789B8C4A7FF84B2F0B5E; + remoteInfo = DIImageView; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 30B577AAFDE5395738A5E88A41DC6114 /* Pods-DIImageView_Example.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DIImageView_Example.debug.xcconfig"; sourceTree = ""; }; + 3378878177A4A17D0DE9D92EDA67BB11 /* Pods-DIImageView_Example.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-DIImageView_Example.modulemap"; sourceTree = ""; }; + 349D4962B225C2F6F94A3A5AFCC61471 /* DIImageView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = DIImageView.xcconfig; sourceTree = ""; }; + 3C74D0FFA637246525D75EF712DEFF12 /* Pods-DIImageView_Example-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DIImageView_Example-dummy.m"; sourceTree = ""; }; + 4BAA0372E4E16F71D898B0D21F82D67F /* Pods-DIImageView_Example-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-DIImageView_Example-acknowledgements.plist"; sourceTree = ""; }; + 51F77AEB66D2A4986E6E491C932DD362 /* DIImageView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = DIImageView.modulemap; sourceTree = ""; }; + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 66CCD5C6F59023D15AFBD46A7AF45A40 /* DIImageView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DIImageView-umbrella.h"; sourceTree = ""; }; + 6D13DC00C10F6619D0FBEDACB8A55D2F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 6E3F11D94A99270409AA82D45B18D008 /* DIImageView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "DIImageView-dummy.m"; sourceTree = ""; }; + 6E7D827CF0146B7CABB50048FFC896AC /* Pods_DIImageView_Example.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_DIImageView_Example.framework; path = "Pods-DIImageView_Example.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + 7628ED24644A16450E4065785CA0AE0E /* Pods-DIImageView_Example-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DIImageView_Example-frameworks.sh"; sourceTree = ""; }; + 8D58CE3F1A5B1A4C1A0148E1DEDB3E68 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 93ADB3DA75B878334819A675F2592B57 /* DIImageView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = DIImageView.swift; sourceTree = ""; }; + 96EAFA94539113CACBA488411C35A75A /* DIImageView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "DIImageView-prefix.pch"; sourceTree = ""; }; + 9868D14DEBB6694BFB26C00CC363F0EB /* Pods-DIImageView_Example-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-DIImageView_Example-resources.sh"; sourceTree = ""; }; + 9BAA8008FF74C2C2CD4E7C78F6A047EE /* Pods-DIImageView_Example-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DIImageView_Example-umbrella.h"; sourceTree = ""; }; + B72D41AD7D3C0C218D3164C48FF8B9F7 /* Pods-DIImageView_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DIImageView_Example.release.xcconfig"; sourceTree = ""; }; + C915E330A672A2072516ADCA91150F80 /* DIImageView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = DIImageView.framework; path = DIImageView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + F96014012B5D30A8A4DC50466EBF8F7F /* Pods-DIImageView_Example-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-DIImageView_Example-acknowledgements.markdown"; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 2DAE242628A64E3EDEF5EEA324ED2291 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 6CFAE86A1A542EF9503388E4BB296C6F /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 608BA4DE53D26358E59691BF21EFA8D4 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 44E7DE9800E2D54977B0FEEE94EC48AB /* Foundation.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 7DB346D0F39D3F0E887471402A8071AB = { + isa = PBXGroup; + children = ( + 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, + 9697A7948C5CBA41386EA5C3D24BDFAE /* Development Pods */, + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */, + E98490321007383687C1FF6F44F162F0 /* Products */, + F41981D9ADCBFAC242EA55350F3A2063 /* Targets Support Files */, + ); + sourceTree = ""; + }; + 9697A7948C5CBA41386EA5C3D24BDFAE /* Development Pods */ = { + isa = PBXGroup; + children = ( + 9C6E76EB3450BD2CF0739F74D3196229 /* DIImageView */, + ); + name = "Development Pods"; + sourceTree = ""; + }; + 9C6E76EB3450BD2CF0739F74D3196229 /* DIImageView */ = { + isa = PBXGroup; + children = ( + DC4F0E094A0FC511797EA423557DA125 /* DIImageView */, + B2CF9EB9F50C629A2C9DEBD7C960D313 /* Support Files */, + ); + name = DIImageView; + path = ../..; + sourceTree = ""; + }; + B2CF9EB9F50C629A2C9DEBD7C960D313 /* Support Files */ = { + isa = PBXGroup; + children = ( + 51F77AEB66D2A4986E6E491C932DD362 /* DIImageView.modulemap */, + 349D4962B225C2F6F94A3A5AFCC61471 /* DIImageView.xcconfig */, + 6E3F11D94A99270409AA82D45B18D008 /* DIImageView-dummy.m */, + 96EAFA94539113CACBA488411C35A75A /* DIImageView-prefix.pch */, + 66CCD5C6F59023D15AFBD46A7AF45A40 /* DIImageView-umbrella.h */, + 6D13DC00C10F6619D0FBEDACB8A55D2F /* Info.plist */, + ); + name = "Support Files"; + path = "Example/Pods/Target Support Files/DIImageView"; + sourceTree = ""; + }; + BC3CA7F9E30CC8F7E2DD044DD34432FC /* Frameworks */ = { + isa = PBXGroup; + children = ( + D35AF013A5F0BAD4F32504907A52519E /* iOS */, + ); + name = Frameworks; + sourceTree = ""; + }; + C39A7491866640F873B466951CD3731A /* Classes */ = { + isa = PBXGroup; + children = ( + 93ADB3DA75B878334819A675F2592B57 /* DIImageView.swift */, + ); + name = Classes; + path = Classes; + sourceTree = ""; + }; + D35AF013A5F0BAD4F32504907A52519E /* iOS */ = { + isa = PBXGroup; + children = ( + 6604A7D69453B4569E4E4827FB9155A9 /* Foundation.framework */, + ); + name = iOS; + sourceTree = ""; + }; + DC4F0E094A0FC511797EA423557DA125 /* DIImageView */ = { + isa = PBXGroup; + children = ( + C39A7491866640F873B466951CD3731A /* Classes */, + ); + name = DIImageView; + path = DIImageView; + sourceTree = ""; + }; + E98490321007383687C1FF6F44F162F0 /* Products */ = { + isa = PBXGroup; + children = ( + C915E330A672A2072516ADCA91150F80 /* DIImageView.framework */, + 6E7D827CF0146B7CABB50048FFC896AC /* Pods_DIImageView_Example.framework */, + ); + name = Products; + sourceTree = ""; + }; + F2C173877399150B3975D2439832D80F /* Pods-DIImageView_Example */ = { + isa = PBXGroup; + children = ( + 8D58CE3F1A5B1A4C1A0148E1DEDB3E68 /* Info.plist */, + 3378878177A4A17D0DE9D92EDA67BB11 /* Pods-DIImageView_Example.modulemap */, + F96014012B5D30A8A4DC50466EBF8F7F /* Pods-DIImageView_Example-acknowledgements.markdown */, + 4BAA0372E4E16F71D898B0D21F82D67F /* Pods-DIImageView_Example-acknowledgements.plist */, + 3C74D0FFA637246525D75EF712DEFF12 /* Pods-DIImageView_Example-dummy.m */, + 7628ED24644A16450E4065785CA0AE0E /* Pods-DIImageView_Example-frameworks.sh */, + 9868D14DEBB6694BFB26C00CC363F0EB /* Pods-DIImageView_Example-resources.sh */, + 9BAA8008FF74C2C2CD4E7C78F6A047EE /* Pods-DIImageView_Example-umbrella.h */, + 30B577AAFDE5395738A5E88A41DC6114 /* Pods-DIImageView_Example.debug.xcconfig */, + B72D41AD7D3C0C218D3164C48FF8B9F7 /* Pods-DIImageView_Example.release.xcconfig */, + ); + name = "Pods-DIImageView_Example"; + path = "Target Support Files/Pods-DIImageView_Example"; + sourceTree = ""; + }; + F41981D9ADCBFAC242EA55350F3A2063 /* Targets Support Files */ = { + isa = PBXGroup; + children = ( + F2C173877399150B3975D2439832D80F /* Pods-DIImageView_Example */, + ); + name = "Targets Support Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXHeadersBuildPhase section */ + 040AF75CB484D52A30A2CC5C0EBBB7E4 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 97179921C426CE97444D07FE7DC37836 /* Pods-DIImageView_Example-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7DE5FC5CA9F869D186BDC4E65F905BBB /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B92D62DF86C797E3718824B38D64D5B /* DIImageView-umbrella.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + +/* Begin PBXNativeTarget section */ + 97DFD54E929D9C5B76ADBA0D82CC5316 /* Pods-DIImageView_Example */ = { + isa = PBXNativeTarget; + buildConfigurationList = BBE3FC0AB330BE8B5B85D3CB8984B3E7 /* Build configuration list for PBXNativeTarget "Pods-DIImageView_Example" */; + buildPhases = ( + E984C39C369419C63EF6C02BB7954C88 /* Sources */, + 608BA4DE53D26358E59691BF21EFA8D4 /* Frameworks */, + 040AF75CB484D52A30A2CC5C0EBBB7E4 /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + DB5D9B3B1AE35F036114C7F11AABB70C /* PBXTargetDependency */, + ); + name = "Pods-DIImageView_Example"; + productName = "Pods-DIImageView_Example"; + productReference = 6E7D827CF0146B7CABB50048FFC896AC /* Pods_DIImageView_Example.framework */; + productType = "com.apple.product-type.framework"; + }; + B324D0819904789B8C4A7FF84B2F0B5E /* DIImageView */ = { + isa = PBXNativeTarget; + buildConfigurationList = 9A2E0DC75EA6E2EBA0593A06F389AFE5 /* Build configuration list for PBXNativeTarget "DIImageView" */; + buildPhases = ( + 885672AECB74D94AB73F149B82F2CD52 /* Sources */, + 2DAE242628A64E3EDEF5EEA324ED2291 /* Frameworks */, + 7DE5FC5CA9F869D186BDC4E65F905BBB /* Headers */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = DIImageView; + productName = DIImageView; + productReference = C915E330A672A2072516ADCA91150F80 /* DIImageView.framework */; + productType = "com.apple.product-type.framework"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + isa = PBXProject; + attributes = { + LastSwiftUpdateCheck = 0830; + LastUpgradeCheck = 0700; + }; + buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + ); + mainGroup = 7DB346D0F39D3F0E887471402A8071AB; + productRefGroup = E98490321007383687C1FF6F44F162F0 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + B324D0819904789B8C4A7FF84B2F0B5E /* DIImageView */, + 97DFD54E929D9C5B76ADBA0D82CC5316 /* Pods-DIImageView_Example */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXSourcesBuildPhase section */ + 885672AECB74D94AB73F149B82F2CD52 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 6483607557D41D0ECE16BBE71F76A629 /* DIImageView-dummy.m in Sources */, + 9D01FD1BDD57AE237DF6D270FE58A390 /* DIImageView.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + E984C39C369419C63EF6C02BB7954C88 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 38A648BA4F5853639930175A7C9C9EE4 /* Pods-DIImageView_Example-dummy.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + DB5D9B3B1AE35F036114C7F11AABB70C /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = DIImageView; + target = B324D0819904789B8C4A7FF84B2F0B5E /* DIImageView */; + targetProxy = 84875AFECB6C97893B030B117AF2E294 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_DEBUG=1", + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + ONLY_ACTIVE_ARCH = YES; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Debug; + }; + 3C3261CCCFBAD9371D6C5BF2E46C4B99 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = B72D41AD7D3C0C218D3164C48FF8B9F7 /* Pods-DIImageView_Example.release.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-DIImageView_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_DIImageView_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + 717E77604BFBB04BEAF56608A1CB2EDE /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGNING_REQUIRED = NO; + COPY_PHASE_STRIP = YES; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; + STRIP_INSTALLED_PRODUCT = NO; + SYMROOT = "${SRCROOT}/../build"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + B599E2F6387330DD97B5A3C946F05862 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 349D4962B225C2F6F94A3A5AFCC61471 /* DIImageView.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/DIImageView/DIImageView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/DIImageView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/DIImageView/DIImageView.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_NAME = DIImageView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + BEA419F677875318F845DE05BDFD2387 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 349D4962B225C2F6F94A3A5AFCC61471 /* DIImageView.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREFIX_HEADER = "Target Support Files/DIImageView/DIImageView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/DIImageView/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MODULEMAP_FILE = "Target Support Files/DIImageView/DIImageView.modulemap"; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_NAME = DIImageView; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; + D343D8FF823E59CC37602A2F7681EA1A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 30B577AAFDE5395738A5E88A41DC6114 /* Pods-DIImageView_Example.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_NO_COMMON_BLOCKS = YES; + INFOPLIST_FILE = "Target Support Files/Pods-DIImageView_Example/Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.3; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.modulemap"; + MTL_ENABLE_DEBUG_INFO = YES; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = Pods_DIImageView_Example; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 3.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 345CC476DF4A7516DBD2220CF5035FF3 /* Debug */, + 717E77604BFBB04BEAF56608A1CB2EDE /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 9A2E0DC75EA6E2EBA0593A06F389AFE5 /* Build configuration list for PBXNativeTarget "DIImageView" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + B599E2F6387330DD97B5A3C946F05862 /* Debug */, + BEA419F677875318F845DE05BDFD2387 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + BBE3FC0AB330BE8B5B85D3CB8984B3E7 /* Build configuration list for PBXNativeTarget "Pods-DIImageView_Example" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + D343D8FF823E59CC37602A2F7681EA1A /* Debug */, + 3C3261CCCFBAD9371D6C5BF2E46C4B99 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; +} diff --git a/Example/Pods/Target Support Files/DIImageView/DIImageView-dummy.m b/Example/Pods/Target Support Files/DIImageView/DIImageView-dummy.m new file mode 100644 index 0000000..13cc151 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/DIImageView-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_DIImageView : NSObject +@end +@implementation PodsDummy_DIImageView +@end diff --git a/Example/Pods/Target Support Files/DIImageView/DIImageView-prefix.pch b/Example/Pods/Target Support Files/DIImageView/DIImageView-prefix.pch new file mode 100644 index 0000000..beb2a24 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/DIImageView-prefix.pch @@ -0,0 +1,12 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + diff --git a/Example/Pods/Target Support Files/DIImageView/DIImageView-umbrella.h b/Example/Pods/Target Support Files/DIImageView/DIImageView-umbrella.h new file mode 100644 index 0000000..8dbe689 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/DIImageView-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double DIImageViewVersionNumber; +FOUNDATION_EXPORT const unsigned char DIImageViewVersionString[]; + diff --git a/Example/Pods/Target Support Files/DIImageView/DIImageView.modulemap b/Example/Pods/Target Support Files/DIImageView/DIImageView.modulemap new file mode 100644 index 0000000..46c73a3 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/DIImageView.modulemap @@ -0,0 +1,6 @@ +framework module DIImageView { + umbrella header "DIImageView-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/DIImageView/DIImageView.xcconfig b/Example/Pods/Target Support Files/DIImageView/DIImageView.xcconfig new file mode 100644 index 0000000..0e7da79 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/DIImageView.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/DIImageView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Public" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES diff --git a/Example/Pods/Target Support Files/DIImageView/Info.plist b/Example/Pods/Target Support Files/DIImageView/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/DIImageView/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Info.plist b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.markdown b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.markdown new file mode 100644 index 0000000..3df1183 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.markdown @@ -0,0 +1,26 @@ +# Acknowledgements +This application makes use of the following third party libraries: + +## DIImageView + +Copyright (c) 2017 danielinoa + +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. + +Generated by CocoaPods - https://cocoapods.org diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.plist b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.plist new file mode 100644 index 0000000..fb45cc3 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-acknowledgements.plist @@ -0,0 +1,58 @@ + + + + + PreferenceSpecifiers + + + FooterText + This application makes use of the following third party libraries: + Title + Acknowledgements + Type + PSGroupSpecifier + + + FooterText + Copyright (c) 2017 danielinoa <danielinoa@gmail.com> + +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. + + License + MIT + Title + DIImageView + Type + PSGroupSpecifier + + + FooterText + Generated by CocoaPods - https://cocoapods.org + Title + + Type + PSGroupSpecifier + + + StringsTable + Acknowledgements + Title + Acknowledgements + + diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-dummy.m b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-dummy.m new file mode 100644 index 0000000..6de18ec --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-dummy.m @@ -0,0 +1,5 @@ +#import +@interface PodsDummy_Pods_DIImageView_Example : NSObject +@end +@implementation PodsDummy_Pods_DIImageView_Example +@end diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-frameworks.sh b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-frameworks.sh new file mode 100755 index 0000000..a1c649e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-frameworks.sh @@ -0,0 +1,99 @@ +#!/bin/sh +set -e + +echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" +mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + +SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" + +install_framework() +{ + if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then + local source="${BUILT_PRODUCTS_DIR}/$1" + elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then + local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" + elif [ -r "$1" ]; then + local source="$1" + fi + + local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + + if [ -L "${source}" ]; then + echo "Symlinked..." + source="$(readlink "${source}")" + fi + + # use filter instead of exclude so missing patterns dont' throw errors + echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + + local basename + basename="$(basename -s .framework "$1")" + binary="${destination}/${basename}.framework/${basename}" + if ! [ -r "$binary" ]; then + binary="${destination}/${basename}" + fi + + # Strip invalid architectures so "fat" simulator / device frameworks work on device + if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then + strip_invalid_archs "$binary" + fi + + # Resign the code if required by the build settings to avoid unstable apps + code_sign_if_enabled "${destination}/$(basename "$1")" + + # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. + if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then + local swift_runtime_libs + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) + for lib in $swift_runtime_libs; do + echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" + rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" + code_sign_if_enabled "${destination}/${lib}" + done + fi +} + +# Signs a framework with the provided identity +code_sign_if_enabled() { + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identitiy + echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" + local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" + + if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + code_sign_cmd="$code_sign_cmd &" + fi + echo "$code_sign_cmd" + eval "$code_sign_cmd" + fi +} + +# Strip invalid architectures +strip_invalid_archs() { + binary="$1" + # Get architectures for current file + archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" + stripped="" + for arch in $archs; do + if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then + # Strip non-valid architectures in-place + lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + stripped="$stripped $arch" + fi + done + if [[ "$stripped" ]]; then + echo "Stripped $binary of architectures:$stripped" + fi +} + + +if [[ "$CONFIGURATION" == "Debug" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/DIImageView/DIImageView.framework" +fi +if [[ "$CONFIGURATION" == "Release" ]]; then + install_framework "$BUILT_PRODUCTS_DIR/DIImageView/DIImageView.framework" +fi +if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then + wait +fi diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-resources.sh b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-resources.sh new file mode 100755 index 0000000..4602c68 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-resources.sh @@ -0,0 +1,99 @@ +#!/bin/sh +set -e + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + +RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt +> "$RESOURCES_TO_COPY" + +XCASSET_FILES=() + +case "${TARGETED_DEVICE_FAMILY}" in + 1,2) + TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" + ;; + 1) + TARGET_DEVICE_ARGS="--target-device iphone" + ;; + 2) + TARGET_DEVICE_ARGS="--target-device ipad" + ;; + 3) + TARGET_DEVICE_ARGS="--target-device tv" + ;; + *) + TARGET_DEVICE_ARGS="--target-device mac" + ;; +esac + +install_resource() +{ + if [[ "$1" = /* ]] ; then + RESOURCE_PATH="$1" + else + RESOURCE_PATH="${PODS_ROOT}/$1" + fi + if [[ ! -e "$RESOURCE_PATH" ]] ; then + cat << EOM +error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. +EOM + exit 1 + fi + case $RESOURCE_PATH in + *.storyboard) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.xib) + echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" + ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} + ;; + *.framework) + echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" + ;; + *.xcdatamodel) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" + ;; + *.xcdatamodeld) + echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" + xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" + ;; + *.xcmappingmodel) + echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" + xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" + ;; + *.xcassets) + ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" + XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") + ;; + *) + echo "$RESOURCE_PATH" + echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" + ;; + esac +} + +mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then + mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" + rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi +rm -f "$RESOURCES_TO_COPY" + +if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] +then + # Find all other xcassets (this unfortunately includes those of path pods and other targets). + OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) + while read line; do + if [[ $line != "${PODS_ROOT}*" ]]; then + XCASSET_FILES+=("$line") + fi + done <<<"$OTHER_XCASSETS" + + printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" +fi diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-umbrella.h b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-umbrella.h new file mode 100644 index 0000000..ce5080e --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example-umbrella.h @@ -0,0 +1,16 @@ +#ifdef __OBJC__ +#import +#else +#ifndef FOUNDATION_EXPORT +#if defined(__cplusplus) +#define FOUNDATION_EXPORT extern "C" +#else +#define FOUNDATION_EXPORT extern +#endif +#endif +#endif + + +FOUNDATION_EXPORT double Pods_DIImageView_ExampleVersionNumber; +FOUNDATION_EXPORT const unsigned char Pods_DIImageView_ExampleVersionString[]; + diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.debug.xcconfig b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.debug.xcconfig new file mode 100644 index 0000000..00c2ff7 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.debug.xcconfig @@ -0,0 +1,10 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DIImageView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DIImageView/DIImageView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DIImageView" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.modulemap b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.modulemap new file mode 100644 index 0000000..1d21e21 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.modulemap @@ -0,0 +1,6 @@ +framework module Pods_DIImageView_Example { + umbrella header "Pods-DIImageView_Example-umbrella.h" + + export * + module * { export * } +} diff --git a/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.release.xcconfig b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.release.xcconfig new file mode 100644 index 0000000..00c2ff7 --- /dev/null +++ b/Example/Pods/Target Support Files/Pods-DIImageView_Example/Pods-DIImageView_Example.release.xcconfig @@ -0,0 +1,10 @@ +ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES +FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/DIImageView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' +OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/DIImageView/DIImageView.framework/Headers" +OTHER_LDFLAGS = $(inherited) -framework "DIImageView" +OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +PODS_BUILD_DIR = $BUILD_DIR +PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT}/Pods diff --git a/Example/Tests/Info.plist b/Example/Tests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/Example/Tests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/Example/Tests/Tests.swift b/Example/Tests/Tests.swift new file mode 100644 index 0000000..f72f944 --- /dev/null +++ b/Example/Tests/Tests.swift @@ -0,0 +1,28 @@ +import UIKit +import XCTest + +class Tests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testExample() { + // This is an example of a functional test case. + XCTAssert(true, "Pass") + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure() { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/LICENSE.md b/LICENSE similarity index 85% rename from LICENSE.md rename to LICENSE index 1481e73..3bd0008 100644 --- a/LICENSE.md +++ b/LICENSE @@ -1,6 +1,4 @@ -The MIT License (MIT) - -Copyright (c) {{{2014}}} {{{Daniel Inoa}}} +Copyright (c) 2017 danielinoa Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -9,13 +7,13 @@ 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 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. +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/README.md b/README.md index da0e557..d937951 100644 --- a/README.md +++ b/README.md @@ -3,18 +3,32 @@ DIImageView A Snapchat-like caption integrated within a regular UIImageView. -![image](https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss1.png) -![image](https://github.com/danielinoa/DIImageView/blob/master/Screenshots/ss2.png) +[![CI Status](http://img.shields.io/travis/danielinoa/DIImageView.svg?style=flat)](https://travis-ci.org/danielinoa/DIImageView) +[![Version](https://img.shields.io/cocoapods/v/DIImageView.svg?style=flat)](http://cocoapods.org/pods/DIImageView) +[![License](https://img.shields.io/cocoapods/l/DIImageView.svg?style=flat)](http://cocoapods.org/pods/DIImageView) +[![Platform](https://img.shields.io/cocoapods/p/DIImageView.svg?style=flat)](http://cocoapods.org/pods/DIImageView) -Installation ------------- +## Example -Simply add `DIImageView.swift` into your project. +To run the example project, clone the repo, and run `pod install` from the Example directory first. ## Requirements -* iOS 10.0+ and Xcode 8.0+ -* Swift 3.0 +* iOS 8.0+ and Xcode 8.0+ +* Swift 3.0+ + +## Manual Installation + +Simply add `DIImageView.swift` into your project. + +## CocoaPods Installation + +DIImageView is available through [CocoaPods](http://cocoapods.org). To install +it, simply add the following line to your Podfile: + +```ruby +pod "DIImageView" +``` ## Contributors diff --git a/_Pods.xcodeproj b/_Pods.xcodeproj new file mode 120000 index 0000000..3c5a8e7 --- /dev/null +++ b/_Pods.xcodeproj @@ -0,0 +1 @@ +Example/Pods/Pods.xcodeproj \ No newline at end of file