[ABANDONED] UI component for buttons like Apple's SpringBoard
Objective-C Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Classes
Example
.gitignore
CHANGELOG.md
HMLauncherView.podspec
LICENSE
README.md
Rakefile
VERSION

README.md

HMLauncherView

Version License Platform

HMLauncherView is an UI component which mimics the iOS homescreen (a.k.a SpringBoard) behaviour. Added icons can be reordered and removed. In addition the HMLauncherView supports drag&drop of icons between several HMLauncherView instances. Checkout the demo video: Demo Video showing the launcher icon movement

Usage

To run the example project; clone the repo, and run pod install from the Example directory first.

The HMLaucherView needs a datasource and a delegate. The implementation of HMLauncherDataSource has to provide the grid dimensions (columns/rows), the number of pages, and accessor methods to the HMLaucherIcons, which represents the icons of the laucher view.

The HMLauncherViewDelegate should react to any interactions (like dragging, tapping, deleting) on the launcher view. In addition the delegate is resposible to find out to which the current dragged HMLaucherIcon belongs to.

Checkout the LauncherService class of the example project.

Installation

HMLauncherView is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "HMLauncherView"

Author

Heiko Maaß, mail@heikomaass.de

License

HMLauncherView is available under the Apache 2.0 license. See the LICENSE file for more info.