All Projects → liufengting → Ftindicator

liufengting / Ftindicator

Licence: mit
A light wight UI package contains local notification, progress HUD, toast, with blur effect, elegant API and themes support.

Projects that are alternatives of or similar to Ftindicator

Apesuperhud
A simple way to display a HUD with a message or progress information in your application.
Stars: ✭ 156 (-46.58%)
Mutual labels:  cocoapods, progress, hud
Lcprogresshud
一个超简单的活动指示器。适配横屏。
Stars: ✭ 100 (-65.75%)
Mutual labels:  cocoapods, progress, hud
ZVProgressHUD
ZVProgressHUD is a pure-swift and wieldy HUD.
Stars: ✭ 30 (-89.73%)
Mutual labels:  notifications, progress, hud
Svprogresshud
A clean and lightweight progress HUD for your iOS and tvOS app.
Stars: ✭ 12,339 (+4125.68%)
Mutual labels:  cocoapods, progress, hud
Sweetalert2
A beautiful, responsive, highly customizable and accessible (WAI-ARIA) replacement for JavaScript's popup boxes. Zero dependencies.
Stars: ✭ 13,929 (+4670.21%)
Mutual labels:  notifications, toast
React Notify Toast
Toast notifications for React.js
Stars: ✭ 176 (-39.73%)
Mutual labels:  notifications, toast
Swiftprogresshud
📦 SwiftProgressHUD is a user-friendly pure swift HUD. 支持Cocoapods 及 Carthage
Stars: ✭ 290 (-0.68%)
Mutual labels:  cocoapods, hud
vue-dk-toast
Lightweight toast-notification plugin for Vue 3 🍞
Stars: ✭ 23 (-92.12%)
Mutual labels:  notifications, toast
Notistack
Highly customizable notification snackbars (toasts) that can be stacked on top of each other
Stars: ✭ 2,562 (+777.4%)
Mutual labels:  notifications, toast
Toasted Notes
simple, flexible toast notifications for react
Stars: ✭ 241 (-17.47%)
Mutual labels:  notifications, toast
Sentinel
👀 Native notifications for League of Legends
Stars: ✭ 38 (-86.99%)
Mutual labels:  notifications, toast
Angular Notifier
A well designed, fully animated, highly customizable, and easy-to-use notification library for your Angular application.
Stars: ✭ 175 (-40.07%)
Mutual labels:  notifications, toast
Notiflix
Notiflix is a JavaScript library for client-side non-blocking notifications, popup boxes, loading indicators, and more that makes your web projects much better.
Stars: ✭ 172 (-41.1%)
Mutual labels:  notifications, toast
Overlay support
a flutter toast and notification library
Stars: ✭ 232 (-20.55%)
Mutual labels:  notifications, toast
React Toast Notifications
🍞 A toast notification system for react
Stars: ✭ 2,103 (+620.21%)
Mutual labels:  notifications, toast
react-native-modal-loader
Customizable animated modal progress hud for react apps.
Stars: ✭ 36 (-87.67%)
Mutual labels:  progress, hud
tall-toasts
A Toast notification library for the Laravel TALL stack. You can push notifications from the backend or frontend to render customizable toasts with almost zero footprint on the published CSS/JS 🔥🚀
Stars: ✭ 296 (+1.37%)
Mutual labels:  notifications, toast
ngx-toasta
Simple and clean Toast notification library for AngularX (Angular2 and beyond)
Stars: ✭ 20 (-93.15%)
Mutual labels:  notifications, toast
Razor.SweetAlert2
A Razor class library for interacting with SweetAlert2
Stars: ✭ 98 (-66.44%)
Mutual labels:  notifications, toast
Svelte Notifications
Svelte toast notifications component that can be used in any JS application
Stars: ✭ 146 (-50%)
Mutual labels:  notifications, toast

FTIndicator

FTIndicator

Twitter GitHub license Version Platform Download CocoaPods CocoaPods CI Status GitHub stars

A light wight UI package contains local notification, progress HUD, toast, with blur effect, elegant API and themes Support for iOS. Inspired by Apple's process HUD, notifications and Android's toast.

3 IN 1

  • If you want use all three of the indicators, use FTIndicator .
  • Also, FTNotificationIndicator, FTProgressIndicator and FTToastIndicator are able to work separately. Use them all your will.

FTIndicator

FTNotificationIndicator FTProgressIndicator FTToastIndicator


ScreenShots

Portrait

Style Light Dark
Notification
Progress
Toast

Landscape

Style Light Dark
Notification
Progress
Toast

Installation

Manually

  • clone this repo.
  • Simply drop the '/FTIndicator' folder into your project.
  • import 'FTIndicator.h'

CocoaPods

FTIndicator is available through CocoaPods. To install it, simply add the following line to your Podfile:

⚠️ Notice:

Syntax error fix in 1.2.2: Syntax error fixed. May cause error to your projects, update it carefully.

⚠️ Notice:

major fix in 1.2.0: progress HUD doesn't show when app starts

FTNotificationIndicator, FTProgressIndicator and FTToastIndicator podfile stopped updating after v1.1.5. If you wanna use them separately, you should use them like this in your Podfile as a subPod:

    pod 'FTIndicator/FTNotificationIndicator'
    pod 'FTIndicator/FTProgressIndicator'
    pod 'FTIndicator/FTToastIndicator'

Use FTIndicator, all three of them

  • FTIndicator, 3 in 1
pod 'FTIndicator'

Use separately

  • FTNotificationIndicator

pod 'FTNotificationIndicator is not available anymore, use this:

# use as a subPod

pod 'FTIndicator/FTNotificationIndicator'

  • FTProgressIndicator

pod "FTProgressIndicator" is not available anymore, use this:

# use as a subPod

pod 'FTIndicator/FTProgressIndicator'

  • FTToastIndicator

pod 'FTToastIndicator' is not available anymore, use this:

# use as a subPod

pod 'FTIndicator/FTToastIndicator'

Usage

Use FTIndicator

Notification

  • show without image
[FTIndicator showNotificationWithTitle:@"Here is a notification title."
								message:@"Here is a notification message."]; 
  • show with image
[FTIndicator showNotificationWithImage:[UIImage imageNamed:@"maps_icon"]
								   title:@"Here is a notification title."
                               message:@"Here is a notification message."]; 
  • show with image, with tap handler and completion handler
[FTIndicator showNotificationWithImage:[UIImage imageNamed:@"maps_icon"]
                                 title:@"Here is a notification title."
                               message:@"Here is a notification message. Try to tap and see tap handling or do nothing to see completion"
                            tapHandler:^{
							// handle user tap
                            } completion:^{
							// handle completion
                            }];
  • dismiss manually
[FTIndicator dismissNotification];

Progress

  • show progress

[FTIndicator showProgressWithMessage:@"Here is a progress message."];  


// or disable user interactions

[FTIndicator showProgressWithMessage:@"Here is a progress message." userInteractionEnable:NO]; 

  • show success

[FTIndicator showSuccessWithMessage:@"Here is a success message."]; 


// or disable user interactions

[FTIndicator showSuccessWithMessage:@"Here is a success message." userInteractionEnable:NO]; 

  • show info

[FTIndicator showInfoWithMessage:@"Here is a info message."]; 


// or disable user interactions

[FTIndicator showInfoWithMessage:@"Here is a info message." userInteractionEnable:NO]; 

  • show error

[FTIndicator showErrorWithMessage:@"Here is a error message."];


// or disable user interactions

[FTIndicator showErrorWithMessage:@"Here is a error message." userInteractionEnable:NO];

  • dismiss manually
[FTIndicator dismissProgress];

Toast

  • show with image
[FTIndicator showToastMessage:@"Short Toast."];  
  • dismiss manually
[FTIndicator dismissToast];

Use FTNotificationIndicator, FTProgressIndicator, FTToastIndicator separately

FTNotificationIndicator

  • show with image
[FTNotificationIndicator showNotificationWithImage:[UIImage imageNamed:@"maps_icon"]
                                             title:@"Here is a notification title."
                                           message:@"Here is a notification message."]; 
  • show without image
[FTNotificationIndicator showNotificationWithTitle:@"Here is a notification title."
										     message:@"Here is a notification message."]; 
  • dismiss manually
[FTNotificationIndicator dismiss];

FTProgressIndicator

  • show progress
[FTProgressIndicator showProgressWithmessage:@"Here is a progress message."]; 
// or disable user interactions
[FTProgressIndicator showProgressWithmessage:@"Here is a progress message." userInteractionEnable:NO]; 
  • show success
[FTProgressIndicator showSuccessWithMessage:@"Here is a success message."]; 
// or disable user interactions
[FTProgressIndicator showSuccessWithMessage:@"Here is a success message." userInteractionEnable:NO]; 
  • show info
[FTProgressIndicator showInfoWithMessage:@"Here is a info message."]; 
// or disable user interactions
[FTProgressIndicator showInfoWithMessage:@"Here is a info message." userInteractionEnable:NO]; 
  • show error
[FTProgressIndicator showErrorWithMessage:@"Here is a error message."];
// or disable user interactions
[FTProgressIndicator showErrorWithMessage:@"Here is a error message." userInteractionEnable:NO];
  • dismiss manually
[FTProgressIndicator dismiss];

FTToastIndicator

  • show with image
[FTToastIndicator showToastMessage:@"Short Toast."];  
  • dismiss manually
[FTToastIndicator dismiss];

CHANGELOG

CHANGELOG

License

FTIndicator is available under the MIT license. See the LICENSE file for more info.

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].