{"id":650,"date":"2021-09-17T15:21:20","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/swift.tecc0.com\/?p=650"},"modified":"2021-09-17T15:21:20","modified_gmt":"1970-01-01T00:00:00","slug":"post-650","status":"publish","type":"post","link":"https:\/\/swift.tecc0.com\/?p=650","title":{"rendered":"Swift\u3067UILabel\u306e\u80cc\u666f\u8272(backgroundColor)\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><strong>UILabel<\/strong>\u306e<strong>\u80cc\u666f\u8272(backgroundColor)<\/strong>\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002<\/p>\n<p>\u7279\u306b\u96e3\u3057\u3044\u3053\u3068\u3082\u306a\u3044\u306e\u3067\u65e9\u901f\u30b3\u30fc\u30c9\u3060\u3088\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>Swift\u3067UILabel\u306e\u80cc\u666f\u8272(backgroundColor)\u3092\u5909\u66f4\u3059\u308b<\/h3>\n<pre class=\"lang:swift decode:true\">import UIKit\r\n\r\nclass ViewController: UIViewController {\r\n\r\n    @IBOutlet weak var label: UILabel!\r\n    \r\n    override func viewDidLoad() {\r\n        super.viewDidLoad()\r\n        label.backgroundColor = UIColor.red \/\/ \u8d64\r\n        label.backgroundColor = UIColor.blue \/\/ \u9752\r\n        label.backgroundColor = UIColor.white \/\/ \u767d\r\n    }\r\n}<\/pre>\n<p><strong>backgroundColor = \u8272<\/strong> \u3067\u5909\u66f4\u3067\u304d\u308b\u3088\u3002<\/p>\n<p>\u898b\u305f\u307e\u3093\u307e\u306a\u306e\u3067\u4eca\u56de\u306f\u3053\u308c\u304f\u3089\u3044\u3067\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>UILabel\u306e\u80cc\u666f\u8272(backgroundColor)\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002 \u7279\u306b\u96e3\u3057\u3044\u3053\u3068\u3082\u306a\u3044\u306e\u3067\u65e9\u901f\u30b3\u30fc\u30c9\u3060\u3088\u3002 &nbsp; Swift\u3067UILabel\u306e\u80cc\u666f\u8272(backgroundColor)\u3092\u5909\u66f4\u3059\u308b imp&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/650"}],"collection":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=650"}],"version-history":[{"count":1,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/650\/revisions"}],"predecessor-version":[{"id":651,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/650\/revisions\/651"}],"wp:attachment":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=650"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=650"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}