PlaceholderTextView 0.3.0

PlaceholderTextView 0.3.0

测试已测试
语言语言 SwiftSwift
许可协议 MIT
发布最后发布2018年12月
SPM支持SPM

cheebow维护。



PlaceholderTextView

CI Status Version License Platform

用法

要运行示例项目,请克隆存储库,然后首先在Example目录中运行pod install

let placeholderTextView = PlaceholderTextView()
let frame = CGRect(x: 0.0, y: 64.0, width: view.bounds.width, height: 300.0)
placeholderTextView.frame = frame
placeholderTextView.placeholder = "Placeholder Text"
placeholderTextView.placeholderColor = UIColor.lightGray
self.view.addSubview(placeholderTextView)

要求

  • Swift 4.2+

安装

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

pod "PlaceholderTextView"

作者

CHEEBOW,[email protected]

授权

PlaceholderTextView遵循MIT许可。有关更多信息,请参阅LICENSE文件。