To run the example project, clone the repo, and run pod install
from the Example directory first.
KWTextStyleLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "KWTextStyleLabel"
import KWTextStyleLabel
@IBOutlet weak var label: KWTextStyleLabel!
label.characterSpacing = 3
label.lineGap = 10
label.text = "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
let label = KWTextStyleLabel(characterSpacing: 5, lineGap: 25, text: "Lorem Ipsum")
label.frame = CGRect(x: 8, y: 0, width: 296, height: 122)
view.addSubview(label)
KWTextStyleLabel()
KWTextStyleLabel(characterSpacing: <CGFloat>)
KWTextStyleLabel(lineGap: <CGFloat>)
KWTextStyleLabel(text: <String>)
KWTextStyleLabel(characterSpacing: <CGFloat>, lineGap: <CGFloat>)
KWTextStyleLabel(lineGap: <CGFloat>, text: <String>)
KWTextStyleLabel(characterSpacing: <CGFloat>, text: <String>)
KeepWorks, ios@keepworks.com
KWTextStyleLabel is owned and maintained by the KeepWorks.
Bug reports and pull requests are welcome on GitHub at https://github.com/keepworks/KWTextStyleLabel.
KWTextStyleLabel is available under the MIT License. See the License file for more info.