{"id":388,"date":"2017-06-15T23:43:19","date_gmt":"2017-06-15T14:43:19","guid":{"rendered":"https:\/\/do-gugan.com\/swift\/?p=388"},"modified":"2017-06-16T00:00:36","modified_gmt":"2017-06-15T15:00:36","slug":"%e9%85%8d%e5%88%97-1-%e6%83%85%e5%a0%b1%e3%82%92%e3%81%be%e3%81%a8%e3%82%81%e3%81%a6%e4%bf%9d%e5%ad%98","status":"publish","type":"post","link":"https:\/\/do-gugan.com\/swift\/?p=388","title":{"rendered":"\u914d\u5217 1. \u60c5\u5831\u3092\u307e\u3068\u3081\u3066\u4fdd\u5b58"},"content":{"rendered":"<p>\u914d\u5217\u3068\u306f\u5909\u6570\u306e\u4e00\u7a2e\u3067\u3059\u304c\u3001\u4e2d\u306b\u4ed5\u5207\u308a\u304c\u3042\u3063\u3066\u305d\u308c\u305e\u308c\u306e\u90e8\u5c4b\u306b\u901a\u3057\u756a\u53f7\u304c\u3064\u3044\u3066\u3044\u308b\u3082\u306e\u3092\u60f3\u50cf\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ed5\u5207\u308a\u304c\u3042\u308b\u306e\u3067\u4e2d\u306b\u8907\u6570\u306e\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u683c\u7d0d\u3057\u3064\u3064\u3001\u5168\u4f53\u3092\u3072\u3068\u307e\u3068\u307e\u308a\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u4e2d\u8eab\u3092\u901a\u3057\u756a\u53f7\u3067\u6307\u5b9a\u3067\u304d\u308b\u306e\u3067\u30eb\u30fc\u30d7\u3068\u975e\u5e38\u306b\u76f8\u6027\u304c\u826f\u3044\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<br \/>\n\u51fa\u984c\u6587\u901a\u308a\u3001\u307e\u305a\u306f\u305d\u306e\u307e\u307e\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u30024\u4f53\u306e\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u304c\u51fa\u73fe\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u6700\u5f8c\u306e\u884c\u306b\u3042\u308b<\/p>\n<pre class=\"lang:swift decode:true \" >placeCharacters(at:rows)<\/pre>\n<p>\u304crows\u3068\u3044\u3046\u914d\u5217\u5909\u6570\u306e\u4e2d\u306e\u3072\u3068\u3064\u3072\u3068\u3064\u306e\u6570\u5b57\u3092\u5ea7\u6a19\u306b\u3057\u3066\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u3092\u4e26\u3079\u3066\u304f\u308c\u307e\u3059\u3002placeCharacters\u30b3\u30de\u30f3\u30c9\u306b\u3064\u3044\u3066\u306f\u3042\u307e\u308a\u6df1\u304f\u8003\u3048\u308b\u5fc5\u8981\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3068\u3082\u304b\u304frows\u306e\u4e2d\u306b0\u304c\u5165\u3063\u3066\u3044\u305f\u3089(0,0)\u306b\u30011\u304c\u3042\u308c\u3070(0,1)\u306b\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u304c\u51fa\u308b\u3068\u601d\u3063\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3055\u3066\u3001\u6700\u521d\u306e\u72b6\u614b\u3067\u306f\u30014\u4f53\u3057\u304b\u51fa\u3066\u304d\u307e\u305b\u3093\u3002\u7a7a\u3044\u305f\u30b3\u30de\u304c2\u3064\u3042\u308a\u307e\u3059\u3002(0,2\uff09\u3068(0,6\uff09\u3067\u3059\u306d\u3002\u9006\u306b\u3044\u3046\u3068\u3001(0,0)\u3001(0,1)\u3001(0,3)\u3001(0,4)\u306b\u51fa\u73fe\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u308c\u304c\u305d\u306e\u307e\u307e\u5148\u982d\u884c\u306e<\/p>\n<pre class=\"lang:swift decode:true \" >\r\nlet columns = [0, 1, 3, 4]\r\n<\/pre>\n<p>\u304b\u3089\u6765\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002\u8db3\u308a\u306a\u3044\u6570\u5b57\u3092\u8ffd\u52a0\u3057\u3066\u3084\u308a\u307e\u3057\u3087\u3046\u3002\u6570\u5b57\u3068\u6570\u5b57\u306f\u534a\u89d2\u30ab\u30f3\u30de\u3067\u533a\u5207\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"lang:swift decode:true \" >\r\n\/\/ Add any missing rows to your array.\r\n\/\/\uff08\u914d\u5217\u306b\u8db3\u308a\u306a\u3044\u884c\u3092\u8db3\u3057\u3066\u304f\u3060\u3055\u3044\uff09\r\nvar rows = [0, 1, 2, 3, 4, 5]\r\n\r\n\/\/ Places a Character on each row in rows.\r\n\/\/(rows\u306e\u4e2d\u306e\u305d\u308c\u305e\u308c\u306e\u884c\u306bCharacter\u3092\u914d\u7f6e\u3057\u3066\u304f\u3060\u3055\u3044)\r\nplaceCharacters(at: rows)\r\n<\/pre>\n<p>\uff08\u6a19\u6e96\u306e\u5404\u82f1\u6587\u30b3\u30e1\u30f3\u30c8\u306e\u5f8c\u308d\u306b\u8a33\u3092\u5165\u308c\u3066\u3042\u308a\u307e\u3059\uff09<\/p>\n<script type=\"text\/javascript\">amzn_assoc_ad_type =\"responsive_search_widget\"; amzn_assoc_tracking_id =\"doguganprojec-22\"; amzn_assoc_marketplace =\"amazon\"; amzn_assoc_region =\"JP\"; amzn_assoc_placement =\"\"; amzn_assoc_search_type = \"search_widget\";amzn_assoc_width =\"500\"; amzn_assoc_height =\"400\"; amzn_assoc_default_search_category =\"\"; amzn_assoc_default_search_key =\"iPad\";amzn_assoc_theme =\"light\"; amzn_assoc_bg_color =\"FFFFFF\"; <\/script><script src=\"\/\/z-fe.amazon-adsystem.com\/widgets\/q?ServiceVersion=20070822&Operation=GetScript&ID=OneJS&WS=1&Marketplace=JP\"><\/script>","protected":false},"excerpt":{"rendered":"<p>\u914d\u5217\u3068\u306f\u5909\u6570\u306e\u4e00\u7a2e\u3067\u3059\u304c\u3001\u4e2d\u306b\u4ed5\u5207\u308a\u304c\u3042\u3063\u3066\u305d\u308c\u305e\u308c\u306e\u90e8\u5c4b\u306b\u901a\u3057\u756a\u53f7\u304c\u3064\u3044\u3066\u3044\u308b\u3082\u306e\u3092\u60f3\u50cf\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4ed5\u5207\u308a\u304c\u3042\u308b\u306e\u3067\u4e2d\u306b\u8907\u6570\u306e\u5024\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u683c\u7d0d\u3057\u3064\u3064\u3001\u5168\u4f53\u3092\u3072\u3068\u307e\u3068\u307e\u308a\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u4e2d\u8eab\u3092\u901a\u3057\u756a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/do-gugan.com\/swift\/?p=388\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u914d\u5217 1. \u60c5\u5831\u3092\u307e\u3068\u3081\u3066\u4fdd\u5b58&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,17],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-learncode2","category-array"],"_links":{"self":[{"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=388"}],"version-history":[{"count":3,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=\/wp\/v2\/posts\/388\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/do-gugan.com\/swift\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}