HMLauncherView is a unique library inspired by the iOS home screen icons. This powerful utility offers users the chance to design a UI experience with Interactive icons behaving in a similar manner just like the iOS home screen. It’s an open-source library designed for iOS developers, providing them a way to create interactive interfaces that users will love.
Table of Contents
- Features
- Installation
- Usage
- Contributing
- License
Features
HMLauncherView is an iOS-inspired library with features such as:
- Interactive icons that can be moved, inserted and deleted like on the iOS home screen.
- Icons expand when touched and snapped to grid.
- Empty space detection when moving an icon to keep the grid compact.
- Pagination so you can accommodate more icons as needed.
Installation
The library can be added to your project using CocoaPods by adding the following line to your podfile:
pod 'HMLauncherView'
Usage
To use HMLauncherView in your project, initiate HMLauncherView with a frame:
HMLauncherView *launcherView = [[HMLauncherView alloc] initWithFrame:self.view.bounds];
Add some HMLauncherIcons to your launcher view:
HMLauncherIcon *icon1 = [[HMLauncherIcon alloc] initWithPosition:HMItemPositionMake(0, 0) closeImage:[UIImage imageNamed:@"close.png"]];
[launcherView addIcon:icon1 animated:NO];
Contributing
We welcome all contributions from developers who are interested in improving this library. You can contribute by submitting an issue or opening a pull request on our GitHub page.
License
HMLauncherView is available under the MIT license. This means it’s completely open-source and you can use it in both personal and commercial projects.