{"id":644,"date":"2021-09-17T15:21:20","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/swift.tecc0.com\/?p=644"},"modified":"2021-09-17T15:21:20","modified_gmt":"1970-01-01T00:00:00","slug":"post-644","status":"publish","type":"post","link":"https:\/\/swift.tecc0.com\/?p=644","title":{"rendered":"Swift\u3067UILabel\u306etext\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>iOS\u306e\u958b\u767a\u3067\u306f\u983b\u7e41\u306b<strong>Label(\u30e9\u30d9\u30eb)<\/strong>\u3092\u4f7f\u3046\u3088\u3002<\/p>\n<p>\u57fa\u672c\u7684\u306aLabel\u306eText\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002<\/p>\n<p>&nbsp;<\/p>\n<h3>Swift\u3067UILabel\u306etext\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.text = \"\u3078\u3093\u3053\u3046\uff01\"\r\n    }\r\n}<\/pre>\n<p>\u3053\u3093\u306a\u611f\u3058\u3067\u3001<strong>.text = &#8220;\u5909\u66f4\u3057\u305f\u3044\u6587\u5b57\u5217&#8221;<\/strong> \u3067\u5909\u66f4\u3067\u304d\u308b\u3088\u3002<\/p>\n<p>\u30ab\u30f3\u30bf\u30f3\u3060\u306d\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>iOS\u306e\u958b\u767a\u3067\u306f\u983b\u7e41\u306bLabel(\u30e9\u30d9\u30eb)\u3092\u4f7f\u3046\u3088\u3002 \u57fa\u672c\u7684\u306aLabel\u306eText\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u3060\u3088\u3002 &nbsp; Swift\u3067UILabel\u306etext\u3092\u5909\u66f4\u3059\u308b import UIKit class ViewCont&#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\/644"}],"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=644"}],"version-history":[{"count":1,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/644\/revisions"}],"predecessor-version":[{"id":645,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/644\/revisions\/645"}],"wp:attachment":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=644"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=644"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=644"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}