{"id":690,"date":"2018-02-16T20:27:00","date_gmt":"2018-02-16T11:27:00","guid":{"rendered":"https:\/\/sparrow9630.net\/?p=690"},"modified":"2018-02-16T20:27:00","modified_gmt":"2018-02-16T11:27:00","slug":"if%e6%96%87%e3%81%ae%e3%81%a4%e3%81%8b%e3%81%84%e3%81%8b%e3%81%9f%e3%82%92%e8%a6%9a%e3%81%88%e3%82%88%e3%81%86","status":"publish","type":"post","link":"https:\/\/sparrow9630.net\/?p=690","title":{"rendered":"If\u6587\u306e\u3064\u304b\u3044\u304b\u305f\u3092\u899a\u3048\u3088\u3046"},"content":{"rendered":"<h4><font color=\"#0000ff\">\u6761\u4ef6\u3092\u6307\u5b9a\u3057\u3066\u30eb\u30fc\u30c8\u3092\u8ffd\u52a0\uff01<\/font><\/h4>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u30d7\u30ed\u30b0\u30e9\u30e0\u306f\u4e0a\u304b\u3089\u9806\u756a\u306b\u5b9f\u884c\u3055\u308c\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">if<\/span>\u6587\u3092\u4f7f\u3063\u305f\u6761\u4ef6\u3092\u8ffd\u52a0\u3059\u308b\u3068\u3001<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u6761\u4ef6\u3092\u6e80\u305f\u3057\u305f\u5834\u5408\uff08<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">ture<\/span>\uff09\u306b\u5b9f\u884c\u3055\u308c\u308b\u30eb\u30fc\u30c8\u304c\u751f\u307e\u308c\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u6761\u4ef6\u3092\u6e80\u305f\u3057\u3066\u306a\u3044\u5834\u5408\uff08<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">false<\/span>\uff09\u306e\u5834\u5408\u306f\u305d\u306e\u307e\u307e\u6b21\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u51e6\u7406\u304c\u6d41\u308c\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> = 100<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/span> = 100<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">if <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> == <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/span> {<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">&nbsp; &nbsp; print<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u540c\u3058\u4fa1\u683c<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">)<\/span><\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">}<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#7f7f7f\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>(<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span><\/font><font color=\"#454545\">)<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u7d50\u679c\u304c\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">ture<\/span>\u300d\u306a\u306e\u3067\u3001<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">{&nbsp; }<\/span>\u306e\u4e2d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u305d\u306e\u5f8c\u306b\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>(<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86\u201d)\u300d<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u304c\u5b9f\u884c\u3055\u308c\u3001\u8868\u793a\u306f<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><b>\u540c\u3058\u4fa1\u683c<\/b><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><b>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<\/b><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u3068\u306a\u308b\u3002<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">==<\/span>\u300d\u3092\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">!=<\/span>\u300d\u306b\u5909\u66f4\u3059\u308b\u3068\u3001<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><span style=\"color: rgb(69, 69, 69);\">l<\/span><font color=\"#7f7f7f\">et <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> = 100<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">let <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/span> = 100<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">if <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u308a\u3093\u3054<\/span> != <span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u307f\u304b\u3093<\/span> {<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">&nbsp; &nbsp; print<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">(<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">\u540c\u3058\u4fa1\u683c<\/span>&#8220;<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\">)<\/span><\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\"><font color=\"#7f7f7f\">}<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;;\"><font color=\"#7f7f7f\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">print<\/span>(<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">&#8220;<\/span>)<\/font><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u6761\u4ef6\u5f0f\u306e\u7d50\u679c\u306f\u300c<span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">false<\/span>\u300d\u306b\u306a\u308b\u306e\u3067\u3001<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><span style=\"font-stretch: normal; line-height: normal; font-family: &quot;Helvetica Neue&quot;;\">{&nbsp; }<\/span>\u306e\u4e2d\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5b9f\u884c\u3055\u308c\u305a\u3001<\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\"><b>\u30d7\u30ed\u30b0\u30e9\u30e0\u7d42\u4e86<\/b><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;Helvetica Neue&quot;; color: rgb(69, 69, 69); min-height: 14px;\"><\/p>\n<p><\/p>\n<p style=\"font-stretch: normal; font-size: 12px; line-height: normal; font-family: &quot;.Hiragino Kaku Gothic Interface&quot;; color: rgb(69, 69, 69);\">\u3060\u3051\u306e\u8868\u793a\u306b\u306a\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jin_ogp_image_url":"","_jin_last_featured_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[72],"tags":[],"class_list":["post-690","post","type-post","status-publish","format-standard","hentry","category-swift"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":691,"url":"https:\/\/sparrow9630.net\/?p=691","url_meta":{"origin":690,"position":0},"title":"else\u6587\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-18","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":693,"url":"https:\/\/sparrow9630.net\/?p=693","url_meta":{"origin":690,"position":1},"title":"else If\u5206\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-18","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":946,"url":"https:\/\/sparrow9630.net\/?p=946","url_meta":{"origin":690,"position":2},"title":"switch\u6587\u306e\u4fbf\u5229\u306a\u4f7f\u3044\u65b9","author":"sparrow9630","date":"2018-02-24","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":109,"url":"https:\/\/sparrow9630.net\/?p=109","url_meta":{"origin":690,"position":3},"title":"if\u6587","author":"sparrow9630","date":"2014-09-22","format":false,"excerpt":"","rel":"","context":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","block_context":{"text":"iOS\u30a2\u30d7\u30ea\u4f5c\u6210\u3000ACT1","link":"https:\/\/sparrow9630.net\/?cat=9"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":956,"url":"https:\/\/sparrow9630.net\/?p=956","url_meta":{"origin":690,"position":4},"title":"Swift\u8d85\u5165\u9580\u306e\u307e\u3068\u3081","author":"sparrow9630","date":"2018-03-04","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":696,"url":"https:\/\/sparrow9630.net\/?p=696","url_meta":{"origin":690,"position":5},"title":"switch\u6587\u306e\u4f7f\u3044\u65b9\u3092\u899a\u3048\u3088\u3046","author":"sparrow9630","date":"2018-02-20","format":false,"excerpt":"","rel":"","context":"Swift\u8d85\u5165\u9580","block_context":{"text":"Swift\u8d85\u5165\u9580","link":"https:\/\/sparrow9630.net\/?cat=72"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/690","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=690"}],"version-history":[{"count":0,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=\/wp\/v2\/posts\/690\/revisions"}],"wp:attachment":[{"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=690"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=690"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sparrow9630.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=690"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}