Latest 0.0.3
Homepage https://github.com/seasonZhu/ZDPictureViewerKit
License MIT
Platforms ios 9.0
Dependencies Kingfisher
Frameworks Foundation, UIKit
Authors

项目介绍

这个是一款Swift编写的图片展示组件

主要是用于网络图片的显示与浏览,当然加载本地图片也是可以

其实这个组件应该放入到ZDPhotoKit中,不过比较遗憾的是由于是加载网络图片为主,所以我不得不使用了Kingfisher,以至于造成了第三方库的依赖

按照功能上来说,其实我使用ZDLaunchKit中的图片下载也可以满足其要求,就是性能不是很好

目前已知的一些Bug

  1. Gif预览使用了Kingfisher中的AnimatedImageView,但是从大图预览回到列表展示的时候,Gif图不动
  2. 图片缩放的动画细节还有问题
  3. 后续会放入cocoapods中,也算是对其的一种练习

Latest podspec

{
    "name": "ZDPictureViewerKit",
    "version": "0.0.3",
    "summary": "Swift u56feu7247u6d4fu89c8u5668",
    "description": "Show Network Picture u57fau4e8eSwiftu7f16u5199u7684u7f51u7edcu56feu7247u663eu793au7ec4u4ef6",
    "homepage": "https://github.com/seasonZhu/ZDPictureViewerKit",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "zhujilong": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/seasonZhu/ZDPictureViewerKit.git",
        "tag": "0.0.3"
    },
    "source_files": [
        "ZDPicViewerDemo/ZDPictureViewerKit",
        "*.{swift}"
    ],
    "swift_version": "4.0",
    "resources": "ZDPicViewerDemo/ZDPictureViewerKit/ZDPictureViewer.bundle",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "dependencies": {
        "Kingfisher": []
    }
}

Pin It on Pinterest

Share This