Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
inkyfox committed Oct 19, 2016
1 parent 6cf9352 commit a82fadc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/KRWordWrapLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a82fadc

Please sign in to comment.