APLTextView 0.0.4

APLTextView 0.0.4

测试已测试
语言语言 Obj-CObjective C
许可证 MIT
发布日期最后发布2015年5月

由以下人员维护:Tino RachuicgMathias KöhnkeMichael KamphausenMathias KoehnkeNico SchümannHeiko WichmannStephan LernerFamara Kassama



  • Michael Kamphausen 和 Tino Rachui 编写

一个文本视图,允许设置 placeholder 文本,就像 UILabel 一样。此外,您还可以设置最大字符数。在这种情况下,文本视图只接受指定的字符数作为输入。用户能够输入的剩余字符数将在文本视图的右下角显示。

安装

用法

导入头文件

#import "APLTextView.h"

像这样使用 APLTextView

...
APLTextView *textView = ...
textView.placeholder = @"Placeholder to be displayed unless some text has been entered";
textView.maxCharacters = 100;