Giter Club home page Giter Club logo

jkalertview's Introduction

Platform: iOS 7+ Language: Objective C CocoaPods compatible License: MIT

JKAlertView

JKAlertView is a simple and beautiful alert view, you can use it to show remote notifications or whatever you want.

Compatibility

JKAlertView requires iOS 7+ and is compatible with iPhone 4 and later.

CocoaPods

Installation for CocoaPods is simple enough:

pod 'JKAlertView'

And import "JKAlertView.h" in the files you would like to use it.

Usage

You only need to create a JKAlertView instance and set the needes values.

    JKAlertView *alertView = [[JKAlertView alloc] initWithFontName:@"verdana"];
    alertView.headerImage = [UIImage imageNamed:@"bg_img.jpg"];
    alertView.titleText = @"The Git";
    alertView.detailText = @"Is a version control system that is used for software development and other version control tasks.";
    alertView.linkText = @"git-scm";
    alertView.url = @"https://git-scm.com/";
    alertView.footerText = @"Wikipedia";
    [alertView show];

Properties

  • headerImage (requiered) The header image in the top of the alert, minimum size is 270x155. You can use large images long as you keep the aspect ratio 54:31.
  • titleText (requiered) The text of the title alert, maximum 32 characters .
  • detailText (requiered) The body or content text of the alert, maximum 200 characters.
  • titleTextColor (optional) The text color of the title.
  • detailTextColor (optional) The text color of the detail.
  • linkText (optional) The text of the link.
  • linkTextColor (optional) The text color of the link.
  • url (optional) The string url of the link.
  • footerText (optional) The text of the footer.

jkalertview's People

Contributors

kakashysen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

jkalertview's Issues

Load gif

I want to load a gif in place where is the image @kakasynsen

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.