/M2DHudView

Simple Hud libaray

Primary LanguageObjective-COtherNOASSERTION

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

License

M2DHudView is available under the MIT license.