Giter VIP home page Giter VIP logo

fxtoast's Introduction

FXToast

一个使用单例封装的通知弹窗, 自带上移动画效果 这只是我当初为了尝试上架CocoaPods所做的一个小工具,实用性还不错,参考安卓的Toast效果,加了上移出现的动画,使用单例模式,不会有安卓Toast叠加出现的弊端,内存占有也很小,非常简单的一个小玩意。

集成方法

将FXToast拖入工程即可,在需要使用的地方 #import "FXToast.h"

Cocoapods pod 'FXToast'

使用方法

  • 1 可以直接使用类名调用类方法显示

    [FXToast showAlert:@"something"];

  • 2 可以创建单例对象,使用对象方法显示

FXToast * toast = [FXToast sharedToast];        
[toast showAlert:@"someThing"];
    

效果展示

12月-01-2017 19-40-49.gif

欢迎使用和交流, [email protected]

fxtoast's People

Contributors

fxxxxxx avatar 123123123123123123123 avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.