项目作者: 0x0c

项目描述 :
Simple Hud libaray
高级语言: Objective-C
项目地址: git://github.com/0x0c/M2DHudView.git
创建时间: 2014-05-05T07:46:07Z
项目社区:https://github.com/0x0c/M2DHudView

开源协议:Other

下载


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.

  1. M2DHudView *hud = [[M2DHudView alloc] initWithStyle:M2DHudViewStyleSuccess title:nil];
  2. [hud showWithDuration:3];

5 animations are already implemented.
These are performed in start(show) or end(dismiss) timing.

  1. M2DHudViewTransitionStartZoomOut,
  2. M2DHudViewTransitionStartFadeIn,
  3. M2DHudViewTransitionEndZoomIn,
  4. M2DHudViewTransitionEndZoomOut,
  5. M2DHudViewTransitionEndFadeOut

You can lock user interaction.

  1. M2DHudView *hud = ...;
  2. [hud lockUserInteraction];

Each hud is assigned unique identifier.
You can dismiss hud with its identifier like this.

  1. [M2DHudView dismissWithIdentifier:identifier]

Please check some features in header file.

Contacts

License

M2DHudView is available under the MIT license.