ATBlank 0.3.10

ATBlank 0.3.10

Maintained by ablettx.



 
Depends on:
Masonry>= 0
ATCategories>= 0
 

ATBlank 0.3.10

ATBlank

CI Status Version License Platform

Example

    #import "UIView+ATBlank.h"

    ATBlank *blank = defaultBlank(ATBlankTypeFailure);
    blank.desc = [[NSAttributedString alloc] initWithString:@"10001"];
    blank.tapBlock = ^{
        [self.view blankConfReset];
    };
    [self.view setBlank:blank];
    [self.view reloadBlank];
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
        self.view.updateBlankConf(^(ATBlankConf * _Nonnull conf) {
            conf.backgroundColor = [UIColor blackColor];
            conf.titleFont = [UIFont boldSystemFontOfSize:14];
            conf.titleColor = [UIColor whiteColor];
            conf.descFont = [UIFont boldSystemFontOfSize:14];
            conf.descColor = [UIColor whiteColor];
        });
    });
    

Requirements

Installation

ATBlank is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'ATBlank'

Author

ablett, [email protected]

License

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