All Projects → sameersyd → MotionToastView

sameersyd / MotionToastView

Licence: MIT License
A Beautiful Multipurpose Motion Toast Library in iOS using Swift

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to MotionToastView

Wiggles-iOS
Beautiful Puppy adoption app built to Demonstrate the SwiftUI and MVVM Architecture
Stars: ✭ 174 (+125.97%)
Mutual labels:  ui-design, sameersyd
BoxFeed
News App 📱 built to demonstrate the use of SwiftUI 3 features, Async/Await, CoreData and MVVM architecture pattern.
Stars: ✭ 112 (+45.45%)
Mutual labels:  ui-design, sameersyd
PlantShopUI-Android
Check out the new style for App Design aims for the Online Plant Shop Service using jetpack compose...😉😀😁😎
Stars: ✭ 29 (-62.34%)
Mutual labels:  ui-design
react-native-awesome-alert
🔔 Customizable modal components with ✔️check options in React Native
Stars: ✭ 50 (-35.06%)
Mutual labels:  alert
SPStorkController
Now playing controller from Apple Music, Mail & Podcasts Apple's apps.
Stars: ✭ 2,515 (+3166.23%)
Mutual labels:  alert
ngx-copilot
🏆 The most expected has arrived, a package for Angular that facilitates us to improve the experience of our users when guiding them in our interface
Stars: ✭ 61 (-20.78%)
Mutual labels:  ui-design
weixin-alert
企业微信告警发送
Stars: ✭ 51 (-33.77%)
Mutual labels:  alert
UPrice
If you’ve ever seen “The Price is Right” on TV, you’re probably familiar with the game where contestants guess the price of an item.
Stars: ✭ 23 (-70.13%)
Mutual labels:  ui-design
EasyDragDrop
A minimal java desktop app with awesome UI based on Swing to drag and drop files programmatically.
Stars: ✭ 16 (-79.22%)
Mutual labels:  ui-design
CreditCardCheckout
Credit Card Checkout - A Xamarin.Forms UI Challenge
Stars: ✭ 69 (-10.39%)
Mutual labels:  ui-design
FlutterFacebookMessengeUI
Created Facebook messenger ui in Flutter.
Stars: ✭ 35 (-54.55%)
Mutual labels:  ui-design
flutter designs world
We at Appstree has implemented design concepts of different application using mock ups available out there at internet. These are open source projects and any once can use them. Say Hello to us at [email protected], if you want to hire our team is available to provide you top notch solutions.
Stars: ✭ 22 (-71.43%)
Mutual labels:  ui-design
wallpapers
🖼️ Wallpapers to match your Catppuccin setups!
Stars: ✭ 176 (+128.57%)
Mutual labels:  ui-design
mobile-message
基于移动端的弹窗组件,默认提供info、success、warning、error、alert、confirm、multiple、vertical、bottomSheet、prompt,可自定义弹窗。它可以包含任何Html内容可以自定义弹窗的样式,也可以加入自定以的弹窗动画。
Stars: ✭ 13 (-83.12%)
Mutual labels:  alert
oneroof
Learn about firebase crud operation authentication, animation
Stars: ✭ 15 (-80.52%)
Mutual labels:  ui-design
BalloonPopup
Forget Android Toast! BalloonPopup displays a round or squared popup and attaches it to a View, like a callout. Uses the Builder pattern for maximum ease. The popup can automatically hide and can persist when the value is updated.
Stars: ✭ 32 (-58.44%)
Mutual labels:  alert
iakit
无依赖 mini 组件库,只封装了 alert, toast, loading, actionSheet 等使用频率较高的组件。适用于类似 H5 活动页的简单移动端项目,不必为了使用这些组件而引入一个大而全的 UI 库和框架。
Stars: ✭ 38 (-50.65%)
Mutual labels:  alert
AlertBar
An easy alert on status bar
Stars: ✭ 64 (-16.88%)
Mutual labels:  alert
JDToaster
🍞 Toasty iOS alerts
Stars: ✭ 25 (-67.53%)
Mutual labels:  alert
Razor.SweetAlert2
A Razor class library for interacting with SweetAlert2
Stars: ✭ 98 (+27.27%)
Mutual labels:  alert

MotionToastView - A Beautiful Toast Library for iOS Swift

CI Status Version License Platform

A Beautiful Multipurpose Motion Toast Library in iOS using Swift 😍

GitHub Cards Preview

Preview - Vibrant Toast 🌈

gif

Preview - Pale Toast 🌟

gif

Preview - Dark Vibrant Toast 🌈

gif

Preview - Dark Pale Toast 🌈

gif

Types of Toast Style ❤️

1. Pale Toast 2. Vibrant Toast 3. Dark Pale Toast 4. Dark Vibrant Toast

About

A Beautiful Multipurpose Motion Toast View in iOS using Swift with full customisation options. The library is developed using Swift 5.

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

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

pod 'MotionToastView'

Import MotionToastView in your class

import MotionToastView

4️⃣ Toast types

        1 .success
        2 .error
        3 .warning
        4 .info

✌🏻 Toast styles

        1 .style_vibrant
        2 .style_pale

⌛️ Toast duration

        1 .short 	// 2 Seconds
        2 .long 	// 4 Seconds

Usage

Sample Code for - Motion Toast View 🌟

Success Toast

(Basic)

MotionToast(message: "You have successfully completed the trip", toastType: .success)             

Error Toast

(with corner radius)

MotionToast(message: "You have failed to complete the trip", toastType: .error, toastCornerRadius: 12)

Warning Toast

(with duration, style, gravity, pulseEffect)

MotionToast(message: "You are not in the location. Try again", toastType: .warning, duration: .long, 
              toastStyle: .style_pale, toastGravity: .centre, pulseEffect: false)     

Info Toast

(with duration, style, gravity)

MotionToast(message: "You have failed to complete the trip", toastType: .info, 
              duration: .long, toastStyle: .style_pale, toastGravity: .top)

Note:

Light and Dark mode are set using system preference

toastCornerRadius parameter is only for toast style - vibrant

Motion Toast View

Parameter Optional Default Value Type Values Available
message false nil String custom
toastType false nil enum [.success, .error, .warning, .info]
duration true .short enum [.short, .long]
toastStyle true .style_vibrant enum [.style_vibrant, .style_pale]
toastGravity true .bottom enum [.top, .centre, .bottom]
toastCornerRadius true 0 Int custom
pulseEffect true true Bool [true, false]

✍🏻 Want More Customisation?

MotionToast_Customisation(header: "Custom Toast", message: "It gives you more customisation options.",
                            headerColor: UIColor(red: 255.0, green: 255.0, blue: 255.0, alpha: 1.0), 
                            messageColor: UIColor(red: 239.0, green: 239.0, blue: 239.0, alpha: 0.7), 
                            primary_color: UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 0.5), 
                            secondary_color: UIColor(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0), 
                            icon_image: UIImage(named: "apple")!, duration: .long, toastStyle: .style_pale, 
                            toastGravity: .bottom, toastCornerRadius: 12, pulseEffect: true)

Checkout Android version of this library Motion Toast

Design Inspired from @Spikeysanju

Donation

If this project helped you reduce time to develop, you can buy me a cup of coffee :)

Buy Me A Coffee

Author

Sameer Nawaz, [email protected]

License

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