CWShareView
仿写微信分享UI
Install / Use
/learn @cwwise/CWShareViewREADME
CWShareView
仿写微信分享功能
目录 Contents
环境 Requirements
- iOS 8.0+
- Xcode 8.3+
- Swift3.1
功能 Feature
- [x] 模仿微信ShareView
- [x] 模仿九宫格分享View
- [ ] 更好的自定义
- [ ] 完善注释,更好的readme
预览 Preview

使用 Usage
-
导入方法:
- 方法一(推荐使用):CocoaPods:
pod 'CWShareView'
- 方法一(推荐使用):CocoaPods:
-
在相应位置导入头文件:
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.
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
