Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0x0c/m2dhudview
Simple Hud libaray
https://github.com/0x0c/m2dhudview
hud ios ios-lib objective-c
Last synced: 4 days 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 (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-07-21T02:24:45.000Z (over 10 years ago)
- Last Synced: 2024-05-02T00:43:29.625Z (10 months 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.![](https://raw.githubusercontent.com/0x0c/M2DHudView/master/1.png)
![](https://raw.githubusercontent.com/0x0c/M2DHudView/master/2.png)
![](https://raw.githubusercontent.com/0x0c/M2DHudView/master/3.png)
![](https://raw.githubusercontent.com/0x0c/M2DHudView/master/4.png)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
====- [[email protected]](mailto:[email protected])
License
====M2DHudView is available under the MIT license.