{"id":4667,"date":"2016-09-22T10:00:57","date_gmt":"2016-09-22T01:00:57","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=4667"},"modified":"2016-09-26T12:45:10","modified_gmt":"2016-09-26T03:45:10","slug":"%e6%96%b0%e4%ba%ba%e5%a5%ae%e9%97%98%e8%a8%9814","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/4667","title":{"rendered":"\u65b0\u4eba\u596e\u95d8\u8a1814"},"content":{"rendered":"<h3>iOS \u5165\u9580<\/h3>\n<p>\u3042\u307e\u308a\u898b\u6163\u308c\u306a\u304b\u3063\u305fSwift\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<!--more--><\/p>\n<p>\u4f4d\u5730\u60c5\u5831\u306e\u53d6\u5f97\u51e6\u7406\u306e\u5b9f\u88c5\u6642\u3001\u30e6\u30fc\u30b6\u30fc\u306e\u8a8d\u8a3c\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u30bd\u30fc\u30b9\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u521d\u5fc3\u8005\u306e\u81ea\u5206\u7684\u306b\u306f\u3001\u306a\u3093\u3068\u306a\u304f\u3057\u304b\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001\u5c11\u3057\u30d4\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30bd\u30fc\u30b9<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-4671 size-full\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2016\/09\/funtouki14_1.png\" alt=\"funtouki14_1\" width=\"787\" height=\"147\" \/><\/p>\n<p>\u3069\u3053\u304c\u3001\u898b\u6163\u308c\u306a\u304b\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u4e0a\u8a1889\u884c\u76ee\u306e\u3001case\u306b\u7d9a\u304f.AuthorizedWhenInUse\u3084<br \/>\n.NotDetermined\u3068\u3044\u3063\u305f\u66f8\u304d\u65b9\u3067\u3059\u3002\u30c9\u30c3\u30c8\u304b\u3089\u59cb\u307e\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u7406\u89e3\u3059\u308b\u307e\u3067\u306f\u3075\u3093\u308f\u308a\u3068\u30c9\u30c3\u30c8\u306e\u524d\u306b\u30af\u30e9\u30b9\u540d\u3068\u304b\u3001\u305d\u3046\u3044\u3063\u305f\u985e\u306e\u3082\u306e\u304c\u3042\u3063\u3066\u3001\u7701\u7565\u3057\u3066\u3044\u308b\u306e\u3060\u308d\u3046\u3068\u63a8\u6e2c\u3057\u3066\u3001\u30b9\u30eb\u30fc\u3057\u3066\u304a\u308a\u307e\u3057\u305f\u304c\u3002\u898b\u304b\u3051\u308b\u983b\u5ea6\u304c\u9ad8\u304f\u306a\u308b\u306b\u3064\u308c\u3066\u3001\u898b\u9003\u305b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d50\u8ad6\u304b\u3089\u3044\u3046\u3068\u3001\u5217\u6319\u578b\u3068\u3044\u3046\u3082\u306e\u304c\u95a2\u4fc2\u3057\u3066\u304a\u308a\u3001\u8907\u6570\u306e\u5024\u3084\u30e1\u30bd\u30c3\u30c9\u3092\u307e\u3068\u3081\u305f\u96c6\u5408\u4f53\u3067\u3059\u3002<\/p>\n<p>\u679c\u7269\u306e\u96c6\u5408\u306e\u4f8b\u3092\u8868\u3057\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" class=\"size-full wp-image-4672 aligncenter\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2016\/09\/funtouki14-_2.png\" alt=\"funtouki14-_2\" width=\"128\" height=\"69\" \/><br \/>\n\u4e0a\u306e\u3088\u3046\u306b\u5ba3\u8a00\u3057<br \/>\nFruit.apple\u3068\u3057\u3066\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u304c\u3001case\u306e\u5f8c\u306eapple\u3084greap\u306f\u6587\u5b57\u5217\u3060\u304b\u3089\u3001\u4e8c\u91cd\u5f15\u7528\u7b26\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3068\u601d\u3044\u307e\u3057\u305f\u304c\u3001\u305d\u308c\u306fString\u578b\u306e\u4e8b\u3067\u3042\u308a\u3001\u8a66\u3057\u306b\u3001<br \/>\nFruit.apple.dynamicType\u3068\u5b9f\u884c\u3057\u3066\u307f\u308b\u3068\u3001\u660e\u3089\u304b\u306bFruit\u3068\u51fa\u529b\u3055\u308c\u307e\u3059\u3002Fruit\u578b\u306eapple\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5ba3\u8a00\u3057\u305f\u3068\u3044\u3046\u610f\u5473\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3067\u306f\u5b9f\u969b\u306e\u5024\u306f\u3069\u3046\u306a\u308b\u306e\u304b\u3068\u3044\u3046\u3068\u3053\u308d\u3067\u3001\u4ee5\u4e0b\u3092\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n<p><strong>\u2460<\/strong> Fruit.apple.hashValue<br \/>\n<strong>\u2461<\/strong> Fruit.apple.hashValue.dynamicType<br \/>\n<strong>\u2462<\/strong>\u00a0Fruit.lemon.hashValue<br \/>\n<strong>[\u7d50\u679c]<\/strong><br \/>\n<strong>\u2460<\/strong> 0<br \/>\n<strong>\u2461<\/strong> Int.Type<br \/>\n<strong>\u2462<\/strong> 2<\/p>\n<p>\u4ee5\u4e0a\u306e\u7d50\u679c\u304b\u3089case\u306e\u5f8c\u306b\u5ba3\u8a00\u3057\u305f\u3001apple\u3084grape\u306fInt\u578b\u3067\uff10\u304b\u3089\u81ea\u52d5\u7684\u306b\u5272\u308a\u3075\u3089\u308c\u3066\u3044\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u3061\u306a\u307f\u306b<strong>hashValue<\/strong>\u3068\u3044\u3046\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u5b9f\u969b\u306eapple\u3084grape\u306b\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u308b\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>Fruit.apple\u3067\u306f\u3001apple\u3084grape \u3068\u3044\u3046\u5909\u6570\u3092\u4f5c\u3063\u305f\u3060\u3051\u3058\u3083\u306a\u3044\u304b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u5b9f\u969b\u306e\u4e2d\u8eab\u304c\u6c17\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u3084\u306f\u308a\u305d\u3046\u3044\u3063\u305f\u4f7f\u3044\u65b9\u304c\u3042\u308a\u307e\u3057\u305f\u3002\u305d\u308c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u5ba3\u8a00\u3067\u3059\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-4673\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2016\/09\/funtouki14_3.png\" alt=\"funtouki14_3\" width=\"195\" height=\"69\" \/><\/p>\n<p>\u5148\u307b\u3069\u3068\u306f\u9055\u3044\u3001String\u3092\u5ba3\u8a00\u3057\u3001\u5404\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u6587\u5b57\u5217\u3068\u3057\u3066\u5024\u3092\u633f\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u4e0a\u8a18\u2460\u3001\u2461\u3001\u2462\u3068\u540c\u3058\u3088\u3046\u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3059\u3002<br \/>\n<strong>[\u7d50\u679c]<\/strong><br \/>\n<strong>\u2460<\/strong> 0<br \/>\n<strong>\u2461<\/strong> Int.Type<br \/>\n<strong>\u2462<\/strong> 2<\/p>\n<p>\u5e0c\u671b\u3068\u3057\u3066\u306f\u3001\u6587\u5b57\u5217\u306eRed\u3084Yellow\u3001\u578b\u306fInt\u3067\u306f\u306a\u304f\u3001\u660e\u793a\u7684\u306b\u578b\u5ba3\u8a00\u3057\u305fString.Type\u3068\u306a\u3063\u3066\u6b32\u3057\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001\u30a2\u30af\u30bb\u30b9\u306e\u65b9\u6cd5\u304c\u9055\u3063\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n<p>\u7d50\u8ad6\u7684\u306b\u306fhashValue\u3067\u306f\u306a\u304f<strong>rawValue<\/strong>\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002<\/p>\n<p><strong>\u2460<\/strong> Fruit.apple.rawValue<br \/>\n<strong>\u2461<\/strong> Fruit.apple.rawValue.dynamicType<br \/>\n<strong>\u2462\u00a0<\/strong>Fruit.lemon.rawValue<\/p>\n<p><strong>[\u7d50\u679c]<\/strong><\/p>\n<p><strong>\u2460<\/strong> &#8220;Red&#8221;<br \/>\n<strong>\u2461<\/strong> \u00a0String.Type<br \/>\n<strong>\u2462<\/strong> &#8220;Purple&#8221;<\/p>\n<p>\u3053\u308c\u3067\u3001\u5b9f\u969b\u306b\u5024\u3092\u53d6\u5f97\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3057\u305f\u3002\u30dd\u30a4\u30f3\u30c8\u3068\u3057\u3066\u3001hashValue\u306f\u540d\u524d\u306e\u901a\u308a\u30cf\u30c3\u30b7\u30e5\u5024\u306b\u30a2\u30af\u30bb\u30b9\u3001rawValue\u306f\u751f\u306e\u30c7\u30fc\u30bf\u3068\u304b\u3044\u3046\u610f\u5473\u3067\u3057\u3087\u3046\u304b\uff1f\u203b\u3042\u304f\u307e\u3067\u3082\u30a4\u30e1\u30fc\u30b8\u3067\u3059\u3002<\/p>\n<p>\u203b\u00a0\u30cf\u30c3\u30b7\u30e5\u5024\u3084rawValue\u306b\u3064\u3044\u3066\u306f\u5272\u611b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002<\/p>\n<p>\u3067\u306f\u3001\u521d\u3081\u306b\u5ba3\u8a00\u3057\u305fenum\uff08\u578b\u5ba3\u8a00\u306a\u3057\uff09\u3092rawValue\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u3069\u3046\u306a\u308b\u304b\u8a66\u3057\u3066\u307f\u307e\u3057\u305f\u304c\u3001\u30b3\u30f3\u30d1\u30a4\u30eb\u30a8\u30e9\u30fc\u3068\u306a\u308a\u307e\u3057\u305f\u3002rawValue\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u578b\u5ba3\u8a00\u304c\u5fc5\u9808\u3068\u306a\u308b\u4e8b\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u305d\u3057\u3066\u3001\u7565\u3057\u305f\u30a2\u30af\u30bb\u30b9\u306e\u65b9\u6cd5\u3001.AuthorizedWhenInUse\u3084.NotDetermined\u306f\u578b\u63a8\u8ad6\u306b\u3088\u3063\u3066\u7701\u7565\u3059\u308b\u4e8b\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u5148\u307b\u3069\u306e\u30b3\u30fc\u30c9\u3067\u7565\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p>\u5358\u7d14\u306b var a\u00a0= Fruit.apple<br \/>\na = .apple<\/p>\n<p>\u6700\u4e0a\u4f4d\u306e\u4f4d\u5730\u60c5\u5831\u627f\u8a8d\u30b9\u30c6\u30fc\u30bf\u30b9\u306e\u5834\u5408\u306f<strong>CLAuthorizationStatus<\/strong>\u3068\u3044\u3046\u5217\u6319\u578b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u3001AuthorizedWhenInUse\u3084NotDetermined\u3068\u3044\u3046\u5024\u3092\u6301\u3063\u3066\u3044\u308b\u4e8b\u304c\u7406\u89e3\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>\u8a66\u3057\u306b\u3053\u308c\u3089\u3092\u7701\u7565\u305b\u305a\u306b\u66f8\u3044\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter wp-image-4675 size-full\" src=\"\/appnews\/wp-content\/uploads\/sites\/4\/2016\/09\/funtouki14_4.png\" alt=\"funtouki14_4\" width=\"780\" height=\"143\" \/><\/p>\n<p>89\u884c\u76ee\u300191\u884c\u76ee\u304c\u7701\u7565\u7121\u3057\u3067\u8a18\u8ff0\u3057\u305f\u4f8b\u3067\u3059\u3002<br \/>\n\u7d50\u679c\u3068\u3057\u3066\u3001\u30a8\u30e9\u30fc\u306f\u51fa\u307e\u305b\u3093\u3002<\/p>\n<p>\u8a71\u304c\u305d\u308c\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304c\u3001\u5217\u6319\u578b\u306e\u4f7f\u3044\u3069\u3053\u308d\u304c\u307e\u3060\u308f\u304b\u3089\u306a\u3044\u306e\u3067\u3001\u3053\u308c\u304b\u3089\u5b66\u7fd2\u3057\u3066\u3044\u304d\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<h4>\u307e\u3068\u3081<\/h4>\n<p>\u30fb \u5217\u6319\u578b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u5ba3\u8a00\u3057\u305f\u578b\u3068\u306a\u308b\u3002<\/p>\n<p>\u30fb \u5217\u6319\u578b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u5272\u308a\u632f\u3089\u308c\u3066\u3044\u308b\u5024\u306fhashValue\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3002<\/p>\n<p>\u30fb \u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u76f4\u63a5\u30a2\u30af\u30bb\u30b9\u3059\u308b\u5834\u5408\u306f\u3001rawValue\u3092\u4f7f\u3046\u3002<\/p>\n<p>\u30fb \u30c9\u30c3\u30c8\u304b\u3089\u59cb\u307e\u308b\u3082\u306e\u306f\u3001\u5217\u6319\u578b\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067\u5217\u6319\u578b\u306e\u540d\u524d\u304c\u7701\u7565\u3055\u308c\u3066\u3044\u308b\u3002<\/p>\n<p>\u30fb \u7701\u7565\u304c\u3067\u304d\u308b\u306e\u306f\u578b\u63a8\u8ad6\u304c\u884c\u308f\u308c\u3066\u3044\u308b\u305f\u3081\u3002<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/4667\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/4667\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"\u65b0\u4eba\u596e\u95d8\u8a1814\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/4667\" data-text=\"\u65b0\u4eba\u596e\u95d8\u8a1814\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/4667\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/4667\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>iOS \u5165\u9580 \u3042\u307e\u308a\u898b\u6163\u308c\u306a\u304b\u3063\u305fSwift\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u304c\u3042\u3063\u305f\u306e\u3067\u3001\u307e\u3068\u3081\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,11],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/4667"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=4667"}],"version-history":[{"count":6,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/4667\/revisions"}],"predecessor-version":[{"id":4679,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/4667\/revisions\/4679"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=4667"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=4667"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=4667"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}