├── .gitignore ├── .gitmodules ├── .swiftformat ├── CHANGELOG.md ├── Example ├── ImageIOSwift.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ ├── ImageIOSwift-Example.xcscheme │ │ ├── example-swiftui-ios.xcscheme │ │ └── example-swiftui-watch.xcscheme ├── ImageIOSwift.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── ImageIOSwift │ ├── AnimatedViewController.swift │ ├── AppDelegate.swift │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ ├── ImageSourceViewController.swift │ ├── Images.xcassets │ │ └── AppIcon.appiconset │ │ │ └── Contents.json │ ├── Info.plist │ ├── MasterViewController.swift │ ├── MetricsViewController.swift │ ├── PickerViewController.swift │ └── ProgressiveLoadViewController.swift ├── Images │ ├── animated.gif │ ├── animated.png │ ├── heic │ │ ├── alpha_1440x960.heic │ │ ├── autumn_1440x960.heic │ │ ├── bird_burst.heic │ │ ├── dog.heic │ │ ├── grid_960x640.heic │ │ ├── random_collection_1440x960.heic │ │ ├── sea1_animation.heic │ │ ├── season_collection_1440x960.heic │ │ ├── spring_1440x960.heic │ │ ├── starfield_animation.heic │ │ ├── winter_1440x960.heic │ │ └── yard.heic │ ├── interlaced.jpeg │ ├── progressive.jpeg │ ├── small.jpeg │ ├── transparent.gif │ └── transparent.png ├── Podfile ├── Podfile.lock ├── Pods │ ├── FBSnapshotTestCase │ │ ├── FBSnapshotTestCase │ │ │ ├── Categories │ │ │ │ ├── UIApplication+StrictKeyWindow.h │ │ │ │ ├── UIApplication+StrictKeyWindow.m │ │ │ │ ├── UIImage+Compare.h │ │ │ │ ├── UIImage+Compare.m │ │ │ │ ├── UIImage+Diff.h │ │ │ │ ├── UIImage+Diff.m │ │ │ │ ├── UIImage+Snapshot.h │ │ │ │ └── UIImage+Snapshot.m │ │ │ ├── FBSnapshotTestCase.h │ │ │ ├── FBSnapshotTestCase.m │ │ │ ├── FBSnapshotTestCasePlatform.h │ │ │ ├── FBSnapshotTestCasePlatform.m │ │ │ ├── FBSnapshotTestController.h │ │ │ ├── FBSnapshotTestController.m │ │ │ └── SwiftSupport.swift │ │ ├── LICENSE │ │ └── README.md │ ├── Local Podspecs │ │ ├── ImageIOSwift.podspec.json │ │ ├── ImageIOSwiftUI.podspec.json │ │ └── ImageIOUIKit.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ ├── project.pbxproj │ │ ├── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── ImageIOSwift.xcscheme │ └── Target Support Files │ │ ├── FBSnapshotTestCase │ │ ├── FBSnapshotTestCase-Info.plist │ │ ├── FBSnapshotTestCase-dummy.m │ │ ├── FBSnapshotTestCase-prefix.pch │ │ ├── FBSnapshotTestCase-umbrella.h │ │ ├── FBSnapshotTestCase.debug.xcconfig │ │ ├── FBSnapshotTestCase.modulemap │ │ ├── FBSnapshotTestCase.release.xcconfig │ │ ├── FBSnapshotTestCase.xcconfig │ │ └── Info.plist │ │ ├── ImageIOSwift-iOS13.0 │ │ ├── ImageIOSwift-iOS13.0-Info.plist │ │ ├── ImageIOSwift-iOS13.0-dummy.m │ │ ├── ImageIOSwift-iOS13.0-prefix.pch │ │ ├── ImageIOSwift-iOS13.0-umbrella.h │ │ ├── ImageIOSwift-iOS13.0.debug.xcconfig │ │ ├── ImageIOSwift-iOS13.0.modulemap │ │ ├── ImageIOSwift-iOS13.0.release.xcconfig │ │ └── ImageIOSwift-iOS13.0.xcconfig │ │ ├── ImageIOSwift-iOS9.0 │ │ ├── ImageIOSwift-iOS9.0-Info.plist │ │ ├── ImageIOSwift-iOS9.0-dummy.m │ │ ├── ImageIOSwift-iOS9.0-prefix.pch │ │ ├── ImageIOSwift-iOS9.0-umbrella.h │ │ ├── ImageIOSwift-iOS9.0.debug.xcconfig │ │ ├── ImageIOSwift-iOS9.0.modulemap │ │ ├── ImageIOSwift-iOS9.0.release.xcconfig │ │ └── ImageIOSwift-iOS9.0.xcconfig │ │ ├── ImageIOSwift-macOS10.15 │ │ ├── ImageIOSwift-macOS10.15-Info.plist │ │ ├── ImageIOSwift-macOS10.15-dummy.m │ │ ├── ImageIOSwift-macOS10.15-prefix.pch │ │ ├── ImageIOSwift-macOS10.15-umbrella.h │ │ ├── ImageIOSwift-macOS10.15.debug.xcconfig │ │ ├── ImageIOSwift-macOS10.15.modulemap │ │ ├── ImageIOSwift-macOS10.15.release.xcconfig │ │ └── ImageIOSwift-macOS10.15.xcconfig │ │ ├── ImageIOSwift-tvOS13.0 │ │ ├── ImageIOSwift-tvOS13.0-Info.plist │ │ ├── ImageIOSwift-tvOS13.0-dummy.m │ │ ├── ImageIOSwift-tvOS13.0-prefix.pch │ │ ├── ImageIOSwift-tvOS13.0-umbrella.h │ │ ├── ImageIOSwift-tvOS13.0.debug.xcconfig │ │ ├── ImageIOSwift-tvOS13.0.modulemap │ │ ├── ImageIOSwift-tvOS13.0.release.xcconfig │ │ └── ImageIOSwift-tvOS13.0.xcconfig │ │ ├── ImageIOSwift-watchOS6.0 │ │ ├── ImageIOSwift-watchOS6.0-Info.plist │ │ ├── ImageIOSwift-watchOS6.0-dummy.m │ │ ├── ImageIOSwift-watchOS6.0-prefix.pch │ │ ├── ImageIOSwift-watchOS6.0-umbrella.h │ │ ├── ImageIOSwift-watchOS6.0.debug.xcconfig │ │ ├── ImageIOSwift-watchOS6.0.modulemap │ │ ├── ImageIOSwift-watchOS6.0.release.xcconfig │ │ └── ImageIOSwift-watchOS6.0.xcconfig │ │ ├── ImageIOSwiftUI-iOS │ │ ├── ImageIOSwiftUI-iOS-Info.plist │ │ ├── ImageIOSwiftUI-iOS-dummy.m │ │ ├── ImageIOSwiftUI-iOS-prefix.pch │ │ ├── ImageIOSwiftUI-iOS-umbrella.h │ │ ├── ImageIOSwiftUI-iOS.debug.xcconfig │ │ ├── ImageIOSwiftUI-iOS.modulemap │ │ ├── ImageIOSwiftUI-iOS.release.xcconfig │ │ └── ImageIOSwiftUI-iOS.xcconfig │ │ ├── ImageIOSwiftUI-macOS │ │ ├── ImageIOSwiftUI-macOS-Info.plist │ │ ├── ImageIOSwiftUI-macOS-dummy.m │ │ ├── ImageIOSwiftUI-macOS-prefix.pch │ │ ├── ImageIOSwiftUI-macOS-umbrella.h │ │ ├── ImageIOSwiftUI-macOS.debug.xcconfig │ │ ├── ImageIOSwiftUI-macOS.modulemap │ │ ├── ImageIOSwiftUI-macOS.release.xcconfig │ │ └── ImageIOSwiftUI-macOS.xcconfig │ │ ├── ImageIOSwiftUI-tvOS │ │ ├── ImageIOSwiftUI-tvOS-Info.plist │ │ ├── ImageIOSwiftUI-tvOS-dummy.m │ │ ├── ImageIOSwiftUI-tvOS-prefix.pch │ │ ├── ImageIOSwiftUI-tvOS-umbrella.h │ │ ├── ImageIOSwiftUI-tvOS.debug.xcconfig │ │ ├── ImageIOSwiftUI-tvOS.modulemap │ │ ├── ImageIOSwiftUI-tvOS.release.xcconfig │ │ └── ImageIOSwiftUI-tvOS.xcconfig │ │ ├── ImageIOSwiftUI-watchOS │ │ ├── ImageIOSwiftUI-watchOS-Info.plist │ │ ├── ImageIOSwiftUI-watchOS-dummy.m │ │ ├── ImageIOSwiftUI-watchOS-prefix.pch │ │ ├── ImageIOSwiftUI-watchOS-umbrella.h │ │ ├── ImageIOSwiftUI-watchOS.debug.xcconfig │ │ ├── ImageIOSwiftUI-watchOS.modulemap │ │ ├── ImageIOSwiftUI-watchOS.release.xcconfig │ │ └── ImageIOSwiftUI-watchOS.xcconfig │ │ ├── ImageIOUIKit │ │ ├── ImageIOUIKit-Info.plist │ │ ├── ImageIOUIKit-dummy.m │ │ ├── ImageIOUIKit-prefix.pch │ │ ├── ImageIOUIKit-umbrella.h │ │ ├── ImageIOUIKit.debug.xcconfig │ │ ├── ImageIOUIKit.modulemap │ │ ├── ImageIOUIKit.release.xcconfig │ │ └── ImageIOUIKit.xcconfig │ │ ├── Pods-ImageIOSwift_Example │ │ ├── Info.plist │ │ ├── Pods-ImageIOSwift_Example-Info.plist │ │ ├── Pods-ImageIOSwift_Example-acknowledgements.markdown │ │ ├── Pods-ImageIOSwift_Example-acknowledgements.plist │ │ ├── Pods-ImageIOSwift_Example-dummy.m │ │ ├── Pods-ImageIOSwift_Example-frameworks.sh │ │ ├── Pods-ImageIOSwift_Example-resources.sh │ │ ├── Pods-ImageIOSwift_Example-umbrella.h │ │ ├── Pods-ImageIOSwift_Example.debug.xcconfig │ │ ├── Pods-ImageIOSwift_Example.modulemap │ │ └── Pods-ImageIOSwift_Example.release.xcconfig │ │ ├── Pods-ImageIOSwift_Tests │ │ ├── Info.plist │ │ ├── Pods-ImageIOSwift_Tests-Info.plist │ │ ├── Pods-ImageIOSwift_Tests-acknowledgements.markdown │ │ ├── Pods-ImageIOSwift_Tests-acknowledgements.plist │ │ ├── Pods-ImageIOSwift_Tests-dummy.m │ │ ├── Pods-ImageIOSwift_Tests-frameworks-Debug-input-files.xcfilelist │ │ ├── Pods-ImageIOSwift_Tests-frameworks-Debug-output-files.xcfilelist │ │ ├── Pods-ImageIOSwift_Tests-frameworks-Release-input-files.xcfilelist │ │ ├── Pods-ImageIOSwift_Tests-frameworks-Release-output-files.xcfilelist │ │ ├── Pods-ImageIOSwift_Tests-frameworks.sh │ │ ├── Pods-ImageIOSwift_Tests-resources.sh │ │ ├── Pods-ImageIOSwift_Tests-umbrella.h │ │ ├── Pods-ImageIOSwift_Tests.debug.xcconfig │ │ ├── Pods-ImageIOSwift_Tests.modulemap │ │ └── Pods-ImageIOSwift_Tests.release.xcconfig │ │ ├── Pods-example-swiftui-ios │ │ ├── Pods-example-swiftui-ios-Info.plist │ │ ├── Pods-example-swiftui-ios-acknowledgements.markdown │ │ ├── Pods-example-swiftui-ios-acknowledgements.plist │ │ ├── Pods-example-swiftui-ios-dummy.m │ │ ├── Pods-example-swiftui-ios-umbrella.h │ │ ├── Pods-example-swiftui-ios.debug.xcconfig │ │ ├── Pods-example-swiftui-ios.modulemap │ │ └── Pods-example-swiftui-ios.release.xcconfig │ │ ├── Pods-example-swiftui-mac │ │ ├── Pods-example-swiftui-mac-Info.plist │ │ ├── Pods-example-swiftui-mac-acknowledgements.markdown │ │ ├── Pods-example-swiftui-mac-acknowledgements.plist │ │ ├── Pods-example-swiftui-mac-dummy.m │ │ ├── Pods-example-swiftui-mac-umbrella.h │ │ ├── Pods-example-swiftui-mac.debug.xcconfig │ │ ├── Pods-example-swiftui-mac.modulemap │ │ └── Pods-example-swiftui-mac.release.xcconfig │ │ ├── Pods-example-swiftui-tvos │ │ ├── Pods-example-swiftui-tvos-Info.plist │ │ ├── Pods-example-swiftui-tvos-acknowledgements.markdown │ │ ├── Pods-example-swiftui-tvos-acknowledgements.plist │ │ ├── Pods-example-swiftui-tvos-dummy.m │ │ ├── Pods-example-swiftui-tvos-umbrella.h │ │ ├── Pods-example-swiftui-tvos.debug.xcconfig │ │ ├── Pods-example-swiftui-tvos.modulemap │ │ └── Pods-example-swiftui-tvos.release.xcconfig │ │ └── Pods-example-swiftui-watch-extension │ │ ├── Pods-example-swiftui-watch-extension-Info.plist │ │ ├── Pods-example-swiftui-watch-extension-acknowledgements.markdown │ │ ├── Pods-example-swiftui-watch-extension-acknowledgements.plist │ │ ├── Pods-example-swiftui-watch-extension-dummy.m │ │ ├── Pods-example-swiftui-watch-extension-umbrella.h │ │ ├── Pods-example-swiftui-watch-extension.debug.xcconfig │ │ ├── Pods-example-swiftui-watch-extension.modulemap │ │ └── Pods-example-swiftui-watch-extension.release.xcconfig ├── Tests │ ├── ImageSourceViewSnapshotTests.swift │ ├── Info.plist │ ├── LocalFiles.swift │ ├── ReferenceImages_64 │ │ └── ImageIOSwift_Tests.ImageSourceViewSnapshotTests │ │ │ ├── testContentMode_bottom@2x.png │ │ │ ├── testContentMode_bottomLeft@2x.png │ │ │ ├── testContentMode_bottomRight@2x.png │ │ │ ├── testContentMode_center@2x.png │ │ │ ├── testContentMode_left@2x.png │ │ │ ├── testContentMode_right@2x.png │ │ │ ├── testContentMode_scaleAspectFill@2x.png │ │ │ ├── testContentMode_scaleAspectFit@2x.png │ │ │ ├── testContentMode_scaleToFill@2x.png │ │ │ ├── testContentMode_top@2x.png │ │ │ ├── testContentMode_topLeft@2x.png │ │ │ ├── testContentMode_topRight@2x.png │ │ │ ├── testIncrementalLoadAndReturnError:_0%@2x.png │ │ │ ├── testIncrementalLoadAndReturnError:_10%@2x.png │ │ │ ├── testIncrementalLoadAndReturnError:_100%@2x.png │ │ │ ├── testIncrementalLoadAndReturnError:_50%@2x.png │ │ │ ├── testOrientations_Landscape_1@2x.png │ │ │ ├── testOrientations_Landscape_2@2x.png │ │ │ ├── testOrientations_Landscape_3@2x.png │ │ │ ├── testOrientations_Landscape_4@2x.png │ │ │ ├── testOrientations_Landscape_5@2x.png │ │ │ ├── testOrientations_Landscape_6@2x.png │ │ │ ├── testOrientations_Landscape_7@2x.png │ │ │ ├── testOrientations_Landscape_8@2x.png │ │ │ ├── testOrientations_Portrait_1@2x.png │ │ │ ├── testOrientations_Portrait_2@2x.png │ │ │ ├── testOrientations_Portrait_3@2x.png │ │ │ ├── testOrientations_Portrait_4@2x.png │ │ │ ├── testOrientations_Portrait_5@2x.png │ │ │ ├── testOrientations_Portrait_6@2x.png │ │ │ ├── testOrientations_Portrait_7@2x.png │ │ │ └── testOrientations_Portrait_8@2x.png │ ├── SizeTests.swift │ └── UIViewContentMode+CustomStringConvertible.swift ├── example-swiftui-ios │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ └── LaunchScreen.storyboard │ ├── Info.plist │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ ├── SceneDelegate.swift │ └── example-swiftui-ios.entitlements ├── example-swiftui-mac │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ └── Main.storyboard │ ├── Info.plist │ ├── Preview Content │ │ └── Preview Assets.xcassets │ │ │ └── Contents.json │ └── example_swiftui_mac.entitlements ├── example-swiftui-tvos │ ├── AppDelegate.swift │ ├── Assets.xcassets │ │ ├── App Icon & Top Shelf Image.brandassets │ │ │ ├── App Icon - App Store.imagestack │ │ │ │ ├── Back.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ ├── Contents.json │ │ │ │ ├── Front.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ └── Middle.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ ├── App Icon.imagestack │ │ │ │ ├── Back.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ ├── Contents.json │ │ │ │ ├── Front.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ │ └── Middle.imagestacklayer │ │ │ │ │ ├── Content.imageset │ │ │ │ │ └── Contents.json │ │ │ │ │ └── Contents.json │ │ │ ├── Contents.json │ │ │ ├── Top Shelf Image Wide.imageset │ │ │ │ └── Contents.json │ │ │ └── Top Shelf Image.imageset │ │ │ │ └── Contents.json │ │ ├── Contents.json │ │ └── Launch Image.launchimage │ │ │ └── Contents.json │ ├── Info.plist │ └── Preview Content │ │ └── Preview Assets.xcassets │ │ └── Contents.json ├── example-swiftui-watch Extension │ ├── Assets.xcassets │ │ ├── Complication.complicationset │ │ │ ├── Circular.imageset │ │ │ │ └── Contents.json │ │ │ ├── Contents.json │ │ │ ├── Extra Large.imageset │ │ │ │ └── Contents.json │ │ │ ├── Graphic Bezel.imageset │ │ │ │ └── Contents.json │ │ │ ├── Graphic Circular.imageset │ │ │ │ └── Contents.json │ │ │ ├── Graphic Corner.imageset │ │ │ │ └── Contents.json │ │ │ ├── Graphic Large Rectangular.imageset │ │ │ │ └── Contents.json │ │ │ ├── Modular.imageset │ │ │ │ └── Contents.json │ │ │ └── Utilitarian.imageset │ │ │ │ └── Contents.json │ │ └── Contents.json │ ├── ExtensionDelegate.swift │ ├── HostingController.swift │ ├── Info.plist │ ├── NavigationView.swift │ └── Preview Content │ │ └── Preview Assets.xcassets │ │ └── Contents.json ├── example-swiftui-watch │ ├── Assets.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── Contents.json │ ├── Base.lproj │ │ └── Interface.storyboard │ └── Info.plist └── example-swiftui │ ├── AnimationProgress.swift │ ├── AnimationsView.swift │ ├── ContentView.swift │ ├── DownloadProgress.swift │ ├── IncrementalSamplesView.swift │ ├── OrientationsView.swift │ ├── ProfileView.swift │ ├── RandomUser.swift │ ├── Sample.swift │ ├── SampleView.swift │ ├── UserListView.swift │ └── navigationBarTitle.swift ├── ImageIOSwift.podspec ├── ImageIOSwiftUI.podspec ├── ImageIOUIKit.podspec ├── Images ├── Interlaced.gif └── Progressive.gif ├── LICENSE ├── Package.swift ├── README.md ├── Sources ├── ImageIOSwift │ ├── CGImage+Helpers.swift │ ├── CGImageSourceStatus+Helpers.swift │ ├── CGSize+Helpers.swift │ ├── DisplayLink.swift │ ├── GIFProperties.swift │ ├── HEICProperties.swift │ ├── IPTCProperties.swift │ ├── ImageDestination.swift │ ├── ImageSource.swift │ ├── ImageSourceController.swift │ ├── ImageSourceDownloader.swift │ ├── JPEGProperties.swift │ ├── PNGProperties.swift │ ├── Properties.swift │ ├── TIFFProperties.swift │ └── Weak.swift ├── ImageIOSwiftUI │ ├── Derived.swift │ ├── ImageSourceView.swift │ ├── StaticImageSourceView.swift │ └── URLImageSourceView.swift └── ImageIOUIKit │ ├── ImageSource+UIKit.swift │ ├── ImageSourceController+UIKit.swift │ ├── ImageSourceView.swift │ └── UIImageOrientation+Helpers.swift ├── Tests ├── ImageIOSwiftTests │ ├── ImageIOSwiftTests.swift │ └── XCTestManifests.swift └── LinuxMain.swift └── _Pods.xcodeproj /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | test_output/ 7 | *.pbxuser 8 | !default.pbxuser 9 | *.mode1v3 10 | !default.mode1v3 11 | *.mode2v3 12 | !default.mode2v3 13 | *.perspectivev3 14 | !default.perspectivev3 15 | xcuserdata/ 16 | *.xccheckout 17 | profile 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | 23 | # Bundler 24 | .bundle 25 | /.swiftpm 26 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "Example/Images/exif-orientation-examples"] 2 | path = Example/Images/exif-orientation-examples 3 | url = https://github.com/recurser/exif-orientation-examples.git 4 | -------------------------------------------------------------------------------- /.swiftformat: -------------------------------------------------------------------------------- 1 | --acronyms ID,URL,UUID 2 | --allman false 3 | --assetliterals visual-width 4 | --beforemarks 5 | --binarygrouping 4,8 6 | --categorymark "MARK: %c" 7 | --classthreshold 0 8 | --closingparen balanced 9 | --closurevoid remove 10 | --commas always 11 | --conflictmarkers reject 12 | --decimalgrouping 3,6 13 | --elseposition same-line 14 | --emptybraces no-space 15 | --enumnamespaces always 16 | --enumthreshold 0 17 | --exponentcase lowercase 18 | --exponentgrouping disabled 19 | --extensionacl on-extension 20 | --extensionlength 0 21 | --extensionmark "MARK: - %t + %c" 22 | --fractiongrouping disabled 23 | --fragment false 24 | --funcattributes preserve 25 | --generictypes 26 | --groupedextension "MARK: %c" 27 | --guardelse auto 28 | --header strip 29 | --hexgrouping 4,8 30 | --hexliteralcase uppercase 31 | --ifdef indent 32 | --importgrouping alpha 33 | --indent tab 34 | --indentcase false 35 | --indentstrings false 36 | --lifecycle 37 | --lineaftermarks true 38 | --linebreaks lf 39 | --markcategories true 40 | --markextensions always 41 | --marktypes always 42 | --maxwidth none 43 | --modifierorder 44 | --nevertrailing 45 | --nospaceoperators 46 | --nowrapoperators 47 | --octalgrouping 4,8 48 | --operatorfunc spaced 49 | --organizetypes class,enum,struct 50 | --patternlet hoist 51 | --ranges spaced 52 | --redundanttype infer-locals-only 53 | --self remove 54 | --selfrequired 55 | --semicolons inline 56 | --shortoptionals always 57 | --smarttabs enabled 58 | --someAny true 59 | --stripunusedargs always 60 | --structthreshold 0 61 | --swiftversion 5.5 62 | --tabwidth 4 63 | --trailingclosures 64 | --trimwhitespace always 65 | --typeattributes preserve 66 | --typeblanklines remove 67 | --typemark "MARK: - %t" 68 | --varattributes preserve 69 | --voidtype void 70 | --wraparguments preserve 71 | --wrapcollections preserve 72 | --wrapconditions preserve 73 | --wrapparameters preserve 74 | --wrapreturntype preserve 75 | --wrapternary default 76 | --wraptypealiases preserve 77 | --xcodeindentation enabled 78 | --yodaswap always 79 | --disable andOperator,hoistPatternLet,redundantRawValues,redundantSelf,sortedImports,unusedArguments 80 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 1.0.0 2 | 3 | - `ImageSource` is now a class instead of a struct. Originally I used a struct to get the best performance possible. However the performance penalty for using an extra class is very small and image sources use reference semantics because they can be updated as they are downloaded. This should make the interface cleaner and easier to reason about. 4 | - `ImageSource` properties for both the image and individual images are no longer optional. 5 | - Animation properties now support animated HEIC files. This is available for iOS 13/macOS 10.15/etc only. 6 | - UIKit integration, including `ImageSourceView`, are now in their own target. This is to allow the SwiftUI integration to use the same name for it's view. -------------------------------------------------------------------------------- /Example/ImageIOSwift.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/ImageIOSwift.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/ImageIOSwift.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/ImageIOSwift/AnimatedViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | class AnimatedViewController: ImageSourceViewController { 4 | override func viewDidLoad() { 5 | super.viewDidLoad() 6 | 7 | imageSourceView.isAnimationEnabled = true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Example/ImageIOSwift/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /Example/ImageIOSwift/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | 34 | UIRequiredDeviceCapabilities 35 | 36 | armv7 37 | 38 | UISupportedInterfaceOrientations 39 | 40 | UIInterfaceOrientationPortrait 41 | UIInterfaceOrientationLandscapeLeft 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /Example/ImageIOSwift/PickerViewController.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | class PickerViewController: UITableViewController { 4 | let example: ExampleList 5 | 6 | init(example: ExampleList) { 7 | self.example = example 8 | 9 | super.init(nibName: nil, bundle: nil) 10 | 11 | self.title = example.name 12 | } 13 | 14 | @available(*, unavailable) 15 | required init?(coder _: NSCoder) { 16 | fatalError("init(coder:) has not been implemented") 17 | } 18 | 19 | override func viewDidLoad() { 20 | super.viewDidLoad() 21 | 22 | self.tableView.register(UITableViewCell.self, forCellReuseIdentifier: "Cell") 23 | } 24 | 25 | override func viewWillAppear(_ animated: Bool) { 26 | clearsSelectionOnViewWillAppear = splitViewController!.isCollapsed 27 | super.viewWillAppear(animated) 28 | } 29 | 30 | // MARK: - Table view data source 31 | 32 | override func numberOfSections(in _: UITableView) -> Int { 33 | 1 34 | } 35 | 36 | override func tableView(_: UITableView, numberOfRowsInSection _: Int) -> Int { 37 | self.example.sources.count 38 | } 39 | 40 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { 41 | let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) 42 | 43 | let url = self.example.sources[indexPath.row] 44 | if url?.isFileURL ?? false { 45 | cell.textLabel?.text = url?.lastPathComponent 46 | } else { 47 | cell.textLabel?.text = url?.absoluteString 48 | } 49 | cell.textLabel?.lineBreakMode = .byTruncatingMiddle 50 | cell.accessoryType = .disclosureIndicator 51 | 52 | return cell 53 | } 54 | 55 | override func tableView(_: UITableView, didSelectRowAt indexPath: IndexPath) { 56 | guard let option = example.sources[indexPath.row] else { return } 57 | 58 | let viewController = self.example.detailViewControllerType.init(url: option) 59 | let navigationController = UINavigationController(rootViewController: viewController) 60 | 61 | self.showDetailViewController(navigationController, sender: nil) 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /Example/Images/animated.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/animated.gif -------------------------------------------------------------------------------- /Example/Images/animated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/animated.png -------------------------------------------------------------------------------- /Example/Images/heic/alpha_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/alpha_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/autumn_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/autumn_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/bird_burst.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/bird_burst.heic -------------------------------------------------------------------------------- /Example/Images/heic/dog.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/dog.heic -------------------------------------------------------------------------------- /Example/Images/heic/grid_960x640.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/grid_960x640.heic -------------------------------------------------------------------------------- /Example/Images/heic/random_collection_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/random_collection_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/sea1_animation.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/sea1_animation.heic -------------------------------------------------------------------------------- /Example/Images/heic/season_collection_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/season_collection_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/spring_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/spring_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/starfield_animation.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/starfield_animation.heic -------------------------------------------------------------------------------- /Example/Images/heic/winter_1440x960.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/winter_1440x960.heic -------------------------------------------------------------------------------- /Example/Images/heic/yard.heic: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/heic/yard.heic -------------------------------------------------------------------------------- /Example/Images/interlaced.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/interlaced.jpeg -------------------------------------------------------------------------------- /Example/Images/progressive.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/progressive.jpeg -------------------------------------------------------------------------------- /Example/Images/small.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/small.jpeg -------------------------------------------------------------------------------- /Example/Images/transparent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/transparent.gif -------------------------------------------------------------------------------- /Example/Images/transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Images/transparent.png -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '9.0' 2 | use_frameworks! 3 | 4 | target 'ImageIOSwift_Example' do 5 | pod 'ImageIOSwift', :path => '../' 6 | pod 'ImageIOUIKit', :path => '../' 7 | 8 | target 'ImageIOSwift_Tests' do 9 | inherit! :search_paths 10 | 11 | pod 'FBSnapshotTestCase' , '~> 2.1.4' 12 | end 13 | end 14 | 15 | target 'example-swiftui-ios' do 16 | platform :ios, '13.0' 17 | 18 | pod 'ImageIOSwift', :path => '../' 19 | pod 'ImageIOSwiftUI', :path => '../' 20 | end 21 | 22 | target 'example-swiftui-mac' do 23 | platform :osx, '10.15' 24 | 25 | pod 'ImageIOSwift', :path => '../' 26 | pod 'ImageIOSwiftUI', :path => '../' 27 | end 28 | 29 | target 'example-swiftui-watch-extension' do 30 | platform :watchos, '6.0' 31 | 32 | pod 'ImageIOSwift', :path => '../' 33 | pod 'ImageIOSwiftUI', :path => '../' 34 | end 35 | 36 | target 'example-swiftui-tvos' do 37 | platform :tvos, '13.0' 38 | 39 | pod 'ImageIOSwift', :path => '../' 40 | pod 'ImageIOSwiftUI', :path => '../' 41 | end 42 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FBSnapshotTestCase (2.1.4): 3 | - FBSnapshotTestCase/SwiftSupport (= 2.1.4) 4 | - FBSnapshotTestCase/Core (2.1.4) 5 | - FBSnapshotTestCase/SwiftSupport (2.1.4): 6 | - FBSnapshotTestCase/Core 7 | - ImageIOSwift (1.1.0) 8 | - ImageIOSwiftUI (1.1.0): 9 | - ImageIOSwift (~> 1.1.0) 10 | - ImageIOUIKit (1.1.0): 11 | - ImageIOSwift (~> 1.1.0) 12 | 13 | DEPENDENCIES: 14 | - FBSnapshotTestCase (~> 2.1.4) 15 | - ImageIOSwift (from `../`) 16 | - ImageIOSwiftUI (from `../`) 17 | - ImageIOUIKit (from `../`) 18 | 19 | SPEC REPOS: 20 | https://github.com/CocoaPods/Specs.git: 21 | - FBSnapshotTestCase 22 | 23 | EXTERNAL SOURCES: 24 | ImageIOSwift: 25 | :path: "../" 26 | ImageIOSwiftUI: 27 | :path: "../" 28 | ImageIOUIKit: 29 | :path: "../" 30 | 31 | SPEC CHECKSUMS: 32 | FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a 33 | ImageIOSwift: fbc009de4e4895173540b4e4b444cf014d8193db 34 | ImageIOSwiftUI: 1f7bb0d99f18383bb6cdac8e44248b4efa129048 35 | ImageIOUIKit: befdc00ad0de6868ed74b44040dbacd2c21bb24c 36 | 37 | PODFILE CHECKSUM: d2be18b8576cdac3ef9ab50ae179d6ddb5a66160 38 | 39 | COCOAPODS: 1.9.1 40 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/Categories/UIApplication+StrictKeyWindow.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | * 9 | */ 10 | 11 | #import 12 | 13 | @interface UIApplication (StrictKeyWindow) 14 | 15 | /** 16 | @return The receiver's @c keyWindow. Raises an assertion if @c nil. 17 | */ 18 | - (UIWindow *)fb_strictKeyWindow; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/Categories/UIApplication+StrictKeyWindow.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | * 9 | */ 10 | 11 | #import 12 | 13 | @implementation UIApplication (StrictKeyWindow) 14 | 15 | - (UIWindow *)fb_strictKeyWindow 16 | { 17 | UIWindow *keyWindow = [UIApplication sharedApplication].keyWindow; 18 | if (!keyWindow) { 19 | [NSException raise:@"FBSnapshotTestCaseNilKeyWindowException" 20 | format:@"Snapshot tests must be hosted by an application with a key window. Please ensure your test" 21 | " host sets up a key window at launch (either via storyboards or programmatically) and doesn't" 22 | " do anything to remove it while snapshot tests are running."]; 23 | } 24 | return keyWindow; 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/Categories/UIImage+Compare.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Gabriel Handford on 3/1/09. 3 | // Copyright 2009-2013. All rights reserved. 4 | // Created by John Boiles on 10/20/11. 5 | // Copyright (c) 2011. All rights reserved 6 | // Modified by Felix Schulze on 2/11/13. 7 | // Copyright 2013. All rights reserved. 8 | // 9 | // Permission is hereby granted, free of charge, to any person 10 | // obtaining a copy of this software and associated documentation 11 | // files (the "Software"), to deal in the Software without 12 | // restriction, including without limitation the rights to use, 13 | // copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | // copies of the Software, and to permit persons to whom the 15 | // Software is furnished to do so, subject to the following 16 | // conditions: 17 | // 18 | // The above copyright notice and this permission notice shall be 19 | // included in all copies or substantial portions of the Software. 20 | // 21 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 22 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 23 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 25 | // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 26 | // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 27 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 28 | // OTHER DEALINGS IN THE SOFTWARE. 29 | // 30 | 31 | #import 32 | 33 | @interface UIImage (Compare) 34 | 35 | - (BOOL)fb_compareWithImage:(UIImage *)image tolerance:(CGFloat)tolerance; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/Categories/UIImage+Diff.h: -------------------------------------------------------------------------------- 1 | // 2 | // Created by Gabriel Handford on 3/1/09. 3 | // Copyright 2009-2013. All rights reserved. 4 | // Created by John Boiles on 10/20/11. 5 | // Copyright (c) 2011. All rights reserved 6 | // Modified by Felix Schulze on 2/11/13. 7 | // Copyright 2013. All rights reserved. 8 | // 9 | // Permission is hereby granted, free of charge, to any person 10 | // obtaining a copy of this software and associated documentation 11 | // files (the "Software"), to deal in the Software without 12 | // restriction, including without limitation the rights to use, 13 | // copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | // copies of the Software, and to permit persons to whom the 15 | // Software is furnished to do so, subject to the following 16 | // conditions: 17 | // 18 | // The above copyright notice and this permission notice shall be 19 | // included in all copies or substantial portions of the Software. 20 | // 21 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 22 | // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 23 | // OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 24 | // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 25 | // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 26 | // WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 27 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 28 | // OTHER DEALINGS IN THE SOFTWARE. 29 | // 30 | 31 | #import 32 | 33 | @interface UIImage (Diff) 34 | 35 | - (UIImage *)fb_diffWithImage:(UIImage *)image; 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/Categories/UIImage+Snapshot.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | * 9 | */ 10 | 11 | #import 12 | 13 | @interface UIImage (Snapshot) 14 | 15 | /// Uses renderInContext: to get a snapshot of the layer. 16 | + (UIImage *)fb_imageForLayer:(CALayer *)layer; 17 | 18 | /// Uses renderInContext: to get a snapshot of the view layer. 19 | + (UIImage *)fb_imageForViewLayer:(UIView *)view; 20 | 21 | /// Uses drawViewHierarchyInRect: to get a snapshot of the view and adds the view into a window if needed. 22 | + (UIImage *)fb_imageForView:(UIView *)view; 23 | 24 | @end 25 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | * 9 | */ 10 | 11 | #import 12 | 13 | #ifdef __cplusplus 14 | extern "C" { 15 | #endif 16 | 17 | /** 18 | Returns a Boolean value that indicates whether the snapshot test is running in 64Bit. 19 | This method is a convenience for creating the suffixes set based on the architecture 20 | that the test is running. 21 | 22 | @returns @c YES if the test is running in 64bit, otherwise @c NO. 23 | */ 24 | BOOL FBSnapshotTestCaseIs64Bit(void); 25 | 26 | /** 27 | Returns a default set of strings that is used to append a suffix based on the architectures. 28 | @warning Do not modify this function, you can create your own and use it with @c FBSnapshotVerifyViewWithOptions() 29 | 30 | @returns An @c NSOrderedSet object containing strings that are appended to the reference images directory. 31 | */ 32 | NSOrderedSet *FBSnapshotTestCaseDefaultSuffixes(void); 33 | 34 | /** 35 | Returns a fully «normalized» file name. 36 | Strips punctuation and spaces and replaces them with @c _. Also appends the device model, running OS and screen size to the file name. 37 | 38 | @returns An @c NSString object containing the passed @c fileName with the device model, OS and screen size appended at the end. 39 | */ 40 | NSString *FBDeviceAgnosticNormalizedFileName(NSString *fileName); 41 | 42 | #ifdef __cplusplus 43 | } 44 | #endif 45 | -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/FBSnapshotTestCase/FBSnapshotTestCasePlatform.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2015, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | * 9 | */ 10 | 11 | #import 12 | #import 13 | #import 14 | 15 | BOOL FBSnapshotTestCaseIs64Bit(void) 16 | { 17 | #if __LP64__ 18 | return YES; 19 | #else 20 | return NO; 21 | #endif 22 | } 23 | 24 | NSOrderedSet *FBSnapshotTestCaseDefaultSuffixes(void) 25 | { 26 | NSMutableOrderedSet *suffixesSet = [[NSMutableOrderedSet alloc] init]; 27 | [suffixesSet addObject:@"_32"]; 28 | [suffixesSet addObject:@"_64"]; 29 | if (FBSnapshotTestCaseIs64Bit()) { 30 | return [suffixesSet reversedOrderedSet]; 31 | } 32 | return [suffixesSet copy]; 33 | } 34 | 35 | NSString *FBDeviceAgnosticNormalizedFileName(NSString *fileName) 36 | { 37 | UIDevice *device = [UIDevice currentDevice]; 38 | UIWindow *keyWindow = [[UIApplication sharedApplication] fb_strictKeyWindow]; 39 | CGSize screenSize = keyWindow.bounds.size; 40 | NSString *os = device.systemVersion; 41 | 42 | fileName = [NSString stringWithFormat:@"%@_%@%@_%.0fx%.0f", fileName, device.model, os, screenSize.width, screenSize.height]; 43 | 44 | NSMutableCharacterSet *invalidCharacters = [NSMutableCharacterSet new]; 45 | [invalidCharacters formUnionWithCharacterSet:[NSCharacterSet whitespaceCharacterSet]]; 46 | [invalidCharacters formUnionWithCharacterSet:[NSCharacterSet punctuationCharacterSet]]; 47 | NSArray *validComponents = [fileName componentsSeparatedByCharactersInSet:invalidCharacters]; 48 | fileName = [validComponents componentsJoinedByString:@"_"]; 49 | 50 | return fileName; 51 | } -------------------------------------------------------------------------------- /Example/Pods/FBSnapshotTestCase/LICENSE: -------------------------------------------------------------------------------- 1 | BSD License 2 | 3 | For the FBSnapshotTestCase software 4 | 5 | Copyright (c) 2013, Facebook, Inc. 6 | All rights reserved. 7 | 8 | Redistribution and use in source and binary forms, with or without 9 | modification, are permitted provided that the following conditions are met: 10 | 11 | * Redistributions of source code must retain the above copyright notice, 12 | this list of conditions and the following disclaimer. 13 | * Redistributions in binary form must reproduce the above copyright notice, 14 | this list of conditions and the following disclaimer in the documentation 15 | and/or other materials provided with the distribution. 16 | * Neither the name Facebook nor the names of its contributors may be used to 17 | endorse or promote products derived from this software without specific 18 | prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ImageIOSwift.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ImageIOSwift", 3 | "version": "1.1.0", 4 | "summary": "Swift wrapper around ImageIO.", 5 | "description": "ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult.\n\nImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation.\n\nWhile there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports.", 6 | "homepage": "https://github.com/davbeck/ImageIOSwift", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "davbeck": "code@davidbeck.co" 13 | }, 14 | "source": { 15 | "git": "https://github.com/davbeck/ImageIOSwift.git", 16 | "tag": "1.1.0" 17 | }, 18 | "social_media_url": "https://twitter.com/davbeck", 19 | "swift_versions": "5.1", 20 | "platforms": { 21 | "ios": "9.0", 22 | "osx": "10.10", 23 | "tvos": "9.0", 24 | "watchos": "2.0" 25 | }, 26 | "static_framework": true, 27 | "source_files": "Sources/ImageIOSwift/*.swift", 28 | "frameworks": "ImageIO", 29 | "swift_version": "5.1" 30 | } 31 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ImageIOSwiftUI.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ImageIOSwiftUI", 3 | "version": "1.1.0", 4 | "summary": "UIKit integration for ImageIO.", 5 | "description": "ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult.\n\nImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation.\n\nWhile there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports.", 6 | "homepage": "https://github.com/davbeck/ImageIOSwift", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "davbeck": "code@davidbeck.co" 13 | }, 14 | "source": { 15 | "git": "https://github.com/davbeck/ImageIOSwift.git", 16 | "tag": "1.1.0" 17 | }, 18 | "social_media_url": "https://twitter.com/davbeck", 19 | "swift_versions": "5.1", 20 | "platforms": { 21 | "ios": "13.0", 22 | "osx": "10.15", 23 | "tvos": "13.0", 24 | "watchos": "6.0" 25 | }, 26 | "static_framework": true, 27 | "source_files": "Sources/ImageIOSwiftUI/*.swift", 28 | "frameworks": [ 29 | "SwiftUI", 30 | "Combine" 31 | ], 32 | "dependencies": { 33 | "ImageIOSwift": [ 34 | "~> 1.1.0" 35 | ] 36 | }, 37 | "swift_version": "5.1" 38 | } 39 | -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/ImageIOUIKit.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "ImageIOUIKit", 3 | "version": "1.1.0", 4 | "summary": "UIKit integration for ImageIO.", 5 | "description": "ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult.\n\nImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation.\n\nWhile there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports.", 6 | "homepage": "https://github.com/davbeck/ImageIOSwift", 7 | "license": { 8 | "type": "MIT", 9 | "file": "LICENSE" 10 | }, 11 | "authors": { 12 | "davbeck": "code@davidbeck.co" 13 | }, 14 | "source": { 15 | "git": "https://github.com/davbeck/ImageIOSwift.git", 16 | "tag": "1.1.0" 17 | }, 18 | "social_media_url": "https://twitter.com/davbeck", 19 | "swift_versions": "5.1", 20 | "platforms": { 21 | "ios": "9.0" 22 | }, 23 | "static_framework": true, 24 | "source_files": "Sources/ImageIOUIKit/*.swift", 25 | "frameworks": "UIKit", 26 | "dependencies": { 27 | "ImageIOSwift": [ 28 | "~> 1.1.0" 29 | ] 30 | }, 31 | "swift_version": "5.1" 32 | } 33 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - FBSnapshotTestCase (2.1.4): 3 | - FBSnapshotTestCase/SwiftSupport (= 2.1.4) 4 | - FBSnapshotTestCase/Core (2.1.4) 5 | - FBSnapshotTestCase/SwiftSupport (2.1.4): 6 | - FBSnapshotTestCase/Core 7 | - ImageIOSwift (1.1.0) 8 | - ImageIOSwiftUI (1.1.0): 9 | - ImageIOSwift (~> 1.1.0) 10 | - ImageIOUIKit (1.1.0): 11 | - ImageIOSwift (~> 1.1.0) 12 | 13 | DEPENDENCIES: 14 | - FBSnapshotTestCase (~> 2.1.4) 15 | - ImageIOSwift (from `../`) 16 | - ImageIOSwiftUI (from `../`) 17 | - ImageIOUIKit (from `../`) 18 | 19 | SPEC REPOS: 20 | https://github.com/CocoaPods/Specs.git: 21 | - FBSnapshotTestCase 22 | 23 | EXTERNAL SOURCES: 24 | ImageIOSwift: 25 | :path: "../" 26 | ImageIOSwiftUI: 27 | :path: "../" 28 | ImageIOUIKit: 29 | :path: "../" 30 | 31 | SPEC CHECKSUMS: 32 | FBSnapshotTestCase: 094f9f314decbabe373b87cc339bea235a63e07a 33 | ImageIOSwift: fbc009de4e4895173540b4e4b444cf014d8193db 34 | ImageIOSwiftUI: 1f7bb0d99f18383bb6cdac8e44248b4efa129048 35 | ImageIOUIKit: befdc00ad0de6868ed74b44040dbacd2c21bb24c 36 | 37 | PODFILE CHECKSUM: d2be18b8576cdac3ef9ab50ae179d6ddb5a66160 38 | 39 | COCOAPODS: 1.9.1 40 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/Pods/Pods.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.1.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_FBSnapshotTestCase : NSObject 3 | @end 4 | @implementation PodsDummy_FBSnapshotTestCase 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | #import "FBSnapshotTestCase.h" 14 | #import "FBSnapshotTestCasePlatform.h" 15 | #import "FBSnapshotTestController.h" 16 | 17 | FOUNDATION_EXPORT double FBSnapshotTestCaseVersionNumber; 18 | FOUNDATION_EXPORT const unsigned char FBSnapshotTestCaseVersionString[]; 19 | 20 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase 2 | ENABLE_BITCODE = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/usr/lib" 6 | OTHER_LDFLAGS = $(inherited) -framework "Foundation" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBSnapshotTestCase 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | SWIFT_INCLUDE_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/usr/lib" 15 | SYSTEM_FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.modulemap: -------------------------------------------------------------------------------- 1 | framework module FBSnapshotTestCase { 2 | umbrella header "FBSnapshotTestCase-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase 2 | ENABLE_BITCODE = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | LIBRARY_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/usr/lib" 6 | OTHER_LDFLAGS = $(inherited) -framework "Foundation" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_ROOT = ${SRCROOT} 11 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBSnapshotTestCase 12 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 13 | SKIP_INSTALL = YES 14 | SWIFT_INCLUDE_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/usr/lib" 15 | SYSTEM_FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" 16 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/FBSnapshotTestCase.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase 2 | ENABLE_BITCODE = NO 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | OTHER_LDFLAGS = $(inherited) -framework "Foundation" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_ROOT = ${SRCROOT} 10 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/FBSnapshotTestCase 11 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 12 | SKIP_INSTALL = YES 13 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 14 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/FBSnapshotTestCase/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 2.1.4 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwift_iOS13_0 : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwift_iOS13_0 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwift { 2 | umbrella header "ImageIOSwift-iOS13.0-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS13.0/ImageIOSwift-iOS13.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwift_iOS9_0 : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwift_iOS9_0 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwift { 2 | umbrella header "ImageIOSwift-iOS9.0-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-iOS9.0/ImageIOSwift-iOS9.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwift_macOS10_15 : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwift_macOS10_15 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwift { 2 | umbrella header "ImageIOSwift-macOS10.15-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-macOS10.15/ImageIOSwift-macOS10.15.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwift_tvOS13_0 : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwift_tvOS13_0 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwift { 2 | umbrella header "ImageIOSwift-tvOS13.0-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-tvOS13.0/ImageIOSwift-tvOS13.0.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 11 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwift_watchOS6_0 : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwift_watchOS6_0 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0.debug.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwift { 2 | umbrella header "ImageIOSwift-watchOS6.0-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0.release.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwift-watchOS6.0/ImageIOSwift-watchOS6.0.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwiftUI_iOS : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwiftUI_iOS 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftUIVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftUIVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwiftUI { 2 | umbrella header "ImageIOSwiftUI-iOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-iOS/ImageIOSwiftUI-iOS.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwiftUI_macOS : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwiftUI_macOS 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftUIVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftUIVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwiftUI { 2 | umbrella header "ImageIOSwiftUI-macOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-macOS/ImageIOSwiftUI-macOS.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwiftUI_tvOS : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwiftUI_tvOS 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftUIVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftUIVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwiftUI { 2 | umbrella header "ImageIOSwiftUI-tvOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-tvOS/ImageIOSwiftUI-tvOS.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOSwiftUI_watchOS : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOSwiftUI_watchOS 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOSwiftUIVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOSwiftUIVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS.debug.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOSwiftUI { 2 | umbrella header "ImageIOSwiftUI-watchOS-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS.release.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOSwiftUI-watchOS/ImageIOSwiftUI-watchOS.xcconfig: -------------------------------------------------------------------------------- 1 | APPLICATION_EXTENSION_API_ONLY = YES 2 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS 3 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0" 4 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 5 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 6 | PODS_BUILD_DIR = ${BUILD_DIR} 7 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 8 | PODS_ROOT = ${SRCROOT} 9 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 10 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 11 | SKIP_INSTALL = YES 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_ImageIOUIKit : NSObject 3 | @end 4 | @implementation PodsDummy_ImageIOUIKit 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double ImageIOUIKitVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char ImageIOUIKitVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit.debug.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit.modulemap: -------------------------------------------------------------------------------- 1 | framework module ImageIOUIKit { 2 | umbrella header "ImageIOUIKit-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit.release.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/ImageIOUIKit/ImageIOUIKit.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_ROOT = ${SRCROOT} 8 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 9 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 10 | SKIP_INSTALL = YES 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ImageIOSwift_Example : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ImageIOSwift_Example 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ImageIOSwift_ExampleVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ImageIOSwift_ExampleVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit/ImageIOUIKit.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOUIKit" -framework "UIKit" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ImageIOSwift_Example { 2 | umbrella header "Pods-ImageIOSwift_Example-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Example/Pods-ImageIOSwift_Example.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit/ImageIOUIKit.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOUIKit" -framework "UIKit" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## FBSnapshotTestCase 5 | 6 | BSD License 7 | 8 | For the FBSnapshotTestCase software 9 | 10 | Copyright (c) 2013, Facebook, Inc. 11 | All rights reserved. 12 | 13 | Redistribution and use in source and binary forms, with or without 14 | modification, are permitted provided that the following conditions are met: 15 | 16 | * Redistributions of source code must retain the above copyright notice, 17 | this list of conditions and the following disclaimer. 18 | * Redistributions in binary form must reproduce the above copyright notice, 19 | this list of conditions and the following disclaimer in the documentation 20 | and/or other materials provided with the distribution. 21 | * Neither the name Facebook nor the names of its contributors may be used to 22 | endorse or promote products derived from this software without specific 23 | prior written permission. 24 | 25 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 26 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 27 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 28 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 29 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 30 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 31 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 32 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 33 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 34 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 35 | 36 | Generated by CocoaPods - https://cocoapods.org 37 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_ImageIOSwift_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_ImageIOSwift_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks-Debug-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks-Debug-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSnapshotTestCase.framework -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks-Release-input-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${PODS_ROOT}/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks.sh 2 | ${BUILT_PRODUCTS_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-frameworks-Release-output-files.xcfilelist: -------------------------------------------------------------------------------- 1 | ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBSnapshotTestCase.framework -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_ImageIOSwift_TestsVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_ImageIOSwift_TestsVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit/ImageIOUIKit.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "FBSnapshotTestCase" -framework "Foundation" -framework "ImageIO" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_ImageIOSwift_Tests { 2 | umbrella header "Pods-ImageIOSwift_Tests-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-ImageIOSwift_Tests/Pods-ImageIOSwift_Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "$(PLATFORM_DIR)/Developer/Library/Frameworks" "${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/FBSnapshotTestCase/FBSnapshotTestCase.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS9.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOUIKit/ImageIOUIKit.framework/Headers" 5 | LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' 6 | OTHER_LDFLAGS = $(inherited) -framework "FBSnapshotTestCase" -framework "Foundation" -framework "ImageIO" -framework "QuartzCore" -framework "UIKit" -framework "XCTest" 7 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 8 | PODS_BUILD_DIR = ${BUILD_DIR} 9 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 10 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 11 | PODS_ROOT = ${SRCROOT}/Pods 12 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_example_swiftui_ios : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_example_swiftui_ios 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_example_swiftui_iosVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_example_swiftui_iosVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_example_swiftui_ios { 2 | umbrella header "Pods-example-swiftui-ios-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-ios/Pods-example-swiftui-ios.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-iOS13.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-iOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_example_swiftui_mac : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_example_swiftui_mac 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_example_swiftui_macVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_example_swiftui_macVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_example_swiftui_mac { 2 | umbrella header "Pods-example-swiftui-mac-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-mac/Pods-example-swiftui-mac.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-macOS10.15/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-macOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_example_swiftui_tvos : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_example_swiftui_tvos 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_example_swiftui_tvosVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_example_swiftui_tvosVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_example_swiftui_tvos { 2 | umbrella header "Pods-example-swiftui-tvos-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-tvos/Pods-example-swiftui-tvos.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-tvOS13.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-tvOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | ${PRODUCT_BUNDLE_IDENTIFIER} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | ${PRODUCT_NAME} 15 | CFBundlePackageType 16 | FMWK 17 | CFBundleShortVersionString 18 | 1.0.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | ${CURRENT_PROJECT_VERSION} 23 | NSPrincipalClass 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_example_swiftui_watch_extension : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_example_swiftui_watch_extension 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension-umbrella.h: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | 14 | FOUNDATION_EXPORT double Pods_example_swiftui_watch_extensionVersionNumber; 15 | FOUNDATION_EXPORT const unsigned char Pods_example_swiftui_watch_extensionVersionString[]; 16 | 17 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension.debug.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension.modulemap: -------------------------------------------------------------------------------- 1 | framework module Pods_example_swiftui_watch_extension { 2 | umbrella header "Pods-example-swiftui-watch-extension-umbrella.h" 3 | 4 | export * 5 | module * { export * } 6 | } 7 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-example-swiftui-watch-extension/Pods-example-swiftui-watch-extension.release.xcconfig: -------------------------------------------------------------------------------- 1 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES 2 | FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS" 3 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 4 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwift-watchOS6.0/ImageIOSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ImageIOSwiftUI-watchOS/ImageIOSwiftUI.framework/Headers" 5 | OTHER_LDFLAGS = $(inherited) -ObjC -framework "Combine" -framework "ImageIO" -framework "ImageIOSwift" -framework "ImageIOSwiftUI" -framework "SwiftUI" 6 | OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS 7 | PODS_BUILD_DIR = ${BUILD_DIR} 8 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 9 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 10 | PODS_ROOT = ${SRCROOT}/Pods 11 | USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES 12 | -------------------------------------------------------------------------------- /Example/Tests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Tests/LocalFiles.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | func local(named name: String) -> URL? { 4 | Bundle.main.url(forResource: name, withExtension: nil) 5 | } 6 | -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottom@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottom@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottomLeft@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottomLeft@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottomRight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_bottomRight@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_center@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_left@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_left@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_right@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_right@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleAspectFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleAspectFill@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleAspectFit@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleAspectFit@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleToFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_scaleToFill@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_top@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_top@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_topLeft@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_topLeft@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_topRight@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testContentMode_topRight@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_0%@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_0%@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_10%@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_10%@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_100%@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_100%@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_50%@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testIncrementalLoadAndReturnError:_50%@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_1@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_2@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_3@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_4@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_5@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_6@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_7@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_7@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_8@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Landscape_8@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_1@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_1@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_2@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_2@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_3@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_3@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_4@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_4@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_5@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_6@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_6@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_7@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_7@2x.png -------------------------------------------------------------------------------- /Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_8@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Example/Tests/ReferenceImages_64/ImageIOSwift_Tests.ImageSourceViewSnapshotTests/testOrientations_Portrait_8@2x.png -------------------------------------------------------------------------------- /Example/Tests/SizeTests.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwift 2 | import ImageIOUIKit 3 | import UIKit 4 | import XCTest 5 | 6 | class SizeTests: XCTestCase { 7 | // MARK: - Tests 8 | 9 | func testOrientations() throws { 10 | for name in ["Landscape", "Portrait"] { 11 | for orientation in 1 ... 8 { 12 | guard let url = local(named: "\(name)_\(orientation).jpg") else { XCTFail(); return } 13 | let expectedSize = UIImage(contentsOfFile: url.path)?.size 14 | 15 | let source = ImageSource(url: url) 16 | XCTAssertEqual(source?.properties(at: 0).imageSize, expectedSize, "\(name) \(orientation) properties") 17 | XCTAssertEqual(source?.cgImage(at: 0)?.size, expectedSize, "\(name) \(orientation) image") 18 | } 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Example/Tests/UIViewContentMode+CustomStringConvertible.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | extension UIView.ContentMode: CustomStringConvertible { 4 | public var description: String { 5 | switch self { 6 | case .scaleToFill: 7 | return "scaleToFill" 8 | case .scaleAspectFit: 9 | return "scaleAspectFit" 10 | case .scaleAspectFill: 11 | return "scaleAspectFill" 12 | case .redraw: 13 | return "redraw" 14 | case .center: 15 | return "center" 16 | case .top: 17 | return "top" 18 | case .bottom: 19 | return "bottom" 20 | case .left: 21 | return "left" 22 | case .right: 23 | return "right" 24 | case .topLeft: 25 | return "topLeft" 26 | case .topRight: 27 | return "topRight" 28 | case .bottomLeft: 29 | return "bottomLeft" 30 | case .bottomRight: 31 | return "bottomRight" 32 | @unknown default: 33 | return "unknown(\(rawValue))" 34 | } 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /Example/example-swiftui-ios/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | 3 | @UIApplicationMain 4 | class AppDelegate: UIResponder, UIApplicationDelegate { 5 | func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 6 | // Override point for customization after application launch. 7 | true 8 | } 9 | 10 | // MARK: UISceneSession Lifecycle 11 | 12 | func application(_: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options _: UIScene.ConnectionOptions) -> UISceneConfiguration { 13 | // Called when a new scene session is being created. 14 | // Use this method to select a configuration to create the new scene with. 15 | UISceneConfiguration(name: "Default Configuration", sessionRole: connectingSceneSession.role) 16 | } 17 | 18 | func application(_: UIApplication, didDiscardSceneSessions _: Set) { 19 | // Called when the user discards a scene session. 20 | // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions. 21 | // Use this method to release any resources that were specific to the discarded scenes, as they will not return. 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /Example/example-swiftui-ios/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "20x20", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "20x20", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "29x29", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "29x29", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "40x40", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "40x40", 31 | "scale" : "3x" 32 | }, 33 | { 34 | "idiom" : "iphone", 35 | "size" : "60x60", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "iphone", 40 | "size" : "60x60", 41 | "scale" : "3x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "20x20", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "20x20", 51 | "scale" : "2x" 52 | }, 53 | { 54 | "idiom" : "ipad", 55 | "size" : "29x29", 56 | "scale" : "1x" 57 | }, 58 | { 59 | "idiom" : "ipad", 60 | "size" : "29x29", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "idiom" : "ipad", 65 | "size" : "40x40", 66 | "scale" : "1x" 67 | }, 68 | { 69 | "idiom" : "ipad", 70 | "size" : "40x40", 71 | "scale" : "2x" 72 | }, 73 | { 74 | "idiom" : "ipad", 75 | "size" : "76x76", 76 | "scale" : "1x" 77 | }, 78 | { 79 | "idiom" : "ipad", 80 | "size" : "76x76", 81 | "scale" : "2x" 82 | }, 83 | { 84 | "idiom" : "ipad", 85 | "size" : "83.5x83.5", 86 | "scale" : "2x" 87 | }, 88 | { 89 | "idiom" : "ios-marketing", 90 | "size" : "1024x1024", 91 | "scale" : "1x" 92 | } 93 | ], 94 | "info" : { 95 | "version" : 1, 96 | "author" : "xcode" 97 | } 98 | } -------------------------------------------------------------------------------- /Example/example-swiftui-ios/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-ios/Base.lproj/LaunchScreen.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /Example/example-swiftui-ios/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-ios/example-swiftui-ios.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.network.client 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/example-swiftui-mac/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import SwiftUI 3 | 4 | @NSApplicationMain 5 | class AppDelegate: NSObject, NSApplicationDelegate { 6 | var window: NSWindow! 7 | 8 | func applicationDidFinishLaunching(_: Notification) { 9 | // Insert code here to initialize your application 10 | self.window = NSWindow( 11 | contentRect: NSRect(x: 0, y: 0, width: 480, height: 300), 12 | styleMask: [.titled, .closable, .miniaturizable, .resizable, .fullSizeContentView], 13 | backing: .buffered, defer: false 14 | ) 15 | self.window.center() 16 | self.window.setFrameAutosaveName("Main Window") 17 | 18 | self.window.contentView = NSHostingView(rootView: ContentView()) 19 | 20 | self.window.makeKeyAndOrderFront(nil) 21 | } 22 | 23 | func applicationWillTerminate(_: Notification) { 24 | // Insert code here to tear down your application 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /Example/example-swiftui-mac/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "mac", 5 | "size" : "16x16", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "mac", 10 | "size" : "16x16", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "mac", 15 | "size" : "32x32", 16 | "scale" : "1x" 17 | }, 18 | { 19 | "idiom" : "mac", 20 | "size" : "32x32", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "idiom" : "mac", 25 | "size" : "128x128", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "mac", 30 | "size" : "128x128", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "mac", 35 | "size" : "256x256", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "mac", 40 | "size" : "256x256", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "mac", 45 | "size" : "512x512", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "mac", 50 | "size" : "512x512", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /Example/example-swiftui-mac/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-mac/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIconFile 10 | 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | LSMinimumSystemVersion 24 | $(MACOSX_DEPLOYMENT_TARGET) 25 | NSHumanReadableCopyright 26 | Copyright © 2019 CocoaPods. All rights reserved. 27 | NSMainStoryboardFile 28 | Main 29 | NSPrincipalClass 30 | NSApplication 31 | NSSupportsAutomaticTermination 32 | 33 | NSSupportsSuddenTermination 34 | 35 | NSAppTransportSecurity 36 | 37 | NSAllowsArbitraryLoads 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/example-swiftui-mac/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-mac/example_swiftui_mac.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | import UIKit 3 | 4 | @UIApplicationMain 5 | class AppDelegate: UIResponder, UIApplicationDelegate { 6 | var window: UIWindow? 7 | 8 | func application(_: UIApplication, didFinishLaunchingWithOptions _: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { 9 | // Use a UIHostingController as window root view controller 10 | let window = UIWindow(frame: UIScreen.main.bounds) 11 | window.rootViewController = UIHostingController(rootView: ContentView()) 12 | self.window = window 13 | window.makeKeyAndVisible() 14 | 15 | return true 16 | } 17 | 18 | func applicationWillResignActive(_: UIApplication) { 19 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 20 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 21 | } 22 | 23 | func applicationDidEnterBackground(_: UIApplication) { 24 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 25 | } 26 | 27 | func applicationWillEnterForeground(_: UIApplication) { 28 | // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background. 29 | } 30 | 31 | func applicationDidBecomeActive(_: UIApplication) { 32 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv" 5 | } 6 | ], 7 | "info" : { 8 | "version" : 1, 9 | "author" : "xcode" 10 | } 11 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Back.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "layers" : [ 3 | { 4 | "filename" : "Front.imagestacklayer" 5 | }, 6 | { 7 | "filename" : "Middle.imagestacklayer" 8 | }, 9 | { 10 | "filename" : "Back.imagestacklayer" 11 | } 12 | ], 13 | "info" : { 14 | "version" : 1, 15 | "author" : "xcode" 16 | } 17 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv" 5 | } 6 | ], 7 | "info" : { 8 | "version" : 1, 9 | "author" : "xcode" 10 | } 11 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Front.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv" 5 | } 6 | ], 7 | "info" : { 8 | "version" : 1, 9 | "author" : "xcode" 10 | } 11 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon - App Store.imagestack/Middle.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "tv", 9 | "scale" : "2x" 10 | } 11 | ], 12 | "info" : { 13 | "version" : 1, 14 | "author" : "xcode" 15 | } 16 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Back.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "layers" : [ 3 | { 4 | "filename" : "Front.imagestacklayer" 5 | }, 6 | { 7 | "filename" : "Middle.imagestacklayer" 8 | }, 9 | { 10 | "filename" : "Back.imagestacklayer" 11 | } 12 | ], 13 | "info" : { 14 | "version" : 1, 15 | "author" : "xcode" 16 | } 17 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "tv", 9 | "scale" : "2x" 10 | } 11 | ], 12 | "info" : { 13 | "version" : 1, 14 | "author" : "xcode" 15 | } 16 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Front.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Content.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "tv", 9 | "scale" : "2x" 10 | } 11 | ], 12 | "info" : { 13 | "version" : 1, 14 | "author" : "xcode" 15 | } 16 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/App Icon.imagestack/Middle.imagestacklayer/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "assets" : [ 3 | { 4 | "size" : "1280x768", 5 | "idiom" : "tv", 6 | "filename" : "App Icon - App Store.imagestack", 7 | "role" : "primary-app-icon" 8 | }, 9 | { 10 | "size" : "400x240", 11 | "idiom" : "tv", 12 | "filename" : "App Icon.imagestack", 13 | "role" : "primary-app-icon" 14 | }, 15 | { 16 | "size" : "2320x720", 17 | "idiom" : "tv", 18 | "filename" : "Top Shelf Image Wide.imageset", 19 | "role" : "top-shelf-image-wide" 20 | }, 21 | { 22 | "size" : "1920x720", 23 | "idiom" : "tv", 24 | "filename" : "Top Shelf Image.imageset", 25 | "role" : "top-shelf-image" 26 | } 27 | ], 28 | "info" : { 29 | "version" : 1, 30 | "author" : "xcode" 31 | } 32 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image Wide.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "tv", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "tv-marketing", 13 | "scale" : "1x" 14 | }, 15 | { 16 | "idiom" : "tv-marketing", 17 | "scale" : "2x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/App Icon & Top Shelf Image.brandassets/Top Shelf Image.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "tv", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "tv", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "tv-marketing", 13 | "scale" : "1x" 14 | }, 15 | { 16 | "idiom" : "tv-marketing", 17 | "scale" : "2x" 18 | } 19 | ], 20 | "info" : { 21 | "version" : 1, 22 | "author" : "xcode" 23 | } 24 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Assets.xcassets/Launch Image.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "landscape", 5 | "idiom" : "tv", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "11.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "landscape", 12 | "idiom" : "tv", 13 | "extent" : "full-screen", 14 | "minimum-system-version" : "9.0", 15 | "scale" : "1x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleVersion 20 | 1 21 | LSRequiresIPhoneOS 22 | 23 | UIRequiredDeviceCapabilities 24 | 25 | arm64 26 | 27 | UIUserInterfaceStyle 28 | Automatic 29 | NSAppTransportSecurity 30 | 31 | NSAllowsArbitraryLoads 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /Example/example-swiftui-tvos/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Circular.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "assets" : [ 3 | { 4 | "idiom" : "watch", 5 | "filename" : "Circular.imageset", 6 | "role" : "circular" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "filename" : "Extra Large.imageset", 11 | "role" : "extra-large" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "filename" : "Graphic Bezel.imageset", 16 | "role" : "graphic-bezel" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "filename" : "Graphic Circular.imageset", 21 | "role" : "graphic-circular" 22 | }, 23 | { 24 | "idiom" : "watch", 25 | "filename" : "Graphic Corner.imageset", 26 | "role" : "graphic-corner" 27 | }, 28 | { 29 | "idiom" : "watch", 30 | "filename" : "Graphic Large Rectangular.imageset", 31 | "role" : "graphic-large-rectangular" 32 | }, 33 | { 34 | "idiom" : "watch", 35 | "filename" : "Modular.imageset", 36 | "role" : "modular" 37 | }, 38 | { 39 | "idiom" : "watch", 40 | "filename" : "Utilitarian.imageset", 41 | "role" : "utilitarian" 42 | } 43 | ], 44 | "info" : { 45 | "version" : 1, 46 | "author" : "xcode" 47 | } 48 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Extra Large.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Graphic Bezel.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Graphic Circular.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Graphic Corner.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Graphic Large Rectangular.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Modular.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Complication.complicationset/Utilitarian.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "watch", 5 | "scale" : "2x", 6 | "screen-width" : "<=145" 7 | }, 8 | { 9 | "idiom" : "watch", 10 | "scale" : "2x", 11 | "screen-width" : ">161" 12 | }, 13 | { 14 | "idiom" : "watch", 15 | "scale" : "2x", 16 | "screen-width" : ">145" 17 | }, 18 | { 19 | "idiom" : "watch", 20 | "scale" : "2x", 21 | "screen-width" : ">183" 22 | } 23 | ], 24 | "info" : { 25 | "version" : 1, 26 | "author" : "xcode" 27 | } 28 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/HostingController.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | import SwiftUI 3 | import WatchKit 4 | 5 | class HostingController: WKHostingController { 6 | override var body: ContentView { 7 | ContentView() 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | example-swiftui-watch Extension 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | NSExtension 24 | 25 | NSExtensionAttributes 26 | 27 | WKAppBundleIdentifier 28 | co.davidbeck.example-swiftui-ios.watchkitapp 29 | 30 | NSExtensionPointIdentifier 31 | com.apple.watchkit 32 | 33 | WKExtensionDelegateClassName 34 | $(PRODUCT_MODULE_NAME).ExtensionDelegate 35 | NSAppTransportSecurity 36 | 37 | NSAllowsArbitraryLoads 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/NavigationView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | // NavigationView isn't available on watchOS, but isn't needed 4 | // this allows us to use the same code for all platforms 5 | 6 | struct NavigationView: View where Content: View { 7 | var content: Content 8 | init(content: () -> Content) { 9 | self.content = content() 10 | } 11 | 12 | var body: some View { 13 | content 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Example/example-swiftui-watch Extension/Preview Content/Preview Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch/Assets.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "size" : "24x24", 5 | "idiom" : "watch", 6 | "scale" : "2x", 7 | "role" : "notificationCenter", 8 | "subtype" : "38mm" 9 | }, 10 | { 11 | "size" : "27.5x27.5", 12 | "idiom" : "watch", 13 | "scale" : "2x", 14 | "role" : "notificationCenter", 15 | "subtype" : "42mm" 16 | }, 17 | { 18 | "size" : "29x29", 19 | "idiom" : "watch", 20 | "role" : "companionSettings", 21 | "scale" : "2x" 22 | }, 23 | { 24 | "size" : "29x29", 25 | "idiom" : "watch", 26 | "role" : "companionSettings", 27 | "scale" : "3x" 28 | }, 29 | { 30 | "size" : "40x40", 31 | "idiom" : "watch", 32 | "scale" : "2x", 33 | "role" : "appLauncher", 34 | "subtype" : "38mm" 35 | }, 36 | { 37 | "size" : "44x44", 38 | "idiom" : "watch", 39 | "scale" : "2x", 40 | "role" : "appLauncher", 41 | "subtype" : "40mm" 42 | }, 43 | { 44 | "size" : "50x50", 45 | "idiom" : "watch", 46 | "scale" : "2x", 47 | "role" : "appLauncher", 48 | "subtype" : "44mm" 49 | }, 50 | { 51 | "size" : "86x86", 52 | "idiom" : "watch", 53 | "scale" : "2x", 54 | "role" : "quickLook", 55 | "subtype" : "38mm" 56 | }, 57 | { 58 | "size" : "98x98", 59 | "idiom" : "watch", 60 | "scale" : "2x", 61 | "role" : "quickLook", 62 | "subtype" : "42mm" 63 | }, 64 | { 65 | "size" : "108x108", 66 | "idiom" : "watch", 67 | "scale" : "2x", 68 | "role" : "quickLook", 69 | "subtype" : "44mm" 70 | }, 71 | { 72 | "idiom" : "watch-marketing", 73 | "size" : "1024x1024", 74 | "scale" : "1x" 75 | } 76 | ], 77 | "info" : { 78 | "version" : 1, 79 | "author" : "xcode" 80 | } 81 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } -------------------------------------------------------------------------------- /Example/example-swiftui-watch/Base.lproj/Interface.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /Example/example-swiftui-watch/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | $(DEVELOPMENT_LANGUAGE) 7 | CFBundleDisplayName 8 | example-swiftui-ios 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE) 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleVersion 22 | 1 23 | UISupportedInterfaceOrientations 24 | 25 | UIInterfaceOrientationPortrait 26 | UIInterfaceOrientationPortraitUpsideDown 27 | 28 | WKCompanionAppBundleIdentifier 29 | co.davidbeck.example-swiftui-ios 30 | WKWatchKitApp 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /Example/example-swiftui/AnimationProgress.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct AnimationProgress: View { 4 | var progress: Double 5 | 6 | var body: some View { 7 | GeometryReader { proxy in 8 | HStack { 9 | Rectangle() 10 | .fill(Color.blue.opacity(0.5)) 11 | .frame(width: proxy.size.width * CGFloat(self.progress)) 12 | .fixedSize(horizontal: true, vertical: false) 13 | Spacer() 14 | } 15 | } 16 | .frame(height: 10) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/example-swiftui/AnimationsView.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwiftUI 2 | import SwiftUI 3 | 4 | private let samples = Sample.images.filter { $0.categories.contains(.animated) } 5 | 6 | struct AnimationsView: View { 7 | var body: some View { 8 | List(samples) { sample in 9 | NavigationLink(destination: SampleView(sample: sample)) { 10 | Text(sample.name) 11 | } 12 | } 13 | .navigationBarTitle("Animated Images") 14 | } 15 | } 16 | 17 | #if DEBUG 18 | struct AnimationsView_Previews: PreviewProvider { 19 | static var previews: some View { 20 | AnimationsView() 21 | } 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /Example/example-swiftui/ContentView.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | struct ContentView: View { 4 | var body: some View { 5 | NavigationView { 6 | List { 7 | NavigationLink(destination: ProfileView()) { 8 | Text("Profile Screen") 9 | } 10 | NavigationLink(destination: UserListView()) { 11 | Text("User List") 12 | } 13 | NavigationLink(destination: IncrementalSamplesView()) { 14 | Text("Remote Image Loading") 15 | } 16 | NavigationLink(destination: AnimationsView()) { 17 | Text("Animations") 18 | } 19 | NavigationLink(destination: OrientationsView()) { 20 | Text("EXIF Orientations") 21 | } 22 | } 23 | .navigationBarTitle("Examples") 24 | } 25 | } 26 | } 27 | 28 | #if DEBUG 29 | struct ContentView_Previews: PreviewProvider { 30 | static var previews: some View { 31 | ContentView() 32 | } 33 | } 34 | #endif 35 | -------------------------------------------------------------------------------- /Example/example-swiftui/DownloadProgress.swift: -------------------------------------------------------------------------------- 1 | import Combine 2 | import Foundation 3 | import SwiftUI 4 | 5 | let progressFormatter: NumberFormatter = { 6 | let formatter = NumberFormatter() 7 | formatter.numberStyle = .percent 8 | formatter.maximumFractionDigits = 0 9 | return formatter 10 | }() 11 | 12 | class ProgressController: ObservableObject { 13 | let objectWillChange = PassthroughSubject() 14 | 15 | let progress: Progress 16 | private var observer: NSKeyValueObservation? 17 | 18 | var fractionCompleted: Double 19 | var isComplete: Bool 20 | 21 | init(progress: Progress) { 22 | self.progress = progress 23 | self.fractionCompleted = progress.fractionCompleted 24 | self.isComplete = progress.totalUnitCount == progress.completedUnitCount 25 | 26 | // the publisher version of this doesn't include `isPrior` 27 | self.observer = progress.observe(\.fractionCompleted, options: NSKeyValueObservingOptions.prior) { progress, change in 28 | guard change.isPrior else { return } 29 | DispatchQueue.main.async { [weak self] in 30 | self?.objectWillChange.send() 31 | self?.fractionCompleted = progress.fractionCompleted 32 | self?.isComplete = progress.totalUnitCount == progress.completedUnitCount 33 | } 34 | } 35 | } 36 | } 37 | 38 | struct DownloadProgress: View { 39 | @ObservedObject var progressController: ProgressController 40 | 41 | init(progress: Progress) { 42 | self.progressController = ProgressController(progress: progress) 43 | } 44 | 45 | var body: some View { 46 | Text(progressFormatter.string(from: NSNumber(value: progressController.fractionCompleted)) ?? "") 47 | .font(Font.footnote.monospacedDigit()) 48 | .padding([.leading, .trailing], 5) 49 | .padding([.top, .bottom], 2) 50 | .background(Color.white.opacity(0.5)) 51 | .cornerRadius(3) 52 | .padding() 53 | .opacity(progressController.isComplete ? 0 : 1) 54 | .animation(.default) 55 | } 56 | } 57 | -------------------------------------------------------------------------------- /Example/example-swiftui/IncrementalSamplesView.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwiftUI 2 | import SwiftUI 3 | 4 | private let samples = Sample.images.filter { !$0.url.isFileURL } 5 | 6 | struct IncrementalSamplesView: View { 7 | var body: some View { 8 | List(samples) { sample in 9 | NavigationLink(destination: SampleView(sample: sample)) { 10 | Text(sample.name) 11 | } 12 | } 13 | .navigationBarTitle("Animated Images") 14 | } 15 | } 16 | 17 | #if DEBUG 18 | struct IncrementalSamplesView_Previews: PreviewProvider { 19 | static var previews: some View { 20 | IncrementalSamplesView() 21 | } 22 | } 23 | #endif 24 | -------------------------------------------------------------------------------- /Example/example-swiftui/OrientationsView.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwiftUI 2 | import SwiftUI 3 | 4 | func open(_ url: URL) { 5 | #if os(iOS) 6 | UIApplication.shared.open(url, options: [:], completionHandler: nil) 7 | #elseif os(macOS) 8 | NSWorkspace.shared.open(url) 9 | #endif 10 | } 11 | 12 | private let samples = Sample.images.filter { $0.categories.contains(.orientation) } 13 | 14 | struct OrientationsView: View { 15 | var body: some View { 16 | // there is a bug where the size doesn't get updated on first load using a ScrollView/VStack 17 | List { 18 | VStack { 19 | Text(""" 20 | The EXIF (exchangeable image file format) standard specifies a set of tags that can be embedded in images (among other things). One of these tags specifies the orientation of the photo, and has 8 possible values which cover every possible combination of rotation and mirroring of an image. This enables you to take a picture with your camera sideways or upside-down (or even inside-out), and stand a reasonable chance of having it display properly on your computer. 21 | """) 22 | .lineLimit(nil) 23 | Button(action: { 24 | open(URL(string: "https://www.daveperrett.com/articles/2012/07/28/exif-orientation-handling-is-a-ghetto/")!) 25 | }) { 26 | Text("More info") 27 | } 28 | .padding(.bottom, 50) 29 | } 30 | 31 | ForEach(samples) { sample in 32 | URLImageSourceView(sample.url, label: Text(sample.name)) 33 | .aspectRatio(contentMode: .fit) 34 | } 35 | } 36 | .navigationBarTitle(Text("EXIF Orientations"), displayMode: .inline) 37 | } 38 | } 39 | 40 | #if DEBUG 41 | struct OrientationsView_Previews: PreviewProvider { 42 | static var previews: some View { 43 | OrientationsView() 44 | } 45 | } 46 | #endif 47 | -------------------------------------------------------------------------------- /Example/example-swiftui/ProfileView.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwiftUI 2 | import SwiftUI 3 | 4 | let uifaces = ["men", "women"] 5 | .flatMap { gender in 6 | (0 ..< 100).map { "https://randomuser.me/api/portraits/\(gender)/\($0).jpg" } 7 | } 8 | .compactMap { URL(string: $0) } 9 | 10 | let names = [ 11 | "John", 12 | "Jane", 13 | "Frank", 14 | "Julie", 15 | ] 16 | 17 | #if os(iOS) || os(tvOS) || os(watchOS) 18 | struct Placeholder: View { 19 | var body: some View { 20 | Image(systemName: "person.fill") 21 | .foregroundColor(Color(white: 0.4)) 22 | } 23 | } 24 | 25 | #else 26 | struct Placeholder: View { 27 | var body: some View { 28 | EmptyView() 29 | } 30 | } 31 | #endif 32 | 33 | struct ProfileView: View { 34 | @State var url: URL = uifaces.randomElement()! 35 | @State var name: String = names.randomElement()! 36 | 37 | var body: some View { 38 | VStack { 39 | ZStack { 40 | Placeholder() 41 | .font(.system(size: 80)) 42 | URLImageSourceView(url, isAnimationEnabled: true, label: Text(url.lastPathComponent)) 43 | .aspectRatio(contentMode: .fit) 44 | .frame(width: 128, height: 128) 45 | .clipShape(Circle()) 46 | } 47 | .padding(5) 48 | .background(Color.gray.opacity(0.5)) 49 | .clipShape(Circle()) 50 | Text(self.name) 51 | Spacer() 52 | HStack { 53 | Button("Update avatar") { 54 | self.url = uifaces.randomElement()! 55 | } 56 | Spacer().frame(width: 20) 57 | Button("Update name") { 58 | self.name = names.randomElement()! + " \(Int.random(in: 0 ..< 100))" 59 | } 60 | } 61 | Spacer() 62 | Text("This demonstrates how URLImageSourceView reacts to changes to it's url as well as changes that don't effect it's url.") 63 | .lineLimit(nil) 64 | .multilineTextAlignment(.center) 65 | } 66 | .padding() 67 | .navigationBarTitle("Profile") 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /Example/example-swiftui/RandomUser.swift: -------------------------------------------------------------------------------- 1 | import Combine 2 | import Foundation 3 | import SwiftUI 4 | 5 | // MARK: - RandomUsersResponse 6 | 7 | struct RandomUsersResponse: Codable { 8 | let results: [RandomUser] 9 | } 10 | 11 | // MARK: - RandomUser 12 | 13 | struct RandomUser: Codable { 14 | let name: Name 15 | let login: Login 16 | let picture: Picture 17 | } 18 | 19 | // MARK: - Login 20 | 21 | struct Login: Codable { 22 | let uuid: String 23 | } 24 | 25 | // MARK: - Name 26 | 27 | struct Name: Codable { 28 | let first, last: String 29 | } 30 | 31 | // MARK: - Picture 32 | 33 | struct Picture: Codable { 34 | let large, medium, thumbnail: URL 35 | } 36 | -------------------------------------------------------------------------------- /Example/example-swiftui/Sample.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | import SwiftUI 3 | 4 | struct Sample: Identifiable { 5 | enum Category { 6 | case animated 7 | case orientation 8 | } 9 | 10 | var url: URL 11 | var categories: Set 12 | 13 | init(filename: String, categories: Set = []) { 14 | self.url = Bundle.main.url(forResource: filename, withExtension: nil)! 15 | self.categories = categories 16 | } 17 | 18 | init(url: String, categories: Set = []) { 19 | self.url = URL(string: url)! 20 | self.categories = categories 21 | } 22 | 23 | static let images = [ 24 | Sample(filename: "animated.gif", categories: [.animated]), 25 | Sample(filename: "transparent.gif", categories: [.animated]), 26 | Sample(filename: "animated.png", categories: [.animated]), 27 | Sample(filename: "transparent.png", categories: [.animated]), 28 | Sample(filename: "starfield_animation.heic", categories: [.animated]), 29 | Sample(filename: "sea1_animation.heic", categories: [.animated]), 30 | 31 | Sample(url: "http://littlesvr.ca/apng/images/GenevaDrive.gif", categories: [.animated]), 32 | Sample(url: "http://littlesvr.ca/apng/images/GenevaDrive.png", categories: [.animated]), 33 | Sample(url: "https://media.giphy.com/media/7LO7q5KcXawaQ/giphy.gif", categories: [.animated]), 34 | Sample(url: "https://media.giphy.com/media/NWg7M1VlT101W/giphy.gif", categories: [.animated]), 35 | Sample(url: "https://media.giphy.com/media/l4FGni1RBAR2OWsGk/giphy.gif", categories: [.animated]), 36 | 37 | Sample(url: "http://pooyak.com/p/progjpeg/jpegload.cgi?o=0"), 38 | Sample(url: "http://pooyak.com/p/progjpeg/jpegload.cgi?o=1"), 39 | ] + ["Landscape", "Portrait"].flatMap { aspect in 40 | (1 ... 8).map { Sample(filename: "\(aspect)_\($0).jpg", categories: [.orientation]) } 41 | } 42 | 43 | var id: URL { 44 | self.url 45 | } 46 | 47 | var name: String { 48 | if self.url.isFileURL { 49 | return self.url.lastPathComponent 50 | } else { 51 | return self.url.absoluteString 52 | } 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /Example/example-swiftui/SampleView.swift: -------------------------------------------------------------------------------- 1 | import Combine 2 | import ImageIOSwiftUI 3 | import SwiftUI 4 | 5 | struct SampleView: View { 6 | var sample: Sample 7 | var isAnimationEnabled: Bool = true 8 | 9 | var body: some View { 10 | VStack { 11 | ImageTaskView(sample.url) { task in 12 | ImageControllerView(imageSource: task.imageSource) { controller in 13 | StaticImageSourceView( 14 | image: controller.currentImage, 15 | properties: controller.currentProperties, 16 | label: Text(self.sample.name) 17 | ) 18 | .overlay( 19 | AnimationProgress(progress: controller.imageSource.progress(atFrame: controller.currentFrame)), 20 | alignment: .bottom 21 | ) 22 | } 23 | .overlay( 24 | DownloadProgress(progress: task.sessionTask.progress), 25 | alignment: .topTrailing 26 | ) 27 | } 28 | .aspectRatio(contentMode: .fit) 29 | } 30 | .padding() 31 | .navigationBarTitle(Text(sample.name), displayMode: .inline) 32 | } 33 | } 34 | 35 | #if DEBUG 36 | struct SampleView_Previews: PreviewProvider { 37 | static var previews: some View { 38 | SampleView(sample: Sample.images[0]) 39 | } 40 | } 41 | #endif 42 | -------------------------------------------------------------------------------- /Example/example-swiftui/UserListView.swift: -------------------------------------------------------------------------------- 1 | import Combine 2 | import Foundation 3 | import ImageIOSwiftUI 4 | import SwiftUI 5 | 6 | extension Publisher { 7 | func mapToResult() -> Publishers.Catch>, Just>> { 8 | self 9 | .map { Result.success($0) } 10 | .catch { Just(Result.failure($0)) } 11 | } 12 | } 13 | 14 | struct RandomUsersResponseView: View { 15 | var response: RandomUsersResponse 16 | 17 | var body: some View { 18 | List(response.results, id: \.login.uuid) { user in 19 | HStack { 20 | ZStack { 21 | Placeholder() 22 | URLImageSourceView(user.picture.medium) 23 | .frame(width: 36, height: 36) 24 | } 25 | .frame(width: 36, height: 36) 26 | .background(Color(white: 0.8)) 27 | .clipShape(Circle()) 28 | Text("\(user.name.first.capitalized) \(user.name.last.capitalized)") 29 | } 30 | } 31 | .navigationBarTitle(Text("Users"), displayMode: .inline) 32 | } 33 | } 34 | 35 | struct UserListView: View { 36 | @State var task = URLSession.shared.dataTaskPublisher(for: URL(string: "https://randomuser.me/api/?results=100")!) 37 | .tryMap { data, _ -> RandomUsersResponse in 38 | var decoder = JSONDecoder() 39 | decoder.dateDecodingStrategy = .iso8601 40 | return try decoder.decode(RandomUsersResponse.self, from: data) 41 | } 42 | .print() 43 | .mapToResult() 44 | .receive(on: RunLoop.main) 45 | 46 | @State var result: Result? 47 | 48 | var body: some View { 49 | switch result { 50 | case .none: 51 | return AnyView(Text("Loading...") 52 | .onReceive(task) { 53 | self.result = $0 54 | }) 55 | case let .success(response): 56 | return AnyView(RandomUsersResponseView(response: response)) 57 | case let .failure(error): 58 | return AnyView(Text("Failed to load: \(error.localizedDescription)")) 59 | } 60 | } 61 | } 62 | 63 | #if DEBUG 64 | struct UserListView_Previews: PreviewProvider { 65 | static var previews: some View { 66 | UserListView() 67 | } 68 | } 69 | #endif 70 | -------------------------------------------------------------------------------- /Example/example-swiftui/navigationBarTitle.swift: -------------------------------------------------------------------------------- 1 | import SwiftUI 2 | 3 | enum DisplayMode { 4 | case inline 5 | } 6 | 7 | extension View { 8 | func navigationBarTitle(_: String) -> Self { 9 | self 10 | } 11 | 12 | func navigationBarTitle(_: Text, displayMode _: DisplayMode) -> Self { 13 | self 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /ImageIOSwift.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ImageIOSwift' 3 | s.version = '1.2.0' 4 | s.summary = 'Swift wrapper around ImageIO.' 5 | 6 | s.description = <<-DESC 7 | ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult. 8 | 9 | ImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation. 10 | 11 | While there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports. 12 | DESC 13 | 14 | s.homepage = 'https://github.com/davbeck/ImageIOSwift' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.author = { 'davbeck' => 'code@davidbeck.co' } 17 | s.source = { :git => 'https://github.com/davbeck/ImageIOSwift.git', :tag => s.version.to_s } 18 | s.social_media_url = 'https://twitter.com/davbeck' 19 | 20 | s.swift_version = '5.1' 21 | s.ios.deployment_target = '9.0' 22 | s.osx.deployment_target = '10.10' 23 | s.tvos.deployment_target = '9.0' 24 | s.watchos.deployment_target = '2.0' 25 | s.static_framework = true 26 | 27 | s.source_files = 'Sources/ImageIOSwift/*.swift' 28 | 29 | s.frameworks = 'ImageIO' 30 | end 31 | -------------------------------------------------------------------------------- /ImageIOSwiftUI.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ImageIOSwiftUI' 3 | s.version = '1.2.0' 4 | s.summary = 'UIKit integration for ImageIO.' 5 | 6 | s.description = <<-DESC 7 | ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult. 8 | 9 | ImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation. 10 | 11 | While there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports. 12 | DESC 13 | 14 | s.homepage = 'https://github.com/davbeck/ImageIOSwift' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.author = { 'davbeck' => 'code@davidbeck.co' } 17 | s.source = { :git => 'https://github.com/davbeck/ImageIOSwift.git', :tag => s.version.to_s } 18 | s.social_media_url = 'https://twitter.com/davbeck' 19 | 20 | s.swift_version = '5.1' 21 | s.ios.deployment_target = '13.0' 22 | s.osx.deployment_target = '10.15' 23 | s.tvos.deployment_target = '13.0' 24 | s.watchos.deployment_target = '6.0' 25 | s.static_framework = true 26 | 27 | s.source_files = 'Sources/ImageIOSwiftUI/*.swift' 28 | 29 | s.frameworks = 'SwiftUI', 'Combine' 30 | 31 | s.dependency 'ImageIOSwift', s.version.to_s 32 | end 33 | -------------------------------------------------------------------------------- /ImageIOUIKit.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = 'ImageIOUIKit' 3 | s.version = '1.2.0' 4 | s.summary = 'UIKit integration for ImageIO.' 5 | 6 | s.description = <<-DESC 7 | ImageIO is an Apple framework that provides low level access to image files and is what powers UIImage and other image related operations on iOS and macOS. However, in part because it is a C/Core Foundation framework, using it can be difficult. 8 | 9 | ImageIO.Swift is a lightweight wrapper around the framework that makes it much easier to access the vast power that ImageIO provides, including animated GIFs, incremental loading and efficient thumbnail generation. 10 | 11 | While there are alternatives that provide many of the same features, and many of them use very similar implimentations based on `ImageIO`, this project provides a unified interface for all uses of ImageIO. So for instance you can use the same view and image processing code for animated images, progressive jpegs, and any other format that ImageIO supports. 12 | DESC 13 | 14 | s.homepage = 'https://github.com/davbeck/ImageIOSwift' 15 | s.license = { :type => 'MIT', :file => 'LICENSE' } 16 | s.author = { 'davbeck' => 'code@davidbeck.co' } 17 | s.source = { :git => 'https://github.com/davbeck/ImageIOSwift.git', :tag => s.version.to_s } 18 | s.social_media_url = 'https://twitter.com/davbeck' 19 | 20 | s.swift_version = '5.1' 21 | s.ios.deployment_target = '9.0' 22 | s.static_framework = true 23 | 24 | s.source_files = 'Sources/ImageIOUIKit/*.swift' 25 | 26 | s.framework = 'UIKit' 27 | 28 | s.dependency 'ImageIOSwift', s.version.to_s 29 | end 30 | -------------------------------------------------------------------------------- /Images/Interlaced.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Images/Interlaced.gif -------------------------------------------------------------------------------- /Images/Progressive.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/davbeck/ImageIOSwift/cb28c56181ed68716d6ca127fda413fe2156d2b0/Images/Progressive.gif -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2017 David Beck 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- 1 | // swift-tools-version:5.1 2 | import PackageDescription 3 | 4 | let package = Package( 5 | name: "ImageIOSwift", 6 | platforms: [ 7 | .macOS(.v10_15), .iOS(.v13), .watchOS(.v6), .tvOS(.v13), 8 | ], 9 | products: [ 10 | .library( 11 | name: "ImageIOSwift", 12 | targets: ["ImageIOSwift"] 13 | ), 14 | .library( 15 | name: "ImageIOUIKit", 16 | targets: ["ImageIOUIKit"] 17 | ), 18 | .library( 19 | name: "ImageIOSwiftUI", 20 | targets: ["ImageIOSwiftUI"] 21 | ), 22 | ], 23 | dependencies: [ 24 | ], 25 | targets: [ 26 | .target( 27 | name: "ImageIOSwift", 28 | dependencies: [] 29 | ), 30 | .target( 31 | name: "ImageIOUIKit", 32 | dependencies: ["ImageIOSwift"] 33 | ), 34 | .target( 35 | name: "ImageIOSwiftUI", 36 | dependencies: ["ImageIOSwift"] 37 | ), 38 | .testTarget( 39 | name: "ImageIOSwiftTests", 40 | dependencies: ["ImageIOSwift"] 41 | ), 42 | ] 43 | ) 44 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/CGImage+Helpers.swift: -------------------------------------------------------------------------------- 1 | import CoreGraphics 2 | 3 | public extension CGImage { 4 | var size: CGSize { 5 | CGSize(width: width, height: height) 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/CGSize+Helpers.swift: -------------------------------------------------------------------------------- 1 | import CoreGraphics 2 | 3 | extension CGSize { 4 | func scaled(toFit innerRect: CGSize) -> CGSize { 5 | let outerRect = self 6 | 7 | // the width and height ratios of the rects 8 | let wRatio = outerRect.width / innerRect.width 9 | let hRatio = outerRect.height / innerRect.height 10 | 11 | // calculate scaling ratio based on the smallest ratio. 12 | let ratio = (wRatio > hRatio) ? wRatio : hRatio 13 | 14 | // aspect fitted origin and size 15 | return CGSize( 16 | width: outerRect.width / ratio, 17 | height: outerRect.height / ratio 18 | ) 19 | } 20 | 21 | func scaled(toFill innerRect: CGSize) -> CGSize { 22 | let outerRect = self 23 | 24 | // the width and height ratios of the rects 25 | let wRatio = outerRect.width / innerRect.width 26 | let hRatio = outerRect.height / innerRect.height 27 | 28 | // calculate scaling ratio based on the smallest ratio. 29 | let ratio = (wRatio < hRatio) ? wRatio : hRatio 30 | 31 | // aspect fitted origin and size 32 | return CGSize( 33 | width: outerRect.width / ratio, 34 | height: outerRect.height / ratio 35 | ) 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/GIFProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | public extension ImageProperties { 4 | struct GIFProperties { 5 | public let rawValue: [CFString: Any] 6 | 7 | public init(rawValue: [CFString: Any]) { 8 | self.rawValue = rawValue 9 | } 10 | 11 | public var loopCount: Int { 12 | self.rawValue[kCGImagePropertyGIFLoopCount] as? Int ?? 1 13 | } 14 | 15 | public var clampedDelayTime: Double? { 16 | guard 17 | let delay = rawValue[kCGImagePropertyGIFDelayTime] as? Double, 18 | delay > 0 19 | else { return nil } 20 | return delay 21 | } 22 | 23 | public var unclampedDelayTime: Double? { 24 | guard 25 | let delay = rawValue[kCGImagePropertyGIFUnclampedDelayTime] as? Double, 26 | delay > 0 27 | else { return nil } 28 | return delay 29 | } 30 | 31 | public var delayTime: Double? { 32 | self.unclampedDelayTime ?? self.clampedDelayTime 33 | } 34 | 35 | public var hasGlobalColorMap: Bool { 36 | self.rawValue[kCGImagePropertyGIFHasGlobalColorMap] as? Bool ?? false 37 | } 38 | } 39 | 40 | var gif: GIFProperties? { 41 | guard let rawValue = self.rawValue[kCGImagePropertyGIFDictionary] as? [CFString: Any] else { return nil } 42 | 43 | return GIFProperties(rawValue: rawValue) 44 | } 45 | } 46 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/HEICProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | @available(iOS 13.0, OSX 10.15, watchOS 6.0, tvOS 13.0, *) 4 | public extension ImageProperties { 5 | struct HEICProperties { 6 | public let rawValue: [CFString: Any] 7 | 8 | public init(rawValue: [CFString: Any]) { 9 | self.rawValue = rawValue 10 | } 11 | 12 | public var loopCount: Int { 13 | self.rawValue[kCGImagePropertyHEICSLoopCount] as? Int ?? 1 14 | } 15 | 16 | public var clampedDelayTime: Double? { 17 | guard 18 | let delay = rawValue[kCGImagePropertyHEICSDelayTime] as? Double, 19 | delay > 0 20 | else { return nil } 21 | return delay 22 | } 23 | 24 | public var unclampedDelayTime: Double? { 25 | guard 26 | let delay = rawValue[kCGImagePropertyHEICSUnclampedDelayTime] as? Double, 27 | delay > 0 28 | else { return nil } 29 | return delay 30 | } 31 | 32 | public var delayTime: Double? { 33 | self.unclampedDelayTime ?? self.clampedDelayTime 34 | } 35 | } 36 | 37 | var heic: HEICProperties? { 38 | guard let rawValue = self.rawValue[kCGImagePropertyHEICSDictionary] as? [CFString: Any] else { return nil } 39 | return HEICProperties(rawValue: rawValue) 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/IPTCProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | public extension ImageProperties { 4 | struct IPTCProperties { 5 | public let rawValue: [CFString: Any] 6 | 7 | public init(rawValue: [CFString: Any]) { 8 | self.rawValue = rawValue 9 | } 10 | 11 | public var orientation: Int? { 12 | self.rawValue[kCGImagePropertyIPTCImageOrientation] as? Int 13 | } 14 | } 15 | 16 | var iptc: IPTCProperties? { 17 | guard let rawValue = self.rawValue[kCGImagePropertyIPTCDictionary] as? [CFString: Any] else { return nil } 18 | 19 | return IPTCProperties(rawValue: rawValue) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/JPEGProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | public extension ImageProperties { 4 | struct JPEGProperties { 5 | public let rawValue: [CFString: Any] 6 | 7 | public init(rawValue: [CFString: Any]) { 8 | self.rawValue = rawValue 9 | } 10 | 11 | public var xDensity: CGFloat? { 12 | self.rawValue[kCGImagePropertyJFIFXDensity] as? CGFloat 13 | } 14 | 15 | public var yDensity: CGFloat? { 16 | self.rawValue[kCGImagePropertyJFIFYDensity] as? CGFloat 17 | } 18 | 19 | public var orientation: Int? { 20 | self.rawValue[kCGImagePropertyOrientation] as? Int 21 | } 22 | } 23 | 24 | var jpeg: JPEGProperties? { 25 | guard let rawValue = self.rawValue[kCGImagePropertyJFIFDictionary] as? [CFString: Any] else { return nil } 26 | 27 | return JPEGProperties(rawValue: rawValue) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/PNGProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | public extension ImageProperties { 4 | struct PNGProperties { 5 | public let rawValue: [CFString: Any] 6 | 7 | public init(rawValue: [CFString: Any]) { 8 | self.rawValue = rawValue 9 | } 10 | 11 | public var loopCount: Int { 12 | self.rawValue[kCGImagePropertyAPNGLoopCount] as? Int ?? 1 13 | } 14 | 15 | public var clampedDelayTime: Double? { 16 | guard 17 | let delay = rawValue[kCGImagePropertyAPNGDelayTime] as? Double, 18 | delay > 0 19 | else { return nil } 20 | return delay 21 | } 22 | 23 | public var unclampedDelayTime: Double? { 24 | guard 25 | let delay = rawValue[kCGImagePropertyAPNGUnclampedDelayTime] as? Double, 26 | delay > 0 27 | else { return nil } 28 | return delay 29 | } 30 | 31 | public var delayTime: Double? { 32 | self.unclampedDelayTime ?? self.clampedDelayTime 33 | } 34 | } 35 | 36 | var png: PNGProperties? { 37 | guard let rawValue = self.rawValue[kCGImagePropertyPNGDictionary] as? [CFString: Any] else { return nil } 38 | 39 | return PNGProperties(rawValue: rawValue) 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/TIFFProperties.swift: -------------------------------------------------------------------------------- 1 | import ImageIO 2 | 3 | public extension ImageProperties { 4 | struct TIFFProperties { 5 | public let rawValue: [CFString: Any] 6 | 7 | public init(rawValue: [CFString: Any]) { 8 | self.rawValue = rawValue 9 | } 10 | 11 | public var orientation: Int? { 12 | self.rawValue[kCGImagePropertyTIFFOrientation] as? Int 13 | } 14 | 15 | public var xResolution: Int? { 16 | self.rawValue[kCGImagePropertyTIFFXResolution] as? Int 17 | } 18 | 19 | public var yResolution: Int? { 20 | self.rawValue[kCGImagePropertyTIFFYResolution] as? Int 21 | } 22 | } 23 | 24 | var tiff: TIFFProperties? { 25 | guard let rawValue = self.rawValue[kCGImagePropertyTIFFDictionary] as? [CFString: Any] else { return nil } 26 | 27 | return TIFFProperties(rawValue: rawValue) 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /Sources/ImageIOSwift/Weak.swift: -------------------------------------------------------------------------------- 1 | import Foundation 2 | 3 | struct Weak { 4 | weak var value: Value? 5 | 6 | init(_ value: Value) { 7 | self.value = value 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /Sources/ImageIOUIKit/ImageSourceController+UIKit.swift: -------------------------------------------------------------------------------- 1 | import ImageIOSwift 2 | import UIKit 3 | 4 | public extension ImageSourceController { 5 | var currentUIImage: UIImage? { 6 | guard let cgImage = currentImage else { return nil } 7 | 8 | let orientation = currentProperties.orientation 9 | return UIImage(cgImage: cgImage, scale: 1, orientation: orientation) 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /Sources/ImageIOUIKit/UIImageOrientation+Helpers.swift: -------------------------------------------------------------------------------- 1 | #if canImport(UIKit) 2 | import ImageIOSwift 3 | import UIKit 4 | 5 | public extension UIImage.Orientation { 6 | init(exifOrientation: Int) { 7 | switch exifOrientation { 8 | case 2: 9 | self = .upMirrored 10 | case 3: 11 | self = .down 12 | case 4: 13 | self = .downMirrored 14 | case 5: 15 | self = .leftMirrored 16 | case 6: 17 | self = .right 18 | case 7: 19 | self = .rightMirrored 20 | case 8: 21 | self = .left 22 | default: // 1 23 | self = .up 24 | } 25 | } 26 | } 27 | 28 | extension ImageProperties { 29 | var orientation: UIImage.Orientation { 30 | UIImage.Orientation(exifOrientation: exifOrientation) 31 | } 32 | } 33 | #endif 34 | -------------------------------------------------------------------------------- /Tests/ImageIOSwiftTests/ImageIOSwiftTests.swift: -------------------------------------------------------------------------------- 1 | @testable import ImageIOSwift 2 | import XCTest 3 | 4 | final class ImageIOSwiftTests: XCTestCase { 5 | func testExample() {} 6 | 7 | static var allTests = [ 8 | ("testExample", testExample), 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /Tests/ImageIOSwiftTests/XCTestManifests.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | 3 | #if !canImport(ObjectiveC) 4 | public func allTests() -> [XCTestCaseEntry] { 5 | [ 6 | testCase(ImageIOSwiftTests.allTests), 7 | ] 8 | } 9 | #endif 10 | -------------------------------------------------------------------------------- /Tests/LinuxMain.swift: -------------------------------------------------------------------------------- 1 | import XCTest 2 | 3 | import ImageIOSwiftTests 4 | 5 | var tests = [XCTestCaseEntry]() 6 | tests += ImageIOSwiftTests.allTests() 7 | XCTMain(tests) 8 | -------------------------------------------------------------------------------- /_Pods.xcodeproj: -------------------------------------------------------------------------------- 1 | Example/Pods/Pods.xcodeproj --------------------------------------------------------------------------------