From a82fadcadf3eddce8c36d841bf98085a5cc528d8 Mon Sep 17 00:00:00 2001 From: Yongha Yoo Date: Wed, 19 Oct 2016 19:44:16 +0900 Subject: [PATCH] Fix warnings --- Sources/KRWordWrapLabel.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Sources/KRWordWrapLabel.swift b/Sources/KRWordWrapLabel.swift index a273c30..5daeede 100644 --- a/Sources/KRWordWrapLabel.swift +++ b/Sources/KRWordWrapLabel.swift @@ -16,11 +16,11 @@ import UIKit override open var font: UIFont! { didSet { self.updateWords() } } override open var textColor: UIColor! { didSet { self.updateWords() } } - @IBInspectable open var lineSpace: CGFloat = 0 { didSet { self.updateWordLayout() } } + @IBInspectable open var lineSpace: CGFloat = 0 { didSet { _ = self.updateWordLayout() } } - override open var bounds: CGRect { didSet { self.updateWordLayout() } } - override open var numberOfLines: Int { didSet { self.updateWordLayout() } } - override open var textAlignment: NSTextAlignment { didSet { self.updateWordLayout() } } + override open var bounds: CGRect { didSet { _ = self.updateWordLayout() } } + override open var numberOfLines: Int { didSet { _ = self.updateWordLayout() } } + override open var textAlignment: NSTextAlignment { didSet { _ = self.updateWordLayout() } } fileprivate var intrinsicSize: CGSize = CGSize.zero