This repository has been archived by the owner on Jan 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #68 from boyvanamstel/macos
Add support for macOS
- Loading branch information
Showing
13 changed files
with
406 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>CFBundleDevelopmentRegion</key> | ||
<string>$(DEVELOPMENT_LANGUAGE)</string> | ||
<key>CFBundleExecutable</key> | ||
<string>$(EXECUTABLE_NAME)</string> | ||
<key>CFBundleIdentifier</key> | ||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
<key>CFBundleInfoDictionaryVersion</key> | ||
<string>6.0</string> | ||
<key>CFBundleName</key> | ||
<string>$(PRODUCT_NAME)</string> | ||
<key>CFBundlePackageType</key> | ||
<string>FMWK</string> | ||
<key>CFBundleShortVersionString</key> | ||
<string>2.1.0</string> | ||
<key>CFBundleVersion</key> | ||
<string>$(CURRENT_PROJECT_VERSION)</string> | ||
<key>NSHumanReadableCopyright</key> | ||
<string>Copyright © 2019 Jathu Satkunarajah. All rights reserved.</string> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// NSImageColors.h | ||
// NSImageColors | ||
// | ||
// Created by Boy van Amstel on 20/01/2019. | ||
// Copyright © 2019 Jathu Satkunarajah. All rights reserved. | ||
// | ||
|
||
#import <Cocoa/Cocoa.h> | ||
|
||
//! Project version number for NSImageColors. | ||
FOUNDATION_EXPORT double NSImageColorsVersionNumber; | ||
|
||
//! Project version string for NSImageColors. | ||
FOUNDATION_EXPORT const unsigned char NSImageColorsVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <NSImageColors/PublicHeader.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
Pod::Spec.new do |spec| | ||
spec.name = "UIImageColors" | ||
spec.version = "2.0.1" | ||
spec.version = "2.1.0" | ||
spec.license = "MIT" | ||
spec.summary = "iTunes style color fetcher for UIImage." | ||
spec.summary = "iTunes style color fetcher for UIImage and NSImage." | ||
spec.homepage = "https://github.com/jathu/UIImageColors" | ||
spec.authors = { "Jathu Satkunarajah" => "https://twitter.com/jathu" } | ||
spec.source = { :git => "https://github.com/jathu/UIImageColors.git", :tag => spec.version } | ||
|
||
spec.ios.deployment_target = "8.0" | ||
spec.tvos.deployment_target = "9.0" | ||
spec.source_files = "Sources/*.swift" | ||
spec.macos.deployment_target = "11.0" | ||
spec.source_files = "UIImageColors/Sources/*.swift" | ||
spec.requires_arc = true | ||
spec.pod_target_xcconfig = { | ||
"SWIFT_VERSION" => "3.0" | ||
"SWIFT_VERSION" => "4.2" | ||
} | ||
end |
Oops, something went wrong.