Code Monkey home page Code Monkey logo

hqtoast's Introduction

HQToast

一款简单的文字提示工具,可以用一行代码使用默认的配置提示,也可以选择自己设置文字的属性来进行提示,简单方便。

Features

  • 使用简单
  • 可自定义属性
  • 自定义显示的位置

Requirements

  • iOS 8.0+
  • Xcode 9.0+
  • Objective-C

Installation

可以直接把source文件夹导入到项目里面,引入头文件#import "HQToast.h”就能使用了

Example

点击HQToast.xcodeproj把项目跑起来

Usage

// 调用方式一
[[HQToast shareInstance] showText:@"保存成功!"];


// 调用方式二
[[HQToast shareInstance] showTextDuration:1.0 CornerRadiusNum:8.0 TextBackColor:[UIColor greenColor] TextFont:[UIFont systemFontOfSize:14] TextColor:[UIColor redColor] TextFrame:CGPointMake(0, 0) Text:@"这是一段文字提示!"];

hqtoast's People

Contributors

kdtrey35 avatar

Stargazers

 avatar  avatar

Watchers

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