All Projects → iTofu → Lcprogresshud

iTofu / Lcprogresshud

Licence: mit
一个超简单的活动指示器。适配横屏。

Projects that are alternatives of or similar to Lcprogresshud

Apesuperhud
A simple way to display a HUD with a message or progress information in your application.
Stars: ✭ 156 (+56%)
Mutual labels:  cocoapods, progress, hud
Ftindicator
A light wight UI package contains local notification, progress HUD, toast, with blur effect, elegant API and themes support.
Stars: ✭ 292 (+192%)
Mutual labels:  cocoapods, progress, hud
Svprogresshud
A clean and lightweight progress HUD for your iOS and tvOS app.
Stars: ✭ 12,339 (+12239%)
Mutual labels:  cocoapods, progress, hud
Swiftloader
A simple and beautiful activity indicator written in Swift
Stars: ✭ 116 (+16%)
Mutual labels:  cocoapods, progress
Ihprogresshud
A clean and lightweight progress HUD based on SVProgressHUD, converted to Swift with the help of Swiftify.
Stars: ✭ 135 (+35%)
Mutual labels:  cocoapods, hud
Mkmagneticprogress
A circular progress bar for iOS written in Swift
Stars: ✭ 214 (+114%)
Mutual labels:  cocoapods, progress
react-native-modal-loader
Customizable animated modal progress hud for react apps.
Stars: ✭ 36 (-64%)
Mutual labels:  progress, hud
Swiftprogresshud
📦 SwiftProgressHUD is a user-friendly pure swift HUD. 支持Cocoapods 及 Carthage
Stars: ✭ 290 (+190%)
Mutual labels:  cocoapods, hud
Jgprogresshud
An elegant and simple progress HUD for iOS and tvOS, compatible with Swift and ObjC.
Stars: ✭ 3,110 (+3010%)
Mutual labels:  cocoapods, hud
ZVProgressHUD
ZVProgressHUD is a pure-swift and wieldy HUD.
Stars: ✭ 30 (-70%)
Mutual labels:  progress, hud
Arslineprogress
iOS progress bar, replacement for the default activity indicator.
Stars: ✭ 434 (+334%)
Mutual labels:  cocoapods, progress
Multiprogressview
📊 An animatable view that depicts multiple progresses over time. Modeled after UIProgressView
Stars: ✭ 614 (+514%)
Mutual labels:  cocoapods, progress
Windowshowdemo
Android 弹窗案例总结(仿淘宝弹窗 咸鱼菜单 筛选列表)
Stars: ✭ 95 (-5%)
Mutual labels:  progress
Swiftcsvexport
Swift CSV Export is rich features framework and it helpful to read and write CSV in simple way.
Stars: ✭ 96 (-4%)
Mutual labels:  cocoapods
Rpborderlesssegmentedcontrol
A replica of Xcode 5's toolbar segmented controls.
Stars: ✭ 94 (-6%)
Mutual labels:  cocoapods
Nim ios uikit
网易云信 iOS UI 组件,提供聊天界面,文本消息,图片消息,语音消息,视频消息,地理位置消息,自定义消息(阅后即焚)等消息示例。#推荐客户得比特币,首次推荐得0.02BTC,连续推荐得0.03BTC/单,上不封顶。点击参与https://yunxin.163.com/promotion/recommend
Stars: ✭ 1,326 (+1226%)
Mutual labels:  cocoapods
Suggestionsbox
SuggestionsBox helps you build better a product trough your user suggestions. Written in Swift. 🗳
Stars: ✭ 98 (-2%)
Mutual labels:  cocoapods
Cuckoo
Boilerplate-free mocking framework for Swift!
Stars: ✭ 1,344 (+1244%)
Mutual labels:  cocoapods
Overlaycontroller
OverlayController easily pop your custom view and provide optional transition animation. written in swift 5.0
Stars: ✭ 94 (-6%)
Mutual labels:  cocoapods
Jjhud
JJHUD is an displays a translucent HUD with an indicator and/or labels .
Stars: ✭ 94 (-6%)
Mutual labels:  hud

LCProgressHUD

Travis CocoaPods CocoaPods CocoaPods LeoDev

一个超简单的活动指示器。

image

In me the tiger sniffs the rose.

心有猛虎,细嗅蔷薇。

前言 Foreword

好吧我只是觉得 MBProgressHUD 太麻烦了,所以再搞了一遍。

一行代码即可完成调用。

如果你不喜欢这么平淡的风格,ok!皮卡丘!~

传送门:LCCoolHUD

代码 Code

  • 两种导入方法:

    • 方法一:CocoaPods 导入:pod 'LCProgressHUD'
    • 方法二:导入LCProgressHUD文件夹到你的项目中 (文件夹在 Demo 中可以找到)
  • 在你需要使用的 viewController 中,#import "LCProgressHUD.h";

  • 任敲一行代码:

    [LCProgressHUD showMessage:@"心有林夕"];   // 显示文本
    
    [LCProgressHUD showInfoMsg:@"请输入账号"]; // 显示提示
    
    [LCProgressHUD showFailure:@"加载失败"];   // 显示失败
    
    [LCProgressHUD showSuccess:@"加载成功"];   // 显示成功
    
    [LCProgressHUD showLoading:@"正在加载"];   // 显示等待
    
    [LCProgressHUD showLoading:nil];          // 显示等待 (无文本)
    
  • 如果想手动隐藏 HUD (一般用来隐藏“等待”状态的 HUD)

    [LCProgressHUD hide];
    

怎么样,是不是超简单,哈哈~

更新日志 ChangeLog

V 1.0.8 (2018.01.03)

  • 修复 bundle 路径问题。

V 1.0.7 (2017.02.13)

V 1.0.6 (2016.04.05)

  • 修改 CocoaPods 源地址。

V 1.0.5 (2016.03.XX)

  • 添加 building test。

V 1.0.2 (2015.11.10)

  • 添加对 CocoaPods 的支持:pod 'LCProgressHUD'

  • 增加默认停留时间,由 1.6s 增加到 2.0s,再持久一点!(可在LCProgressHUD.m中手动更改)

  • 极限适配处女座,所有方法长度全部一样!

    - (void)showFailureText:(NSString *)text; // old
    ->
    - (void)showFailure:(NSString *)text;     // new
    
    - (void)showSuccessText:(NSString *)text; // old
    ->
    - (void)showSuccess:(NSString *)text;     // new
    
    - (void)showLoadingText:(NSString *)text; // old
    ->
    - (void)showLoading:(NSString *)text;     // new
    
    - (void)showInfoText:(NSString *)text;    // old
    ->
    - (void)showInfoMsg:(NSString *)text;     // new
    
    - (void)showText:(NSString *)text;        // old
    ->
    - (void)showMessage:(NSString *)text;     // new
    

V 1.0.0 (2015.07.09)

  • 加粗字体,修改默认字体为[UIFont boldSystemFontOfSize:16.0f]。因为我发现包括 QQ、支付宝等的 HUD 都采用加粗来提升显示效果,给用户更清晰的指示。(Demo 图我就不重新截了:))

  • 增加默认停留时间,由 1.2s 增加到 1.6s,更持久!

V 1.0.0 (2015.06.10)

  • 添加提示“信息”功能:

    [LCProgressHUD showMessage:@"请输入账号"];
    
  • 更换“成功”、“失败”的图片,更加友好 :)

V 0.0.1 (2015.05.05)

  • 适配处女座开发者,统一以下方法的长度:

    - (void)showFailureText:(NSString *)text;
    
    - (void)showSuccessText:(NSString *)text;
    
    - (void)showLoadingText:(NSString *)text;
    
  • 优化显示效果。Label 的字体大小现在是 15px,原来是 14px。

V 0.0.1 (2015.04.16)

  • 更简单了!

  • 类方法!并且不再需要写 LCProgressHUDStatusError 这种东西!不要太爽!

  • 保留了上个版本的 +showStatus:text: 方法,需要的自己调用,推荐调用更新后的方法!

提示 Tips

  • HUD 是添加到当前的 window 上而不是当前的 view 上,若实在需要可以去 LCProgressHUD 中修改。

  • 加载成功/失败的图片在“LCProgressHUD/HUDImage”文件夹下面,可自由更换,注意把名字改成我一样的即可。(当然你也可以去改代码,不嫌麻烦的话)

  • “加载成功”这个Label的字体在 LCProgressHUD.m 文件中可以修改,默认 15px。

  • 我提供了一个单例方法 [LCProgressHUD sharedHUD],可以拿到当前的 HUD,以备更多操作。

联系 Support

  • 发现问题请提 Issue,谢谢:-)

  • Mail: echo bGVvZGF4aWFAZ21haWwuY29tCg== | base64 -D

  • Blog: https://LeoDev.me

授权 License

本项目采用 MIT 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].