Format code with SwiftFormat automatically in every build
This commit is contained in:
parent
f167ab7549
commit
7f9f0e43b2
100 changed files with 1124 additions and 1063 deletions
|
|
@ -9,17 +9,16 @@
|
|||
import UIKit
|
||||
|
||||
class TextViewTableViewCell: UITableViewCell, ContentProvider {
|
||||
@IBOutlet var contentTextView: UITextView!
|
||||
|
||||
@IBOutlet weak var contentTextView: UITextView!
|
||||
|
||||
override func awakeFromNib() {
|
||||
super.awakeFromNib()
|
||||
self.contentTextView.textContainer.lineFragmentPadding = 0
|
||||
self.contentTextView.textContainerInset = .zero
|
||||
contentTextView.textContainer.lineFragmentPadding = 0
|
||||
contentTextView.textContainerInset = .zero
|
||||
}
|
||||
|
||||
func getContent() -> String? {
|
||||
return contentTextView.text
|
||||
contentTextView.text
|
||||
}
|
||||
|
||||
func setContent(content: String?) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue