{"blog_url":"https://ofsilvers.hateblo.jp/","url":"https://ofsilvers.hateblo.jp/entry/uilabel-with-stroke","author_url":"https://blog.hatena.ne.jp/ofsilvers/","height":"190","blog_title":"\u3057\u308b\u3066\u304f","title":"storyboard \u3067 UILabel \u3092\u888b\u6587\u5b57\u306b\u3059\u308b","published":"2015-06-03 14:50:47","author_name":"ofsilvers","image_url":null,"description":"\u888b\u6587\u5b57\u3092\u4f7f\u3044\u305f\u3044\u75c5\u306b\u306a\u3063\u305f\u3002 UIStrokeLabel\u307f\u305f\u3044\u306a\u611f\u3058\u3067\u30af\u30e9\u30b9\u4f5c\u3063\u3066\u304a\u304f\u3002 import Foundation import UIKit @IBDesignable class UIDecorationLabel: UILabel { @IBInspectable var strokeSize: CGFloat = 0 @IBInspectable var strokeColor: UIColor = UIColor.clearColor() override func drawTextInRect(rect: CGRect) { // stroke let cr = UIGra\u2026","provider_name":"Hatena Blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fofsilvers.hateblo.jp%2Fentry%2Fuilabel-with-stroke\" title=\"storyboard \u3067 UILabel \u3092\u888b\u6587\u5b57\u306b\u3059\u308b - \u3057\u308b\u3066\u304f\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","type":"rich","provider_url":"https://hatena.blog","categories":["swift","storyboard"],"version":"1.0"}