{"id":12,"date":"2021-09-17T15:23:55","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"http:\/\/swift.tecc0.com\/?p=12"},"modified":"2021-09-17T15:23:55","modified_gmt":"1970-01-01T00:00:00","slug":"post-12","status":"publish","type":"post","link":"https:\/\/swift.tecc0.com\/?p=12","title":{"rendered":"Swift\u3067\u306e\u30e1\u30bd\u30c3\u30c9\u5b9a\u7fa9\u306e\u66f8\u304d\u65b9"},"content":{"rendered":"<p>\u3044\u304f\u3064\u304b\u306b\u5206\u3051\u3066\u66f8\u3044\u3066\u307f\u308b\u3088\u3002<\/p>\n<h3>Swift\u30e1\u30bd\u30c3\u30c9(\u5f15\u6570\u306a\u3057\u3001\u623b\u308a\u5024\u306a\u3057)\u306e\u66f8\u304d\u65b9<\/h3>\n<pre class=\"toolbar-overlay:false lang:swift decode:true\">class Say {\n    func hello() {\n        print(\"Hello!!\")\n    }\n}\n\nlet say = Say()\nsay.hello() \/\/ \"Hello!!\"<\/pre>\n<h3>Swift\u30e1\u30bd\u30c3\u30c9(\u5f15\u6570\u3042\u308a\u3001\u623b\u308a\u5024\u306a\u3057)\u306e\u66f8\u304d\u65b9<\/h3>\n<pre class=\"lang:swift decode:true  \">class Say {\n    func something(word: String) {\n        print(word)\n    }\n}\n\nlet say = Say()\nsay.something(word: \"Yeah!!\") \/\/ \"Yeah!!\"<\/pre>\n<h3>Swift\u30e1\u30bd\u30c3\u30c9(\u5f15\u6570\u306a\u3057\u3001\u623b\u308a\u5024\u3042\u308a)\u306e\u66f8\u304d\u65b9<\/h3>\n<pre class=\"lang:swift decode:true \">class Say {\n    let word = \"Hey!!\"\n    \n    func getWord() -&gt; String {\n        return self.word\n    }\n}\n\nlet say = Say()\nlet word = say.getWord()\nprint(word) \/\/ \"Hey!!\"<\/pre>\n<h3>Swift\u306e\u30af\u30e9\u30b9\u30e1\u30bd\u30c3\u30c9\u306e\u66f8\u304d\u65b9<\/h3>\n<pre class=\"lang:default decode:true\">class Say {\n    static func test() {\n        print(\"Test!!\")\n    }\n}\n\nSay.test() \/\/ \"Test!!\"<\/pre>\n<p>\u3042\u3068\u306f\u3053\u308c\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3044\u308d\u3044\u308d\u3067\u304d\u308b\u3088\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3044\u304f\u3064\u304b\u306b\u5206\u3051\u3066\u66f8\u3044\u3066\u307f\u308b\u3088\u3002 Swift\u30e1\u30bd\u30c3\u30c9(\u5f15\u6570\u306a\u3057\u3001\u623b\u308a\u5024\u306a\u3057)\u306e\u66f8\u304d\u65b9 class Say { func hello() { print(&#8220;Hello!!&#8221;) } } let say = Say() say&#8230;.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[17],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/12"}],"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=12"}],"version-history":[{"count":6,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions"}],"predecessor-version":[{"id":752,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=\/wp\/v2\/posts\/12\/revisions\/752"}],"wp:attachment":[{"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=12"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swift.tecc0.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}