https://github.com/0x0c/m2dhudview
Simple Hud libaray
https://github.com/0x0c/m2dhudview
hud ios ios-lib objective-c
Last synced: 8 months ago
JSON representation
Simple Hud libaray
- Host: GitHub
- URL: https://github.com/0x0c/m2dhudview
- Owner: 0x0c
- License: other
- Created: 2014-05-05T07:46:07.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-07-21T02:24:45.000Z (almost 12 years ago)
- Last Synced: 2024-05-02T00:43:29.625Z (about 2 years ago)
- Topics: hud, ios, ios-lib, objective-c
- Language: Objective-C
- Homepage:
- Size: 641 KB
- Stars: 13
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
M2DHudView
===
M2DHudView is a simple hud library.
You can show a hud with 3 styles and custom description on the hud.




Requirements
====
- Runs on iOS 4.0 or later.
- Must be complied with ARC.
Usage
====
---
Easy to use like this.
M2DHudView *hud = [[M2DHudView alloc] initWithStyle:M2DHudViewStyleSuccess title:nil];
[hud showWithDuration:3];
---
5 animations are already implemented.
These are performed in start(show) or end(dismiss) timing.
M2DHudViewTransitionStartZoomOut,
M2DHudViewTransitionStartFadeIn,
M2DHudViewTransitionEndZoomIn,
M2DHudViewTransitionEndZoomOut,
M2DHudViewTransitionEndFadeOut
---
You can lock user interaction.
M2DHudView *hud = ...;
[hud lockUserInteraction];
---
Each hud is assigned unique identifier.
You can dismiss hud with its identifier like this.
[M2DHudView dismissWithIdentifier:identifier]
---
Please check some features in header file.
Contacts
====
- [akira.matsuda@me.com](mailto:akira.matsuda@me.com)
License
====
M2DHudView is available under the MIT license.