Latest | 0.1.2 |
---|---|
Homepage | https://github.com/ablettchen/ATToast |
License | MIT |
Platforms | ios 8.0, requires ARC |
Dependencies | ATCategories, Masonry |
Authors |
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 makeToastAttributed: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.
Latest podspec
{ "name": "ATToast", "version": "0.1.2", "summary": "Toast view", "homepage": "https://github.com/ablettchen/ATToast", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "ablett": "[email protected]" }, "source": { "git": "https://github.com/ablettchen/ATToast.git", "tag": "0.1.2" }, "social_media_url": "https://twitter.com/ablettchen", "platforms": { "ios": "8.0" }, "source_files": "ATToast/**/*.{h,m}", "requires_arc": true, "dependencies": { "ATCategories": [], "Masonry": [] } }
Mon, 10 Jun 2019 10:57:09 +0000