ATToast 0.1.8

ATToast 0.1.8

Maintained by ablettx.



 
Depends on:
ATCategories>= 0
Masonry>= 0
 

ATToast 0.1.8

  • By
  • ablett

ATToast

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

NSString *string = @"Be sure to run `pod lib lint ATToast.podspec' to ensure this is a valid spec before submitting.";
NSMutableAttributedString *attributedString = [[NSMutableAttributedString alloc] initWithString:string];
NSRange range = [string rangeOfString:@"pod lib lint ATToast.podspec"];
[attributedString addAttribute:NSForegroundColorAttributeName value:[UIColor yellowColor] range:range];
[attributedString addAttribute:NSFontAttributeName value:[UIFont boldSystemFontOfSize:14] range:range];
[attributedString addAttribute:NSUnderlineStyleAttributeName value:@(1) range:range];

[self.view showToastAttributed:attributedString];

Requirements

Installation

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

pod 'ATToast'

Author

ablett, [email protected]

License

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