Git Product home page Git Product logo

gifhud's Introduction

GiFHUD

progress hud for displaying only animated gif images. no labels (for now)

Demo

alt tag

Usage

Copy & paste the GiFHUD.h/m files to your project.
Add your gif file or image sequance files to your project.
Import GifHUD.h

//Setup GiFHUD image
[GiFHUD setGifWithImageName:@"pika.gif"];
[GiFHUD show];

Thats it !

Just use [GiFHUD show] or [GiFHUD showWithOverlay] for showing the hud.
[GiFHUD dismiss] for dismissing the hud.

+ (void)setGifWithImages:(NSArray *)images;
+ (void)setGifWithImageName:(NSString *)imageName;
+ (void)setGifWithURL:(NSURL *)gifUrl;

You can set your gif with giving its NSString name, NSBundle url or NSArray of UIImages.

Optional values

#define Size            150
#define FadeDuration    0.3
#define GifSpeed        0.3
#define OverlayAlpha    0.3

If you want to customise the looking just edit these values on the top of .m file.

Credits

The animated gif to UIImage library i used:
https://github.com/mayoff/uiimage-from-animated-gif

gifhud's People

Contributors

cemolcay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gifhud's Issues

Place GifHUD on View not Window

Hello,

We have to place GifHUD on ViewController's View not on window because we have to block UI but not tabbar's other tab.

Once loader placed on view then we can access other tab of tabbar.

thanks in advance.

Chung tay xây dựng năng lượng tái tạo - năng lượng xanh

 Tôi đã thấy rất nhiều nước trên thế giới sáng chế ra những thiết bị góp phần tái tạo lại năng lượng , tạo ra những năng lượng xanh. Điều này giúp chúng ta giảm thiểu đi khí thải nhà kính, giảm nhiệt đôn nền Trái Đất không tăng quá 1,5°C cho đến năm 2050. Một định mức báo động  cho bầu khí quyển của chúng ta và đây đang là vấn đề được các hiệp hội trên thế hưởng ứng.
Phần cá nhân tôi xin được đóng góp một bản thiết kế về thiết bị tua pin phát điện dựa vào tác động trọng tải của những phương tiện di chuyển qua cầu tác động xuống các nhịp. Từ các nhịp kết nối với pit tông thủy lực nén dầu có cấu tạo ống pít tông lớn với hướng vuông góc với mỗi nhịp tiếp xúc.

Những tác động trọng tải di chuyển qua mỗi nhịp đối xứng với vị trí 1,3,5... Và 2,4,6... Pít tông sẽ tạo lực nén đẩy xuống tay khuỷu làm chuyển động bánh đà.
Lực này làm tua pin chuyển động sinh ra điện lực có thể cung cấp cho nghành năng lượng sạch yêu cầu sạc điện cũng như bóng đèn thắp sáng khu vực con đường....vv
Có lẽ tua pin ta dùng loại không chổi than sẽ an toàn hơn và cho hiệu suất cao hơn.
Phần tay khuỷu nối bánh đà sẽ xin quyền sáng tạo của hai nhà khoa học người Ấn Độ để cải tiến tốt hơn cho thiết bị !
Xin cám ơn

Homework

本週驗收事項(5/27):

  1. 上週未完成 - Github專案管理,相機頁面,app申請與下載。
  2. 本週新增 - (1) 一拍照頁面,使用按鈕拍照。
    (2) 使用json或pickle或其他檔案格式儲存: 相片名稱與其他參數(以0 / 1 表示 無/ 有)。參數按鈕名稱為: 側臉,奶嘴,哭,笑。按鈕可任意放置
    (3) 儲存10張照片在手機上,並儲存一(2)產生之檔案。
    (4) 建立一新專案(github),建立一README.md檔,並在issues端建立資訊事項(e.g. 報價單產生系統)。

Hacking

I want to learn hacking can you help me

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.