{"id":1440,"date":"2017-12-29T11:20:09","date_gmt":"2017-12-29T02:20:09","guid":{"rendered":"http:\/\/blue-bear.jp\/kb\/?p=1440"},"modified":"2017-12-30T11:46:48","modified_gmt":"2017-12-30T02:46:48","slug":"swift4-%e7%89%b9%e5%ae%9a%e3%81%aetableview%e3%81%aecell%e3%81%a0%e3%81%91%e9%81%b8%e6%8a%9e%e4%b8%8d%e5%8f%af%e3%81%ab%e3%81%97%e3%81%9f%e3%81%84","status":"publish","type":"post","link":"https:\/\/blue-bear.jp\/kb\/swift4-%e7%89%b9%e5%ae%9a%e3%81%aetableview%e3%81%aecell%e3%81%a0%e3%81%91%e9%81%b8%e6%8a%9e%e4%b8%8d%e5%8f%af%e3%81%ab%e3%81%97%e3%81%9f%e3%81%84\/","title":{"rendered":"[swift4] \u7279\u5b9a\u306eTableView\u306eCell\u3060\u3051\u9078\u629e\u4e0d\u53ef\u306b\u3057\u305f\u3044"},"content":{"rendered":"<p>\u7279\u5b9a\u306eTableView\u306eCell\u3060\u3051\u9078\u629e\u4e0d\u53ef\u306b\u3057\u305f\u3044\u6642\u306f\u3001\u30bb\u30eb\u306bUITableViewCellSelectionStyle.none\u3092\u6307\u5b9a\u3059\u308b<\/p>\n<pre class=\"lang:default decode:true \">\r\nfunc tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {\r\n\r\n let cell : UITableViewCell = tableView.dequeueReusableCellWithIdentifier(\"Cell\", forIndexPath:indexPath)\r\n if indexPath.row == 1 {\r\n \/\/ \u30bb\u30eb\u306e\u9078\u629e\u4e0d\u53ef\u306b\u3059\u308b\r\n cell.selectionStyle = UITableViewCellSelectionStyle.none\r\n } else {\r\n \/\/ \u30bb\u30eb\u306e\u9078\u629e\u3092\u8a31\u53ef\r\n cell.selectionStyle = UITableViewCellSelectionStyle.blue\r\n }\r\n\r\n return cell\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u7279\u5b9a\u306eTableView\u306eCell\u3060\u3051\u9078<\/p>\n","protected":false},"author":1,"featured_media":88,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/1440"}],"collection":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/comments?post=1440"}],"version-history":[{"count":2,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/1440\/revisions"}],"predecessor-version":[{"id":1469,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/posts\/1440\/revisions\/1469"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/media\/88"}],"wp:attachment":[{"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/media?parent=1440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/categories?post=1440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blue-bear.jp\/kb\/wp-json\/wp\/v2\/tags?post=1440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}