ATToast 0.1.8

ATToast 0.1.8

ablettx 维护。



 
依赖项
ATCategories>= 0
Masonry>= 0
 

ATToast 0.1.8

  • 作者
  • ablett

ATToast

CI Status Version License Platform

示例

要运行示例项目,请克隆仓库,然后首先从 Example 目录运行 pod install

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];

需求

安装

ATToast 可以通过 CocoaPods 获取。要安装它,只需将以下行添加到您的 Podfile。

pod 'ATToast'

作者

ablett,[email protected]

许可证

ATToast 在 MIT 许可证下可用。有关更多信息,请参阅 LICENSE 文件。