Latest 0.1.0
Homepage https://github.com/kakashysen/JKAlertView
License MIT
Platforms ios 7.0
Authors

Platform: iOS 7+Language: Objective CCocoaPods compatibleLicense: MIT

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

JKAlertView

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 270×155. 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.

Latest podspec

{
    "name": "JKAlertView",
    "version": "0.1.0",
    "summary": "JKAlertView is a simple and beautiful alert view",
    "description": "JKAlertView is a simple and beautiful alert view, you can use it to show remote notifications or whatever you want.n* Beautifuln* Simple to use, like a UIAlertViewn* Swipe gesture to close alert",
    "homepage": "https://github.com/kakashysen/JKAlertView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Jose Aponte": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/kakashysen/JKAlertView.git",
        "tag": "0.1.0"
    },
    "source_files": [
        "JKAlertView",
        "JKAlertView/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This