Commit f8c27943 authored by huanglu's avatar huanglu

update

parent 46edd505
Pod::Spec.new do |s|
s.name = 'GeekImageEditor'
s.version = '0.0.2'
s.version = '1.0'
s.summary = 'Image Editor supports drawing, writing text and adding stickers and emojis'
s.description = <<-DESC
......
......@@ -128,8 +128,8 @@ public final class PhotoEditorViewController: UIViewController {
func loadImageForPath(path: String) {
if let imgUrl = URL(string: path) {
self.imageView.kf.setImage(with: imgUrl, placeholder: nil, options: nil, progressBlock: nil) { (result) in
switch result {
self.imageView.kf.setImage(with: imgUrl, placeholder: nil, options: nil, progressBlock: nil) { (res) in
switch res {
case .success(let success):
self.setImageView(image: success.image)
default:
......
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