RKOTextView 1.1.1

RKOTextView 1.1.1

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
Released最后发布2020年4月

Rakuyo维护。



  • 作者
  • Rakuyo

RKOControls

自己创建的一个控件库。每个单独的控件都支持CocoaPods

目录

  1. RKOControl
    1. RKONetworkAlert
    2. RKOTextView
    3. RKOTopAlert
  2. RKOTools
  3. BLOG

RKOControl

  • 版本号命名规则:
    1. 开头的版本号代表组织结构的版本。如果不修改组织结构,该编码不会变化。
    2. 中间的版本号代表库中可用的**组件**数量。
    3. 末尾的版本号代表当前数量下的**修复**版本。

RKONetworkAlert

详细信息见以下地址:RKONetworkAlert

集成:

 pod 'RKONetworkAlert', '~> 1.0.0'

使用:

+ (void)popAlert;

RKOTextView

详细说明请查看以下链接:RKOTextView

集成:

 pod 'RKOTextView', '~> 1.1.1'

基本使用:

// 设置大小位置。
CGRect frame = CGRectMake(15, 250, 340, 100);
    
// 设置样式。
RKOTextView *textViewWithCode = [RKOTextView textViewWithFrame:frame
                                                   placeholder:@"纯代码创建..."
                                                          font:[UIFont systemFontOfSize:18]
                                               limitInputRange:YES
                                                 maxCharacters:50
                                                       maxRows:3];
    
// 需要边框,默认不显示。
textViewWithCode.needBorder = YES;
    
// 添加视图
[self.view addSubview:textViewWithCode];

RKOTopAlert

详细说明请查看以下链接:RKOTopAlert

集成:

 pod 'RKOTopAlert', '~> 1.1.0'

使用:

RKOTopAlert *topAlert = [RKOTopAlert alertViewWithText:@"单独设置提示文字"
                                                 textColor:[UIColor whiteColor]
                                           backgroundColor:[UIColor redColor]
                                             iconImageName:nil
                                                      font:[UIFont systemFontOfSize:15.0f]];
[topAlert alertAppearWithDuration:2.0];

RKOTools

这里推荐一下我自己写的另一个工具库。原来这个控件库和工具库是一个库,后来认为重复了,所以将控件库单独提出。

地址:RKOTools

集成:

 pod 'RKOTools', '~> 1.11.0'

BLOG

我利用课余时间使用HEXO在GitHub上搭建了这个博客。未来部分工具可能会有对应的博客文章。这里也把博客的地址贴出来:

喵喵喵