niyongsheng / NYSTK

iOS粒子效果弹框🎯(ios colorful alert framework)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(logo) NYSTK

Cocoapods Version Platform MIT License Issues

ios 自定义弹框库
ios colorful alert framework

Usage:

  • Installation with CocoaPods:
pod 'NYSTK'
  • Import the main file:
#import <NYSTK/NYSTK.h>

Screenshot:

(logo)

image-bar default custom simple animation image
success light warning light error light success dark warning dark error dark

Features

  • Config
  • Effect
  • Feedback
  • Animation
  • Documentation

Example:

  • Objective-C
#import <NYSTK/NYSTK.h>

NSString *string = @"NYSTK test msg ...";

[NYSTKConfig defaultConfig].offsetFromCenter = UIOffsetMake(0, -100);
[NYSTKConfig defaultConfig].contentFont = [UIFont boldSystemFontOfSize:20.0f];

[NYSTKAlert showImageBarWithMessage:string
                             onView:NYSTK_AppWindow
             infoButtonClickedBlock:^{
                    
}];

Summary:

NYSTK
├─ NSBundle+NYSTK.h
├─ NSBundle+NYSTK.m
├─ NYSTK.bundle
│    ├─ images
│    ├─ Info.plist
│    ├─ en.lproj
│    │    └─ Localizable.strings
│    ├─ zh-Hans.lproj
│    │    └─ Localizable.strings
│    └─ zh-Hant.lproj
│           └─ Localizable.strings
├─ NYSTK.h
├─ NYSTKAlert.h
├─ NYSTKAlert.m
├─ NYSTKConfig.h
├─ NYSTKConfig.m
├─ NYSTKConst.h
├─ NYSTKConst.m
├─ NYSTKEmitterUtil.h
├─ NYSTKEmitterUtil.m
├─ NYSTKImageView.h
├─ NYSTKImageView.m
├─ UIButton+NYSTK.h
├─ UIButton+NYSTK.m
├─ UIColor+NYSTK.h
├─ UIColor+NYSTK.m
├─ UIImage+NYSTK.h
├─ UIImage+NYSTK.m
├─ UIView+NYSTK.h
└─ UIView+NYSTK.m

Remind

  • ARC
  • iOS >= 10.0
  • iPhone \ iPad screen anyway

Contact Me

Contribution

Reward🍭 Encourage❤️

License

NYSTK is available under the MIT license. See the LICENSE file for more info.

About

iOS粒子效果弹框🎯(ios colorful alert framework)

License:MIT License


Languages

Language:Objective-C 99.5%Language:Ruby 0.5%