• Stars
    star
    192
  • Rank 201,406 (Top 4 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 12 years ago
  • Updated over 10 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

[ABANDONED] UI component for buttons like Apple's SpringBoard

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ß, [email protected]

License

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