Latest 0.0.2
Homepage https://github.com/cwwise/CWShareView
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

仿写微信分享功能

目录 Contents

环境 Requirements

  • iOS 8.0+
  • Xcode 8.3+
  • Swift3.1

功能 Feature

  • [x] 模仿微信ShareView
  • [x] 模仿九宫格分享View
  • [ ] 更好的自定义
  • [ ] 完善注释,更好的readme

预览 Preview

CWShareViewDemo_1
CWShareViewDemo_2

使用 Usage

  • 导入方法:

    • 方法一(推荐使用):CocoaPodspod 'CWShareView'
  • 在相应位置导入头文件:import CWShareView

  • 调用下列任意方法即可:
    let clickedHandler = { (shareView: ShareView, indexPath: IndexPath) in
            print(indexPath.section, indexPath.row)
        }

    let title = "网页由mp.weixin.qq.com提供"
    let shareView = ShareView(title: title,
                              shareItems: [shareList1, shareList2], 
                              clickedHandler: clickedHandler)        
    shareView.show()

许可 License

CWShareView is released under the MIT License.

Latest podspec

{
    "name": "CWShareView",
    "version": "0.0.2",
    "summary": "A simple, ornamental, but powerful shareView!",
    "description": "A simple, ornamental, but powerful shareView! like wechat.",
    "homepage": "https://github.com/cwwise/CWShareView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "ios_chenwei": "[email protected]"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/cwwise/CWShareView.git",
        "tag": "0.0.2"
    },
    "source_files": [
        "Sources",
        "*.{h,swift}"
    ],
    "public_header_files": "Sources/*.h",
    "frameworks": "UIKit",
    "pushed_with_swift_version": "4.0"
}

Pin It on Pinterest

Share This