All Projects → GodzzZZZ → Mfhudmanager

GodzzZZZ / Mfhudmanager

Licence: mit
🍰类似于Cosmos应用的HUD效果, 轻量简便

Labels

Projects that are alternatives of or similar to Mfhudmanager

MAVCesium
An experimental web based map display for MAVProxy based on Cesium
Stars: ✭ 28 (-68.18%)
Mutual labels:  hud
Easyshowview
一款非常简单的展示工具。提示框,加载框,空白页提示,alert弹出框。一行代码搞定所有操作。
Stars: ✭ 447 (+407.95%)
Mutual labels:  hud
Mcchathud
MatchaSKD中录音波形图实现,并增加其他多种样式
Stars: ✭ 62 (-29.55%)
Mutual labels:  hud
react-native-simplest-hud
The simplest network load indicator of react-native
Stars: ✭ 22 (-75%)
Mutual labels:  hud
Ftindicator
A light wight UI package contains local notification, progress HUD, toast, with blur effect, elegant API and themes support.
Stars: ✭ 292 (+231.82%)
Mutual labels:  hud
Wmzdialog
功能最多样式最多的弹窗,支持普通/微信底部/日期/地区/日历/选择/编辑/分享/菜单/自定义弹窗等,支持多种动画,链式编程调用(Pop-up windows with the most functions and styles, support normal/WeChat bottom/date/region/calendar/select/edit/share/menu/custom pop-up windows, etc., support multiple animations, chain programming calls)
Stars: ✭ 673 (+664.77%)
Mutual labels:  hud
hp2wsfix
Need for Speed: Hot Pursuit 2 PC - Widescreen fix
Stars: ✭ 25 (-71.59%)
Mutual labels:  hud
Stratuxhud
Heads Up Display for use with Stratux. Designed for reflective HUD screens, intended for traffic call outs.
Stars: ✭ 76 (-13.64%)
Mutual labels:  hud
Wolfhud
Payday 2 HUD
Stars: ✭ 371 (+321.59%)
Mutual labels:  hud
Jhud
A full screen of the HUD when loading the data (Objective-C).
Stars: ✭ 1,003 (+1039.77%)
Mutual labels:  hud
superBAR
Just good and customizable HUD for PocketMine-based servers. Originally created by @FaigerSYS. Updated for PocketMine-MP by @JackMD.
Stars: ✭ 11 (-87.5%)
Mutual labels:  hud
Swiftprogresshud
📦 SwiftProgressHUD is a user-friendly pure swift HUD. 支持Cocoapods 及 Carthage
Stars: ✭ 290 (+229.55%)
Mutual labels:  hud
Swiftnotice
GUI library for displaying various popups (HUD), written in pure Swift.
Stars: ✭ 825 (+837.5%)
Mutual labels:  hud
ZVProgressHUD
ZVProgressHUD is a pure-swift and wieldy HUD.
Stars: ✭ 30 (-65.91%)
Mutual labels:  hud
A j simple hud
High Performance Display Overlay in iOS
Stars: ✭ 67 (-23.86%)
Mutual labels:  hud
ELMduino
Arduino OBD-II Bluetooth Scanner Interface Library for Car Hacking Projects
Stars: ✭ 274 (+211.36%)
Mutual labels:  hud
Wsprogresshud
This is a beauful hud view for iPhone & iPad
Stars: ✭ 588 (+568.18%)
Mutual labels:  hud
Ybhud
A simple Hud with DGActivityIndicatorView
Stars: ✭ 81 (-7.95%)
Mutual labels:  hud
Scorehud
An event driven, highly customizable plugin to add Scoreboards on your Minecraft Bedrock Server.
Stars: ✭ 69 (-21.59%)
Mutual labels:  hud
Kbnhud
My TF2 HUD and one of many hobby projects. Readme has the info and links you need.
Stars: ✭ 36 (-59.09%)
Mutual labels:  hud

MFHUDManager

DUB Total-downloads Version Platform Language

类似于Cosmos应用的HUD效果

  • 支持 iOS 9 及以上

效果图

集成方式

  • cocoapod
pod 'MFHUDManager'

使用方式

  • 导入
#import "MFHUDManager.h"
  • 初始化并显示 在 appDelegate 里设置 HUD 的类型
typedef NS_ENUM(NSInteger, MFHUDMaskType) {
    MFHUDMaskTypeDark,
    MFHUDMaskTypeLight,
};

typedef NS_ENUM(NSInteger, MFHUDType) {
    MFHUDTypeNormal,
    MFHUDTypeLarge,
};

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    [MFHUDManager setHUDType:MFHUDTypeLarge];
    //[MFHUDManager setHUDType:MFHUDTypeNormal];  -- 默认
    [MFHUDManager setMaskType:MFHUDMaskTypeDark];
    //[MFHUDManager setMaskType:MFHUDMaskTypeLight]; --默认
}
  • 调用方法即可
{
    ...
    [MFHUDManager showLoading:@"..."];
    //or [MFHUDManager showSuccess:@"..."];
    //or [MFHUDManager showError:@"..."];
    //or [MFHUDManager showWarning:@"..."];
    ...
}

注意: 除了 showLoading 方法, 其他 show 方法会自动 hide, 如果要手动隐藏可以显示调用 dismiss

{
    ...
    [MFHUDManager dismiss];
    ...
}
  • 其他配置
+ (void)setHUDType:(MFHUDType)hudType;
+ (void)setMaskType:(MFHUDMaskType)maskType;

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].