Commit 74dba17d authored by huanglu's avatar huanglu

tag

parent 9e2c0c82
...@@ -10,7 +10,7 @@ with the ability to scale and rotate objects ...@@ -10,7 +10,7 @@ with the ability to scale and rotate objects
s.homepage = 'https://dev.jiuaoedu.com/huanglu/GeekImageEditor-ios' s.homepage = 'https://dev.jiuaoedu.com/huanglu/GeekImageEditor-ios'
# s.license = { :type => 'MIT', :file => 'LICENSE.md' } # s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { 'Mohamed Hamed' => 'mohamed.hamed.ibrahem@gmail.com' } s.author = 'huanglu'
s.source = { :git => 'https://dev.jiuaoedu.com/huanglu/GeekImageEditor-ios', :tag => s.version.to_s } s.source = { :git => 'https://dev.jiuaoedu.com/huanglu/GeekImageEditor-ios', :tag => s.version.to_s }
s.ios.deployment_target = '9.0' s.ios.deployment_target = '9.0'
......
...@@ -645,6 +645,7 @@ ...@@ -645,6 +645,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = GeekImageEditor/Info.plist; INFOPLIST_FILE = GeekImageEditor/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
...@@ -663,6 +664,7 @@ ...@@ -663,6 +664,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
INFOPLIST_FILE = GeekImageEditor/Info.plist; INFOPLIST_FILE = GeekImageEditor/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 12.1;
LD_RUNPATH_SEARCH_PATHS = ( LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)", "$(inherited)",
"@executable_path/Frameworks", "@executable_path/Frameworks",
......
...@@ -124,7 +124,7 @@ extension PhotoEditorViewController { ...@@ -124,7 +124,7 @@ extension PhotoEditorViewController {
} }
func hideControls() { func hideControls() {
var controls = hiddenControls let controls = hiddenControls
for control in controls { for control in controls {
if (control == "clear") { if (control == "clear") {
......
...@@ -131,10 +131,10 @@ public final class PhotoEditorViewController: UIViewController { ...@@ -131,10 +131,10 @@ public final class PhotoEditorViewController: UIViewController {
self.imageView.kf.setImage(with: imgUrl, placeholder: nil, options: nil, progressBlock: nil) { (result) in self.imageView.kf.setImage(with: imgUrl, placeholder: nil, options: nil, progressBlock: nil) { (result) in
switch result { switch result {
case .success(let success): case .success(let success):
print(success.image, success.originalSource) // print(success.image, success.originalSource)
self.setImageView(image: success.image) self.setImageView(image: success.image)
case .failure(let error): case .failure(let error):
print(error.localizedDescription) // print(error.localizedDescription)
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment