Skip to content

Drag item to reorganize the controls in this highly customizable pulldown menu.

Notifications You must be signed in to change notification settings

yee-yong/drag-to-reorganize-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 

Repository files navigation

drag-to-reorganize-menu

This elegant pulldown menu, written in Swift, appears when a user swiped down. You may drag item to reorganize the controls in this highly customizable pulldown menu.

This Swift app detects when two or more rectangles intersect each other. The logic then determines the final location of the intersected rectangles and gracefully animate their move to the final location. The menu hides the top row of controls if there is no user swipe gesture for 3 seconds, thus minimized the number of visible controls.

Here is a quick GIF demo:

jul-01-2017 13-00-18__10fps

Refer to Apple's UIView reference document for the following:

    • Animation
    • Event handling
    • Layout and subview management

About

Drag item to reorganize the controls in this highly customizable pulldown menu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published