Skip to content
Projects

zzyspace/ZYDraggableView

View on GitHub

About

An UIView category which make view become draggable.

Web & App Development

How these counts are measured

Measured star growth

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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.

Explore related projects

Loading…