Commit cfbb8cdc authored by David黄金龙's avatar David黄金龙

消除警告

parent 8a9b7841
This diff is collapsed.
...@@ -135,7 +135,7 @@ private extension YHOtherTextViewItemView { ...@@ -135,7 +135,7 @@ private extension YHOtherTextViewItemView {
make.left.equalTo(16) make.left.equalTo(16)
make.right.equalTo(-12) make.right.equalTo(-12)
} }
tipsLabel.text = kTipsString // tipsLabel.text = kTipsString
...@@ -163,9 +163,9 @@ extension YHOtherTextViewItemView { ...@@ -163,9 +163,9 @@ extension YHOtherTextViewItemView {
func updateUI(title : String,value : String, type : YHOtherTextViewItemType = .unknowAwards) { func updateUI(title : String,value : String, type : YHOtherTextViewItemType = .unknowAwards) {
titleLabel.text = title titleLabel.text = title
myTextView.text = value myTextView.text = value
self.itemType = type itemType = type
if title.count > 0 { if value.count > 0 {
tipsLabel.isHidden = true tipsLabel.isHidden = true
} else { } else {
tipsLabel.isHidden = false tipsLabel.isHidden = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment