Skip to content

Commit 1dfb0a4

Browse files
committed
Updates
1 parent c62cfd0 commit 1dfb0a4

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

JxlCoder.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'JxlCoder'
3-
s.version = '1.0.0'
3+
s.version = '1.0.1'
44
s.summary = 'JXL coder for iOS and MacOS'
55
s.description = 'Provides support for JXL files in iOS and MacOS'
66
s.homepage = 'https://github.com/awxkee/jxl-coder-swift'

JxlNukePlugin.podspec

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Pod::Spec.new do |s|
2+
s.name = 'JxlNukePlugin'
3+
s.version = '1.0.1'
4+
s.summary = 'JXL encoder and decoder for SDWebImage'
5+
s.description = 'JXL plugin for Nuke in iOS and MacOS'
6+
s.homepage = 'https://github.com/awxkee/jxl-coder-swift'
7+
s.license = { :type => 'BSD-3', :file => 'LICENSE' }
8+
s.author = { 'username' => '[email protected]' }
9+
s.source = { :git => 'https://github.com/awxkee/jxl-coder-swift.git', :tag => "#{s.version}" }
10+
s.ios.deployment_target = '11.0'
11+
s.osx.deployment_target = '11.0'
12+
s.source_files = 'JxlNukePlugin/JxlNukePlugin.swift'
13+
s.swift_version = ["5.3", "5.4", "5.5"]
14+
s.frameworks = "Foundation", "CoreGraphics"
15+
s.dependency 'Nuke', 'JxlCoder'
16+
s.requires_arc = true
17+
end

JxlSDWebImageCoder.podspec

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Pod::Spec.new do |s|
22
s.name = 'JxlSDWebImageCoder'
3-
s.version = '1.0.0'
3+
s.version = '1.0.1'
44
s.summary = 'JXL encoder and decoder for SDWebImage'
5-
s.description = 'JXL encoder and decoder for SDWebImage in iOS and MacOS'
5+
s.description = 'JXL plugin for SDWebImage in iOS and MacOS'
66
s.homepage = 'https://github.com/awxkee/jxl-coder-swift'
77
s.license = { :type => 'BSD-3', :file => 'LICENSE' }
88
s.author = { 'username' => '[email protected]' }
@@ -12,6 +12,6 @@ Pod::Spec.new do |s|
1212
s.source_files = 'JxlSDWebImageCoder/JxlSDWebImageCoder.swift'
1313
s.swift_version = ["5.3", "5.4", "5.5"]
1414
s.frameworks = "Foundation", "CoreGraphics"
15-
s.dependency = 'SDWebImage', 'JxlCoder'
15+
s.dependency 'SDWebImage', 'JxlCoder'
1616
s.requires_arc = true
1717
end

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ at the time of writing.
2222
## Usage
2323

2424
```swift
25-
import JXL
25+
import JxlCoder
2626
// Decompress data
2727
let uiImage: UIImage? = JXLCoder.decode(data: Data()) // or any max CGSize of image
2828
// Compress
@@ -32,6 +32,7 @@ let data: Data = try JXLCoder.encode(data: UIImage())
3232
## Nuke Plugin
3333

3434
If you wish to use `JXL` with <a href="https://github.com/kean/Nuke" target="_blank">`Nuke`</a> you may add `JxlCoder` library to project and activate the plugin on app init
35+
### Use code below in your project or add a pod `JxlNukePlugin`
3536
```swift
3637
import Nuke
3738
#if canImport(JxlCoder)
@@ -87,6 +88,7 @@ extension JxlNukePlugin {
8788
```
8889

8990
## Jxl SDWebImagePlugin
91+
### Use provided code or include pod `JxlSDWebImageCoder`
9092
```swift
9193
#if canImport(JxlCoder)
9294
import JxlCoder

0 commit comments

Comments
 (0)