ZYDraggableView
An UIView category which make view become draggable.
Install / Use
/learn @zzyspace/ZYDraggableViewREADME
ZYDraggableView

Feature
- [x] Make view become draggable which inherited from UIView.
- [x] Integrate draggable view just one line of code.
Usage
[view makeDraggable];
Requirements
- iOS 7.0+
- Xcode 5.0+
Installation
Add manually:
- Drag
ZYDraggableViewfolder to your project. - Import header file:
#import "ZYDraggableView.h"
FAQ
- Sometimes draggable view was blocked by other views.
This is depend on draggable view's hierarchical on superview. You can call
-bringSubviewToFront:to make draggable view above sibling views.
License
ZYDraggableView is released under the MIT license. See LICENSE for details.
Related Skills
node-connect
333.7kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.0kCreate 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
333.7kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.0kCommit, push, and open a PR
