Coder Social home page Coder Social logo

agheadsupview's Introduction

AGHeadsUpView

AGHeadsUpView is an iOS library used to render text or a loading indicator in an unobtrusive HUD. Architected with multiple screen sizes and orientations in mind, AGHeadsUpView relies on Autolayout for drawing and animation. In addition, the background of each HUD uses Apple's UIBlurEffect for layered spacial contexts.

Getting Started

  • Download AGHeadsUpView and try the included example project.
  • Copy the "AGHeadsUpView" directory into your project
  • Import the header file at the top of your document, like so: #import "AGHeadsUpView.h"

Using AGHeadsUpView

AGHeadsUpView can show a HUD for a definite time. These methods are best for notifications of a singular action.

[AGHeadsUpView showLoadingViewWithDefiniteTime:2.0];
[AGHeadsUpView showText:@"Hello World" withDefiniteTime:2.0];

AGHeadsUpView can also show a HUD indefintely, to be manually dismissed later on. These methods are best for representing asynchronous network requests and other indeterminate tasks.

[AGHeadsUpView showLoadingView];
// Perform an asynchronous network task.
[AGHeadsUpView dismiss];

Requirements

AGHeadsUpView is supported on iOS 8.0+ and requires ARC.

Credits

AGHeadsUpView was originally designed and developed by Alex Givens for the Color Myx music player. The spinning loading indicator for AGHeadsUpView is provided by LLARingSpinnerView by Lukas Lipka. Both AGHeadsUpView and LLARingSpinnerView reside under the MIT License.

agheadsupview's People

Contributors

alexgivens avatar

Stargazers

Justin Huntington avatar

Watchers

James Cloos 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.