{"id":648,"date":"2021-09-17T15:21:20","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/swift.tecc0.com\/?p=648"},"modified":"2021-09-17T15:21:20","modified_gmt":"1970-01-01T00:00:00","slug":"post-648","status":"publish","type":"post","link":"https:\/\/swift.tecc0.com\/?p=648","title":{"rendered":"Swift\u3067UILabel\u306etextColor\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>Swift\u3067UILabel\u306etextColor(\u6587\u5b57\u8272)\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>Swift\u3067UILabel\u306etextColor\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.textColor = UIColor.red \/\/ \u8d64\r\n        label.textColor = UIColor.blue \/\/ \u9752\r\n        label.textColor = UIColor.white \/\/ \u767d\r\n    }\r\n}<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067UILabel\u306etextColor\u3092\u5909\u66f4\u3067\u304d\u308b\u3088\u3002<\/p>\n<p>\u8272\u306b\u3064\u3044\u3066\u306f\u4eca\u56deUIColor\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u8272\u3092\u4f7f\u3063\u3066\u3044\u308b\u3051\u3069\u3001\u81ea\u5206\u306e\u597d\u304d\u306a\u8272\u3092\u3082\u3061\u308d\u3093\u8a2d\u5b9a\u3067\u304d\u308b\u3088\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Swift\u3067UILabel\u306etextColor(\u6587\u5b57\u8272)\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002 &nbsp; Swift\u3067UILabel\u306etextColor\u3092\u5909\u66f4\u3059\u308b import UIKit class ViewController: &#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\/648"}],"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=648"}],"version-history":[{"count":1,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/648\/revisions"}],"predecessor-version":[{"id":649,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/648\/revisions\/649"}],"wp:attachment":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=648"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=648"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=648"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}