Skip to content

Commit

Permalink
公开UIAdapterZoomCalculationable
Browse files Browse the repository at this point in the history
  • Loading branch information
lixiang1994 committed Jan 12, 2023
1 parent a052a27 commit 641078e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Sources/Zoom/UIAdapter.Zoom.swift
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ extension UIAdapter.Zoom {
}
}

protocol UIAdapterZoomCalculationable {
public protocol UIAdapterZoomCalculationable {

/// 缩放计算
///
Expand All @@ -64,7 +64,7 @@ protocol UIAdapterZoomCalculationable {

extension Double: UIAdapterZoomCalculationable {

func zoom() -> Double {
public func zoom() -> Double {
return UIAdapter.Zoom.conversion(self)
}
}
Expand Down
2 changes: 1 addition & 1 deletion UIAdapter.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "UIAdapter"
s.version = "1.2.0"
s.version = "1.2.1"
s.summary = "iOS屏幕适配工具"

s.homepage = "https://github.com/lixiang1994/UIAdapter"
Expand Down

0 comments on commit 641078e

Please sign in to comment.