Skip to content

zzyspace/ZYDraggableView

Repository files navigation

ZYDraggableView

Feature

  • Make view become draggable which inherited from UIView.
  • Integrate draggable view just one line of code.

Usage

[view makeDraggable];

Requirements

  • iOS 7.0+
  • Xcode 5.0+

Installation

Add manually:

  • Drag ZYDraggableView folder to your project.
  • Import header file: #import "ZYDraggableView.h"

FAQ

  1. 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.

About

An UIView category which make view become draggable.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published