{"id":36199,"date":"2021-08-01T08:07:19","date_gmt":"1970-01-01T00:00:00","guid":{"rendered":"https:\/\/www.sejuku.net\/blog\/?p=36199"},"modified":"2024-05-06T11:45:22","modified_gmt":"2024-05-06T02:45:22","slug":"%e3%81%93%e3%81%93%e3%81%8c%e5%a4%89%e3%82%8f%e3%81%a3%e3%81%9f%ef%bc%81swift4%e3%81%a8swift3%e5%be%b9%e5%ba%95%e6%af%94%e8%bc%83","status":"publish","type":"post","link":"https:\/\/www.sejuku.net\/blog\/36199","title":{"rendered":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03"},"content":{"rendered":"<p>2017\u5e749\u6708\u304b\u3089\u3044\u3088\u3044\u3088Swift\u306f\u30d0\u30fc\u30b8\u30e7\u30f34\u306b\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u9042\u3052\u307e\u3057\u305f\u3002<br \/>\n\u9577\u3089\u304f\u4f7f\u308f\u308c\u3066\u304d\u305f3\u30b7\u30ea\u30fc\u30ba\u306b\u6bd4\u3079\u3066\u304b\u306a\u308a\u306e\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u3053\u3067\u3053\u3053\u3067\u306f\u3001Swift\u306e\u30d0\u30fc\u30b8\u30e7\u30f33\u30684\u3092\u5fb9\u5e95\u6bd4\u8f03\u3057\u3001\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3082\u4ea4\u3048\u3066\u7d39\u4ecb\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<p>\u5185\u5bb9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<div class=\"box01\">\n<ul>\n<li>Swift4\u3068Swift3\u306e\u6bd4\u8f03<\/li>\n<li>Swift4\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/li>\n<li>\u6b8b\u3055\u308c\u305f\u8ab2\u984c<\/li>\n<\/ul>\n<\/div>\n<p>Swift\u304c4\u304b\u30893\u306b\u304b\u3051\u3066\u3069\u306e\u3088\u3046\u306b\u5909\u308f\u3063\u3066\u304d\u305f\u304b\u306b\u3064\u3044\u3066\u89e3\u8aac\u3059\u308b\u3068\u5171\u306b\u3001Swift4\u3067\u306f\u5b9f\u73fe\u3055\u308c\u306a\u304b\u3063\u305f\u3001Swift5\u3078\u5411\u3051\u3066\u306e\u8ab2\u984c\u306a\u3069\u3082\u7d39\u4ecb\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3059\u3002<\/p>\n<h2>Swift4\u3068Swift3\u306e\u6bd4\u8f03<\/h2>\n<p>\u307e\u305a\u306f<span style=\"color: #339966;\"><strong>Swift3<\/strong><\/span>\u3068<span style=\"color: #339966;\"><strong>Swift4<\/strong><\/span>\u306e<span style=\"color: #0000ff;\"><strong>\u5927\u307e\u304b\u306a\u6bd4\u8f03<\/strong><\/span>\u3092\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>Swift\u306f\u3001\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306b\u969b\u3057\u4ed5\u69d8\u304c\u975e\u5e38\u306b\u5927\u304d\u304f\u5909\u308f\u308b\u8a00\u8a9e\u3068\u3057\u3066\u77e5\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u9006\u306b\u8a00\u3048\u3070\u3001<span style=\"color: #ff0000;\"><strong>\u307e\u3060\u307e\u3060Swift\u306f\u30c0\u30a4\u30ca\u30df\u30c3\u30af\u306a\u9032\u5316\u306e\u9014\u4e0a\u306e\u8a00\u8a9e\u3067\u3042\u308a\u3001\u3053\u308c\u304b\u3089\u3082\u3069\u3093\u3069\u3093\u5909\u308f\u3063\u3066\u3044\u304f<\/strong><\/span>\u53ef\u80fd\u6027\u304c\u3042\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057<span style=\"color: #0000ff;\"><strong>\u305d\u306e\u5909\u5316\u306b\u306f\u3061\u3083\u3093\u3068\u7406\u7531\u304c\u3042\u308a\u307e\u3059<\/strong><\/span>\u3002\u307e\u305a\u306f\u305d\u3053\u3092\u7406\u89e3\u3059\u308b\u3053\u3068\u304b\u3089\u8a71\u3092\u59cb\u3081\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>Swift\u306fSmalltalk\u3092\u76ee\u6307\u3059<\/h3>\n<p>\u5b9f\u306f\u30a2\u30c3\u30d7\u30eb\u793e\u304cObective-C\u306e\u6642\u4ee3\u304b\u3089<span style=\"color: #0000ff;\"><strong>\u4e00\u8cab\u3057\u3066\u76ee\u6307\u3057\u3066\u304d\u305f\u3082\u306e<\/strong><\/span>\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u308c\u304c\u7a76\u6975\u306e\u76ee\u6a19\u3067\u3042\u308b<span style=\"color: #339966;\"><strong>Smalltalk<\/strong><\/span>\u306b\u8fd1\u3065\u304f\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>Smalltalk\u3068\u306f\u3001<span style=\"color: #339966;\"><strong>Xerox\u306e\u30d1\u30ed\u30a2\u30eb\u30c8\u7814\u7a76\u6240\uff08PARC\uff09<\/strong><\/span>\u306b\u304a\u3044\u3066<span style=\"color: #339966;\"><strong>\u30a2\u30e9\u30f3\u30fb\u30b1\u30a4\uff08Alan Kay\uff09<\/strong><\/span>\u3089\u306b\u3088\u3063\u3066\u958b\u767a\u3055\u308c\u305f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u6307\u5411\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u304a\u3088\u3073\u958b\u767a\u74b0\u5883\u306e\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u9a5a\u304f\u3079\u304d\u3053\u3068\u306b\u3053\u308c\u304c\u958b\u767a\u3055\u308c\u305f\u306e\u304c1970\u5e74\u4ee3\u3001<span style=\"color: #0000ff;\"><strong>\u73fe\u5728\u304b\u308940\u5e74\u4ee5\u4e0a\u3082\u524d\u306e\u8a71<\/strong><\/span>\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u30a2\u30e9\u30f3\u30fb\u30b1\u30a4\u306f\u3001Smalltalk\u3060\u3051\u3067\u306f\u306a\u304fGUI\u3068\u30de\u30a6\u30b9\u306e\u7d44\u307f\u5408\u308f\u305b\u306eOS\u3084\u30ec\u30fc\u30b6\u30fc\u30d7\u30ea\u30f3\u30bf\u30fc\u306a\u3069\u3001\u73fe\u5728\u306e\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u306e\u539f\u578b\u306b\u306a\u3063\u305f\u8a66\u307f\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u3053\u308c\u306f\u3042\u304f\u307e\u3067\u3082\u5b9f\u9a13\u5ba4\u30ec\u30d9\u30eb\u306e\u8a71\u3067\u3001<span style=\"color: #ff0000;\"><strong>\u3053\u308c\u3089\u306e\u30b7\u30b9\u30c6\u30e0\u306f\u5f53\u6642\u4f59\u308a\u306b\u3082\u9032\u307f\u3059\u304e\u3066\u3044\u3066\u5b9f\u7528\u5316\u3055\u308c\u308b\u3053\u3068\u306f\u6709\u308a\u307e\u305b\u3093\u3067\u3057\u305f<\/strong><\/span>\u3002<\/p>\n<p>\u3057\u304b\u3057<span style=\"color: #339966;\"><strong>\u30b9\u30c6\u30a3\u30fc\u30d6\u30fb\u30b8\u30e7\u30d6\u30ba<\/strong><\/span>\u306f\u3053\u306e\u7814\u7a76\u306b\u89e6\u767a\u3055\u308cMac\u3092\u958b\u767a\u3057\u305f\u306e\u3067\u3059\u3002<\/p>\n<p>\u3064\u307e\u308a\u3001<span style=\"color: #339966;\"><strong>Objective-C<\/strong><\/span>\u306e\u6642\u4ee3\u304b\u3089<span style=\"color: #0000ff;\"><strong>\u30a2\u30c3\u30d7\u30eb\u306e\u7a76\u6975\u306e\u30b4\u30fc\u30eb\u306fSmalltalk\u306b\u8fd1\u3065\u304f\u3053\u3068<\/strong><\/span>\u3067\u3042\u308a\u3001Swift\u306f\u305d\u308c\u3092\u7a76\u6975\u307e\u3067\u63a8\u3057\u9032\u3081\u305f\u8a00\u8a9e\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u3067\u3059\u304b\u3089\u3001Swift\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306f<\/p>\n<p><span style=\"color: #0000ff;\"><strong>\u30fbSmalltalk\u306b\u8fd1\u3065\u3044\u3066\u3044\u304f\u3053\u3068<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>\u30fb\u6700\u65b0\u306e\u6280\u8853\u52d5\u5411\u306b\u5bfe\u5fdc\u3059\u308b\u3053\u3068<\/strong><\/span><\/p>\n<p>\u306e2\u70b9\u304c\u30dd\u30a4\u30f3\u30c8\u306b\u306a\u308b\u3068\u305d\u306e\u7406\u7531\u304c\u826f\u304f\u7406\u89e3\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Swift3\u306e\u7279\u5fb4<\/h3>\n<p>\u305d\u3046\u3044\u3063\u305f\u89b3\u70b9\u304b\u3089Swift\u306e\u5909\u5316\u3092\u898b\u3066\u3044\u304f\u3068\u826f\u304f\u308f\u304b\u308b\u3053\u3068\u304c\u6709\u308a\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e00\u3064\u304c<span style=\"color: #ff0000; background-color: #ffff99;\"><strong>Swift3\u4ee5\u964d\u306fC\u8a00\u8a9e\u3084Java\u8a00\u8a9e\u306e\u3088\u3046\u306a\u5f62\u5f0f\u306efor\u6587\u304c\u4f7f\u3048\u306a\u304f\u306a\u3063\u305f<\/strong><\/span>\u3068\u3044\u3046\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001Swift2\u307e\u3067\u306f\u3001<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">for var i = 0; i &lt; 100; i++ {\r\n    print(\"\\(i)\")\r\n}<\/pre>\n<p>\u3068\u3044\u3046\u3088\u3046\u306a\u8868\u73fe\u304c\u51fa\u6765\u307e\u3057\u305f\u304c\u3001<span style=\"color: #ff0000;\"><strong>Swift3\u304b\u3089\u306f\u3053\u308c\u304c\u4f7f\u7528\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3057\u305f<\/strong><\/span>\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">for i in 0..&lt;100 {\r\n    print(\"\\(i)\")\r\n}<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u5909\u5316\u306f<span style=\"color: #0000ff;\"><strong>Smalltalk\u3092\u7a76\u6975\u306e\u30b4\u30fc\u30eb<\/strong><\/span>\u3068\u3057\u3066\u3044\u308b\u304b\u3089\u8d77\u3053\u3063\u305f\u4e8b\u3067\u3059\u3002<\/p>\n<p>\u524d\u8ff0\u306e\u3088\u3046\u306a\u30b9\u30bf\u30a4\u30eb\u306f<span style=\"color: #0000ff;\"><strong>C\u8a00\u8a9e\u30e9\u30a4\u30af\u306a\u8868\u73fe\u65b9\u6cd5<\/strong><\/span>\u3067\u3001<span style=\"color: #ff0000;\"><strong>Smalltalk\u3089\u3057\u3044\u6d17\u7df4\u3055\u308c\u305f\u8868\u73fe\u3067\u306f\u7121\u3044<\/strong><\/span>\u3068\u3044\u3046\u306e\u304c\u305d\u306e\u7406\u7531\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u3061\u306a\u307f\u306b\u3001\u300c\u306a\u3093\u3060\u304b<span style=\"color: #339966;\"><strong>Ruby<\/strong><\/span>\u3068\u4f3c\u3066\u3044\u308b\u306a\u300d\u3068\u601d\u3063\u305f\u4eba\u3082\u3044\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u5b9f\u306f<span style=\"color: #0000ff;\"><strong>Ruby\u3082\u307e\u305fSmalltalk\u3092\u76ee\u6307\u3057\u3066\u4f5c\u3089\u308c\u3066\u3044\u308b<\/strong><\/span>\u304b\u3089\u306a\u306e\u3067\u3059\u3002<\/p>\n<p>\u305f\u3060\u3001Swift\u306e\u5834\u5408\u306fObjective-C\u304b\u3089\u306e\u904e\u53bb\u306e\u907a\u7523\u304c\u6b8b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u75d5\u8de1\u3092\u6d88\u3057\u3064\u3064\u30b4\u30fc\u30eb\u3092\u76ee\u6307\u3057\u3066\u3044\u308b\u308f\u3051\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u3001Swift3\u4ee5\u964d\u306efor\u6587\u306b\u95a2\u3057\u3066\u8208\u5473\u306e\u3042\u308b\u65b9\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/31342\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/08\/image26-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Swift\u5165\u9580\u3011Swift3.x\u7248\u3067\u306efor\u6587\u3001for-in\u6587\u306e\u4f7f\u3044\u65b9\u307e\u3068\u3081<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>Swift4\u304b\u3089Swift3\u3067\u5909\u308f\u3063\u305f\u3053\u3068<\/h3>\n<p>\u3055\u3066\u3001\u5c11\u3057\u524d\u7f6e\u304d\u304c\u9577\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3057\u305f\u304cSwift\u306e3\u304b\u30894\u3067\u3069\u306e\u3088\u3046\u306b\u5909\u5316\u3057\u305f\u306e\u304b\u3092\u7c21\u5358\u306b\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u4e3b\u8981\u306a\u3082\u306e\u3092\u5217\u6319\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u901a\u308a\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #0000ff;\"><strong>(1) Swift3\u3068\u306e\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5171\u5b58\u304c\u53ef\u80fd<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>(2) \u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u304cpublic\u306b<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>(3) \u6570\u5024\u6bd4\u8f03\u306e\u578b\u6bd4\u8f03\u304c\u5bb9\u6613\u306b<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>(4) String\u306e\u5f37\u5316<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>(5) \u30c7\u30fc\u30bf\u69cb\u9020\u306e\u5f37\u5316<\/strong><\/span><br \/>\n<span style=\"color: #0000ff;\"><strong>(6) JSON\u89e3\u6790\u6a5f\u80fd\u3092\u8a00\u8a9e\u4f7f\u7528\u306b\u53d6\u308a\u5165\u308c\u305f<\/strong><\/span><\/p>\n<p>(1)\u306b\u95a2\u3057\u3066\u306f\u4eca\u307e\u3067\u3082\u3001\u305d\u3057\u3066\u4eca\u5f8c\u3082<span style=\"color: #0000ff;\"><strong>Swift\u8a00\u8a9e\u306e\u8ab2\u984c<\/strong><\/span>\u3068\u306a\u3063\u3066\u3044\u304f\u3053\u3068\u3067\u3057\u3087\u3046\u3002<\/p>\n<p>Swift\u306f\u65b0\u3057\u3044\u8a00\u8a9e\u3068\u8a00\u3046\u3053\u3068\u3082\u3042\u308a\u307e\u3060\u307e\u3060\u8a00\u8a9e\u4f7f\u7528\u304c\u5b89\u5b9a\u3057\u3066\u304a\u3089\u305a\u3001<span style=\"color: #ff0000;\"><strong>\u30de\u30a4\u30ca\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u306e\u3068\u304d\u3067\u3055\u3048\u524d\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3068\u306e\u4e92\u63db\u6027\u304c\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3046<\/strong><\/span>\u3068\u3044\u3046\u554f\u984c\u306b\u60a9\u307e\u3055\u308c\u3066\u3044\u308b\u30d7\u30ed\u30b0\u30e9\u30de\u30fc\u306f\u5c11\u306a\u304f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n<p>Swift4\u306e\u76ee\u6a19\u306f\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306e\u5b89\u5b9a\u6027\u306e\u63d0\u4f9b\u3001\u3082\u3046\u4e00\u3064\u306f\u3001\u6a19\u6e96\u30e9\u30a4\u30d6\u30e9\u30ea\u306e<span style=\"color: #339966;\"><strong>ABI(Application Binary Interface )<\/strong><\/span>\u5b89\u5b9a\u6027\u306e\u63d0\u4f9b\u3067\u3059\u3002<\/p>\n<p>ABI\u306e\u5b89\u5b9a\u3068\u306f\u7570\u306a\u308b\u30d0\u30fc\u30b8\u30e7\u30f3\u306e Swift \u30b3\u30f3\u30d1\u30a4\u30e9\u3067\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u30d0\u30a4\u30ca\u30ea\u304c\u30ea\u30f3\u30af\u3067\u304d\u308b\u72b6\u614b\u3067\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3059\u3002<\/p>\n<p>\u306a\u304a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u95a2\u3057\u3066\u8a00\u3048\u3070\u3001<span style=\"color: #0000ff;\"><strong>Swift3.2\u304b\u3089Swift4.0\u306f\u4e92\u63db\u6027\u304c\u5b9f\u73fe<\/strong><\/span>\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u3001(2)\uff5e(5)\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u6b21\u3067\u5b9f\u969b\u306b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u306a\u304c\u3089\u89e3\u8aac\u3057\u3066\u3044\u304f\u3053\u3068\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<h2>Swift4\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/h2>\n<p>\u305d\u308c\u3067\u306f\u3001\u5b9f\u969b\u306b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u901a\u3057\u3066Swift4\u306e\u65b0\u3057\u3044\u6a5f\u80fd\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<br \/>\n\u3053\u3053\u3067\u7d39\u4ecb\u3067\u304d\u308b\u306e\u306f\u3042\u304f\u307e\u3067\u3082\u4e00\u90e8\u3067\u3059\u304c\u3001Swift3\u3068\u6bd4\u3079\u3066\u660e\u3089\u304b\u306b\u4fbf\u5229\u306b\u306a\u3063\u305f\u6a5f\u80fd\u3070\u304b\u308a\u3067\u3059\u3002<br \/>\n\u6c17\u8efd\u306b\u5165\u529b\u3057\u3066\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u6570\u5024\u6bd4\u8f03<\/h3>\n<p>\u307e\u305a\u306f\u3001\u6574\u6570\u306e\u6570\u5024\u6bd4\u8f03\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002Swift4\u3067\u306f\u3001Swift3\u3067\u53b3\u5bc6\u306b\u884c\u308f\u308c\u3066\u3044\u305f<span style=\"color: #0000ff;\"><strong>\u6570\u5024\u306e\u578b\u30c1\u30a7\u30c3\u30af\u306e\u53b3\u3057\u3055\u304c\u7de9\u3093\u3067\u3044\u307e\u3059<\/strong><\/span>\u3002<\/p>\n<p>\u4f8b\u3048\u3070\u3001<span style=\"color: #339966;\"><strong>Int<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>Int16<\/strong><\/span>\u3001<span style=\"color: #339966;\"><strong>Int32<\/strong><\/span>\u306e\u3088\u3046\u306b\u3001\u540c\u3058\u6574\u6570\u578b\u3067\u3082\u30d3\u30c3\u30c8\u6570\u304c\u9055\u3046\u3068<span style=\"color: #ff0000;\"><strong>Swift3\u307e\u3067\u306f\u5358\u7d14\u306b\u5024\u306e\u6bd4\u8f03\u304c\u3067\u304d\u307e\u305b\u3093\u3067\u3057\u305f<\/strong><\/span>\u3002<\/p>\n<p>\u3057\u304b\u3057\u3001Swift4\u3067\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">let iVal: Int = 10\r\nlet i32Val : Int32 = 10\r\nlet uiVal : UInt = 10\r\nlet ui16Val: UInt16 = 10\r\nlet ui32Val: UInt32 = 10\r\n \r\nif ui16Val == ui32Val { \r\n    print(\"equal!\")\r\n}\r\n \r\nif iVal == uiVal {\r\n    print(\"equal!\")\r\n}\r\n \r\nif iVal == i32Val {\r\n    print(\"equal!\")\r\n}\r\n \r\nif i32Val == ui16Val {\r\n    print(\"equal!\")\r\n}<\/pre>\n<p>\u3092\u5b9f\u884c\u3059\u308b\u3068\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">equal!\r\nequal!\r\nequal!\r\nequal!<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u306f<span style=\"color: #ff0000;\"><strong>\u578b\u304c\u9055\u3046\u305f\u3081Swift3\u3067\u306f\u30a8\u30e9\u30fc<\/strong><\/span>\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u304c\u3001Swift4\u3067\u306f\u5236\u9650\u304c\u7de9\u548c\u3055\u308c\u305f\u305f\u3081\u3001\u666e\u901a\u306b\u5b9f\u884c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h3>\u6587\u5b57\u5217(String)\u306e\u5f37\u5316<\/h3>\n<p>\u6b21\u306b<span style=\"color: #339966;\"><strong>String<\/strong><\/span>\u306e\u5f37\u5316\u3055\u308c\u305f\u70b9\u306b\u3064\u3044\u3066\u8aac\u660e\u3057\u307e\u3059\u3002\u3044\u304f\u3064\u304b\u30dd\u30a4\u30f3\u30c8\u304c\u6709\u308a\u307e\u3059\u306e\u3067\u30c8\u30d4\u30c3\u30af\u3054\u3068\u306b\u5206\u3051\u3066\u8aac\u660e\u3057\u3066\u3044\u304d\u307e\u3059\u3002<\/p>\n<h4>\u6587\u5b57\u5217\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u5316<\/h4>\n<p><span style=\"color: #339966;\"><strong>Swift3<\/strong><\/span>\u3067\u68da\u4e0a\u3052\u306b\u3055\u308c\u3066\u3044\u305f\u6587\u5b57\u5217\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u5316\u3067\u3059\u304c\u3001<span style=\"color: #339966;\"><strong>Swift4<\/strong><\/span>\u306b\u306a\u3063\u3066\u3084\u3063\u3068\u5b9f\u73fe\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"decode:true \">\"SAMURAI\".forEach{\r\n    \/\/  \u4e00\u6587\u5b57\u305a\u3064\u53d6\u308a\u51fa\u3057\u3001\u30c7\u30fc\u30bf\u3068\u3057\u3066\u53d6\u5f97\u3067\u304d\u308b\r\n    print($0)\r\n}<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">S\r\nA\r\nM\r\nU\r\nR\r\nA\r\nI<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304b\u3089\u5224\u308b\u3068\u304a\u308a\u3001<span style=\"color: #0000ff;\"><strong>\u6587\u5b57\u5217\u304c\u3001\u4e00\u3064\u4e00\u3064\u306e\u6587\u5b57\u304b\u3089\u69cb\u6210\u3055\u308c\u308b\u30b3\u30ec\u30af\u30b7\u30e7\u30f3<\/strong><\/span>\u3068\u3057\u3066\u6271\u3046\u3053\u3068\u304c\u51fa\u6765\u308b\u306e\u3067\u3001forEach\u3067\u4e00\u6587\u5b57\u305a\u3064\u53d6\u308a\u51fa\u3059\u3053\u3068\u304c\u304d\u307e\u3059\u3002<\/p>\n<h4>\u8907\u6570\u884c\u306e\u6587\u5b57\u5217\u5b9a\u7fa9<\/h4>\n<p>Swift4\u3067\u306f\u8907\u6570\u884c\u306e\u6587\u5b57\u5217\u3092\u5b9a\u7fa9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<span style=\"color: #ff0000;\"><strong>Swift3\u307e\u3067\u306f\u6539\u884c\u30b3\u30fc\u30c9\u304c\u5fc5\u8981<\/strong><\/span>\u3067\u3057\u305f\u304c\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u65b9\u6cd5\u3067<span style=\"color: #0000ff;\"><strong>\u7c21\u5358\u306b\u8907\u6570\u884c\u306e\u6587\u5b57\u5217\u3092\u5b9a\u7fa9<\/strong><\/span>\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">let str = \"\"\"\r\n1234567\r\nqwertyuiop\r\nasdfghjkl\r\nzxcvbnm\r\n\"\"\"\r\nprint(str)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">1234567\r\nqwertyuiop\r\nasdfghjkl\r\nzxcvbnm<\/pre>\n<p>\u3061\u3087\u3063\u3068\u3057\u305f\u3053\u3068\u3067\u3059\u304c\u3001\u3053\u308c\u3067<span style=\"color: #0000ff;\"><strong>\u6587\u5b57\u5217\u3092\u6271\u3046\u6587\u5b57\u5217\u304c\u975e\u5e38\u306b\u697d<\/strong><\/span>\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h4>Subscript<\/h4>\n<p>Swift 4\u3067\u306f\u3001\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u4f7f\u3063\u305f\u4fbf\u5229\u306a\u6587\u5b57\u5217\u306e\u90e8\u5206\u53d6\u5f97\u65b9\u6cd5\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u4ee5\u4e0b\u306e\u3088\u3046\u306b<span style=\"color: #339966;\"><strong>index(of:)<\/strong><\/span>\u3092\u7528\u3044\u308b\u3068\u3001\u5358\u306a\u308b\u6570\u5024\u3067\u306f\u306a\u304f<span style=\"color: #0000ff;\"><strong>\u67d4\u8edf\u306a\u7bc4\u56f2\u6307\u5b9a<\/strong><\/span>\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre class=\"decode:true \">let str = \"Hello Samurai-Engineer.\"\r\nlet hyphen = str.index(of: \"-\")!\r\nlet dot   = str.index(of: \".\")!\r\nlet space = str.index(of: \" \")!\r\n \r\nprint(str[..&lt;hyphen]) \/\/ \"Hello Samurai\"\r\nprint(str[..&lt;dot])   \/\/ \"Hello Samurai-Engineer\"\r\nprint(str[..&lt;space]) \/\/ \"Hello\"<\/pre>\n<p>\u3053\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b9f\u884c\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">Hello Samurai\r\nHello Samurai-Engineer\r\nHello<\/pre>\n<p>\u306a\u304a\u3001Swift3\u307e\u3067\u306eString\u306b\u3064\u3044\u3066\u306f\u3001\u4ee5\u4e0b\u306b\u8a73\u3057\u304f\u66f8\u3044\u3066\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u3042\u308f\u305b\u3066\u8aad\u3093\u3067\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n            <a href=\"https:\/\/www.sejuku.net\/blog\/32444\" class=\"blog-card-anchor\">\n                <div class=\"blog-card\">\n                <div class=\"blog-card-content\">\n                    <div class=\"blog-card-thumbnail\">\n                    <img decoding=\"async\" class=\"blog-card-thumbnail-img\" src=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/09\/image-31-150x86.jpg\">\n                    <\/div>\n                    <div class=\"blog-card-title-wrap\">\n                    <div class=\"blog-card-title\">\u3010Swift\u5165\u9580\u3011String\uff08\u6587\u5b57\u5217\u578b\uff09\u306e\u4f7f\u3044\u65b9\u3092\u30de\u30b9\u30bf\u30fc\u3057\u3088\u3046\uff01<\/div>\n                    <div class=\"blog-card-update-date\">\u66f4\u65b0\u65e5\uff1a2024\u5e745\u67086\u65e5<\/div>\n                    <\/div>\n                <\/div>\n                <\/div>\n            <\/a>\n            \n<h3>\u30c7\u30fc\u30bf\u69cb\u9020\u306e\u9032\u5316<\/h3>\n<p>Swift4\u3067\u306f<span style=\"color: #339966;\"><strong>\u8f9e\u66f8\uff08Dictionary\uff09<\/strong><\/span>\u306e\u6a5f\u80fd\u304c\u5927\u5e45\u306b\u30a2\u30c3\u30d7\u3055\u308c\u305f\u308a\u3001<span style=\"color: #339966;\"><strong>\u914d\u5217<\/strong><\/span>\u306e\u3088\u3046\u306a\u30c7\u30fc\u30bf\u69cb\u9020\u306e\u6a5f\u80fd\u304c\u5f37\u5316\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>Swift3\u307e\u3067\u306f<span style=\"color: #ff0000;\"><strong>for\u3084foreach\u306a\u3069\u3092\u7528\u3044\u306a\u304f\u3066\u306f\u306a\u3089\u306a\u304b\u3063\u305f\u51e6\u7406<\/strong><\/span>\u3092<span style=\"color: #0000ff;\"><strong>\u7c21\u5358\u306b\u51fa\u6765\u308b<\/strong><\/span>\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u304c\u7279\u5fb4\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u3001\u305d\u308c\u305e\u308c\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u30b5\u30f3\u30d7\u30eb\u3092\u7d39\u4ecb\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h4>Dictionary\u306e\u30de\u30fc\u30b8<\/h4>\n<p>\u307e\u305a\u306f\u3001Dictionary\u306e\u30de\u30fc\u30b8\u30b5\u30f3\u30d7\u30eb\u304b\u3089\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002Swift4\u304b\u3089\u306f\u3001<span style=\"color: #339966;\"><strong>merge<\/strong><\/span>\u30e1\u30bd\u30c3\u30c9\u3067\u8f9e\u66f8\u540c\u58eb\u3092\u7d50\u5408\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"decode:true \">let defaultVals: [String : Any] = [\r\n    \"Ruby\" : 1,\r\n    \"Python\" : 2,\r\n]\r\n\r\nvar optionVals: [String : Any] = [\r\n    \"Ruby\" : \"rails\",\r\n    \"PHP\" : \"laravel\",\r\n]\r\n \r\n\r\noptionVals.merge(defaultVals) { optionValue , defaultValue in\r\n    return optionValue\r\n}\r\n\r\nprint(optionVals)\r\n<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">[\"Python\": 2, \"Ruby\": \"rails\", \"PHP\": \"laravel\"]\r\n<\/pre>\n<p>\u7d71\u5408\u5148\u306e\u5024\u306f<span style=\"color: #339966;\"><strong>optionValue<\/strong><\/span> \u3001\u7d71\u5408\u3059\u308b\u30c7\u30fc\u30bf\u306e\u5024\u306f<span style=\"color: #339966;\"><strong>defaultValue<\/strong><\/span>\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><span style=\"color: #339966;\"><strong>optionVals<\/strong><\/span>\u306b\u3001<span style=\"color: #339966;\"><strong>defaultVals<\/strong><\/span>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u304c\u3001\u7d71\u5408\u3059\u308b\u305f\u3081\u306e\u8f9e\u66f8\u306f<span style=\"color: #ff0000;\"><strong>let\u3067\u306f\u306a\u304fvar<\/strong><\/span>\u306b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u30af\u30ed\u30fc\u30b8\u30e3\u306e\u4e2d\u3067\u306f\u30ad\u30fc\u304c\u91cd\u8907\u3057\u305f\u969b\u306e\u51e6\u7406\u65b9\u6cd5\u3092\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u30b5\u30f3\u30d7\u30eb\u3067\u306f<span style=\"color: #0000ff;\"><strong>\u91cd\u8907\u3057\u3066\u3044\u308b\u30ad\u30fc\u306foptionValue\u3092\u5229\u7528<\/strong><\/span>\u3059\u308b\u3088\u3046\u6307\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h4>mapValues<\/h4>\n<p>\u3082\u3068\u3082\u3068Swift3\u307e\u3067\u306f\u8f9e\u66f8\u306a\u3069\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u306b\u306f<span style=\"color: #339966;\"><strong>map<\/strong><\/span>\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u304c\u3001Swift4\u306b\u306f\u65b0\u305f\u306b<span style=\"color: #339966;\"><strong>mapValues<\/strong><\/span>\u304c\u8ffd\u52a0\u3055\u308c\u3001\u3053\u308c\u306b\u3088\u3063\u3066\u8f9e\u66f8\u306e\u3088\u3046\u306a\u30cf\u30c3\u30b7\u30e5\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3068\u3057\u3066\u4f7f\u7528\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u4ee5\u4e0b\u306b\u3001\u30b5\u30f3\u30d7\u30eb\u3092\u793a\u3057\u307e\u3059\u306e\u3067\u5b9f\u884c\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"decode:true \">let dic = [\"Ruby\": 3, \"PHP\": 2, \"Python\": 1]\r\n\r\n\/\/ mapValues\u3067\u3001Value\u30922\u500d\u306b\u3059\u308b\r\nlet mapped = dic.mapValues { $0 * 2 }\r\n\r\nprint(mapped)<\/pre>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">[\"PHP\": 4, \"Python\": 2, \"Ruby\": 6]<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u304b\u3089\u5224\u308b\u3068\u304a\u308a\u3001\u8f9e\u66f8\u3067\u3042\u308bdic\u306e\u5024\u3060\u3051\u3092\u4e00\u6c17\u306b2\u500d\u306b\u3057\u305f\u3001<span style=\"color: #339966;\"><strong>mapped<\/strong><\/span>\u3092\u53d6\u5f97\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>Swift3\u307e\u3067\u306a\u3089\u3001\u3053\u306e\u3088\u3046\u306a\u3053\u3068\u3092\u3084\u308d\u3046\u3068\u3059\u308b\u306e\u306a\u3089\u3070for\u3084foreach\u3092\u7528\u3044\u3066\u5024\u3092\u53d6\u5f97\u30572\u500d\u306b\u3059\u308b\u51e6\u7406\u3092\u66f8\u304b\u306a\u304f\u3066\u306f\u306a\u308a\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n<h4>\u914d\u5217\u8981\u7d20\u306e\u5165\u308c\u66ff\u3048<\/h4>\n<p>\u307e\u305f\u3001<span style=\"color: #339966;\"><strong>swap<\/strong><\/span>\u95a2\u6570\u3092\u7528\u3044\u3066\u914d\u5217\u306e\u4f4d\u7f6e\u3092\u5165\u308c\u66ff\u3048\u308b\u3068\u3044\u3046\u51e6\u7406\u3082\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<pre class=\"decode:true \">var fruits = [\"apple\", \"orange\", \"pineapple\", \"banana\", \"strawberry\", \"cherry\"]\r\nswap(&amp;fruits[1], &amp;fruits[3])\r\nprint(fruits)<\/pre>\n<p>\u5b9f\u884c\u7d50\u679c\u3092\u898b\u308b\u3068\u5224\u308a\u307e\u3059\u304c\u3001orange\u3068banana\u306e\u4f4d\u7f6e\u304c\u5165\u308c\u66ff\u308f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"striped:false marking:false ranges:false nums:false nums-toggle:false lang:default decode:true \">[\"apple\", \"banana\", \"pineapple\", \"orange\", \"strawberry\", \"cherry\"]<\/pre>\n<p>\u3053\u306e\u3088\u3046\u306a\u6a5f\u80fd\u306f\u5730\u5473\u3067\u3059\u304c\u3001\u304b\u306a\u308a\u4fbf\u5229\u306a\u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<h2>\u6b8b\u3055\u308c\u305f\u8ab2\u984c<\/h2>\n<p>\u3053\u306e\u3088\u3046\u306b\u5927\u5909\u4fbf\u5229\u306a\u6a5f\u80fd\u304c\u5897\u3048\u305fSwift4\u3067\u3059\u304c\u3001\u3044\u304f\u3064\u304b\u8ab2\u984c\u3082\u6b8b\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u305d\u306e\u4e2d\u3067\u6700\u3082\u5927\u304d\u3044\u306e\u304c\u3001ABI\u306e\u5b89\u5b9a\u3067\u3059\u3002\u6b74\u53f2\u306e\u6d45\u3044Swift\u8a00\u8a9e\u3067\u3059\u304c\u3001\u305d\u308c\u3067\u3082\u305f\u304f\u3055\u3093\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u8cc7\u7523\u304c\u751f\u307f\u51fa\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3057\u305f\u304c\u3063\u3066\u3001<span style=\"color: #0000ff;\"><strong>\u904e\u53bb\u306e\u8cc7\u7523\u3092\u518d\u5229\u7528\u53ef\u80fd\u304b\u3069\u3046\u304b<\/strong><\/span>\u3068\u3044\u3046\u3053\u3068\u306fSwift\u8a00\u8a9e\u306e\u4eca\u5f8c\u306e\u767a\u5c55\u3067\u306f\u975e\u5e38\u306b\u91cd\u5927\u306a\u554f\u984c\u306b\u306a\u3063\u3066\u304d\u307e\u3059\u3002<\/p>\n<p>Apple\u793e\u306fSwift4\u306e\u9593\u306b<span style=\"color: #ff0000;\"><strong>ABI\u3092\u5b89\u5b9a\u3055\u305b\u305f\u3044\u65b9\u91dd\u3067\u3059\u304c\u3001\u305d\u308c\u304c\u5b9f\u73fe\u3059\u308b\u304b\u306f\u307e\u3060\u308f\u304b\u308a\u307e\u305b\u3093<\/strong><\/span>\u3002<\/p>\n<p>\u307e\u305f\u3001\u3053\u306e\u307b\u304b\u306b\u3082<span style=\"color: #0000ff;\"><strong>\u30b3\u30f3\u30d1\u30a4\u30e9\u306e\u4fe1\u983c\u6027\u5411\u4e0a\uff0c\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u6539\u5584\uff0c\u30b3\u30f3\u30d1\u30a4\u30eb\u6642\u9593\u306e\u30b9\u30d4\u30fc\u30c9\u30a2\u30c3\u30d7<\/strong><\/span>\u306a\u3069\u3001\u53d6\u308a\u7d44\u3080\u3079\u304d\u8ab2\u984c\u306f\u5c71\u7a4d\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u4ee5\u4e0a\u3001Swift3\u3068\u6bd4\u8f03\u3057\u306a\u304c\u3089Swift4\u304c\u3069\u306e\u3088\u3046\u306a\u3082\u306e\u304b\u3068\u8a00\u3046\u3053\u3068\u3092\u3001<\/p>\n<p><span style=\"color: #ff0000;\"><strong>\u30fbSwift4\u3068Swift3\u306e\u6bd4\u8f03<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>\u30fbSwift4\u306e\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9<\/strong><\/span><br \/>\n<span style=\"color: #ff0000;\"><strong>\u30fb\u6b8b\u3055\u308c\u305f\u8ab2\u984c<\/strong><\/span><\/p>\n<p>\u3068\u3044\u3046\u9806\u5e8f\u3067\u8aac\u660e\u3057\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n<p>Swift\u8a00\u8a9e\u306f\u307e\u3060\u307e\u3060\u8a00\u8a9e\u3068\u3057\u3066\u306f\u65b0\u3057\u3044\u8a00\u8a9e\u3067\u3059\u304c\u30e1\u30b8\u30e3\u30fc\u306b\u306a\u3063\u3066\u304d\u305f\u3053\u3068\u306b\u3088\u308a\u6210\u719f\u671f\u306b\u5165\u308a\u3001<span style=\"color: #0000ff;\"><strong>\u3088\u308a\u4f7f\u3044\u3084\u3059\u3044\u8a00\u8a9e\u3092\u76ee\u6307\u3057\u3066\u3044\u308b<\/strong><\/span>\u72b6\u614b\u3067\u3042\u308b\u3068\u8a00\u3048\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u305d\u308c\u304c\u6210\u529f\u3059\u308b\u304b\u5426\u304b\u306f\u3001Swift4\u304c\u3069\u3053\u307e\u3067\u9032\u6b69\u3067\u304d\u308b\u304b\u3068\u8a00\u3046\u3053\u3068\u306b\u304b\u304b\u3063\u3066\u3044\u308b\u306e\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>2017\u5e749\u6708\u304b\u3089\u3044\u3088\u3044\u3088Swift\u306f\u30d0\u30fc\u30b8\u30e7\u30f34\u306b\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u9042\u3052\u307e\u3057\u305f\u3002 \u9577\u3089\u304f\u4f7f\u308f\u308c\u3066\u304d\u305f3\u30b7\u30ea\u30fc\u30ba\u306b\u6bd4\u3079\u3066\u304b\u306a\u308a\u306e\u6a5f\u80fd\u304c\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u305d\u3053\u3067\u3053\u3053\u3067\u306f\u3001Swift\u306e\u30d0\u30fc\u30b8\u30e7\u30f33\u30684\u3092\u5fb9\u5e95\u6bd4\u8f03\u3057\u3001 [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":105618,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"swell_btn_cv_data":"","footnotes":""},"categories":[10],"tags":[1008,1009,1007],"class_list":["post-36199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-swift","tag-swift3","tag-swift4","tag-swift"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.sejuku.net\/blog\/36199\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.sejuku.net\/blog\/36199\" \/>\n<meta property=\"og:site_name\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/sejuku2013\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/sejuku2013\/\" \/>\n<meta property=\"article:published_time\" content=\"1970-01-01T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-06T02:45:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"810\" \/>\n\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/samuraijuku\" \/>\n<meta name=\"twitter:site\" content=\"@samuraijuku\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199\"},\"author\":{\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\"},\"headline\":\"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03\",\"datePublished\":\"1970-01-01T00:00:00+00:00\",\"dateModified\":\"2024-05-06T02:45:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199\"},\"wordCount\":163,\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/swift4_3.jpg\",\"keywords\":[\"Swift3\",\"Swift4\",\"Swift\u5165\u9580\"],\"articleSection\":[\"Swift\"],\"inLanguage\":\"ja\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199\",\"name\":\"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/swift4_3.jpg\",\"datePublished\":\"1970-01-01T00:00:00+00:00\",\"dateModified\":\"2024-05-06T02:45:22+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#primaryimage\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/swift4_3.jpg\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2017\\\/10\\\/swift4_3.jpg\",\"width\":810,\"height\":460},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/36199#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0\",\"description\":\"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#organization\",\"name\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/wp-content\\\/uploads\\\/2023\\\/07\\\/logo.png\",\"width\":600,\"height\":600,\"caption\":\"\u682a\u5f0f\u4f1a\u793eSAMURAI\"},\"image\":{\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\",\"https:\\\/\\\/x.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\\\/featured\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/#\\\/schema\\\/person\\\/e8ca7fd09857a736a25e6b4455a3ab61\",\"name\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g\",\"caption\":\"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8\"},\"description\":\"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\\\/Web\u958b\u767a\\\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\\\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\\\/\u30b2\u30fc\u30e0\u958b\u767a\\\/AI\\\/Web\u30c7\u30b6\u30a4\u30f3\",\"sameAs\":[\"https:\\\/\\\/www.sejuku.net\\\/\",\"https:\\\/\\\/www.facebook.com\\\/sejuku2013\\\/\",\"https:\\\/\\\/www.instagram.com\\\/samuraiengineer_official\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/samuraijuku\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCCFOQO5aDK0xXam4cUQXT8g\"],\"url\":\"https:\\\/\\\/www.sejuku.net\\\/blog\\\/author\\\/samurai-blog\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.sejuku.net\/blog\/36199","og_locale":"ja_JP","og_type":"article","og_title":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","og_url":"https:\/\/www.sejuku.net\/blog\/36199","og_site_name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","article_publisher":"https:\/\/www.facebook.com\/sejuku2013","article_author":"https:\/\/www.facebook.com\/sejuku2013\/","article_published_time":"1970-01-01T00:00:00+00:00","article_modified_time":"2024-05-06T02:45:22+00:00","og_image":[{"width":810,"height":460,"url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg","type":"image\/jpeg"}],"author":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/samuraijuku","twitter_site":"@samuraijuku","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.sejuku.net\/blog\/36199#article","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/36199"},"author":{"name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61"},"headline":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03","datePublished":"1970-01-01T00:00:00+00:00","dateModified":"2024-05-06T02:45:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/36199"},"wordCount":163,"publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/36199#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg","keywords":["Swift3","Swift4","Swift\u5165\u9580"],"articleSection":["Swift"],"inLanguage":"ja"},{"@type":"WebPage","@id":"https:\/\/www.sejuku.net\/blog\/36199","url":"https:\/\/www.sejuku.net\/blog\/36199","name":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 | \u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","isPartOf":{"@id":"https:\/\/www.sejuku.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.sejuku.net\/blog\/36199#primaryimage"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/36199#primaryimage"},"thumbnailUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg","datePublished":"1970-01-01T00:00:00+00:00","dateModified":"2024-05-06T02:45:22+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u300c \u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03 \u300d\u306b\u3064\u3044\u3066\u3001\u8ab0\u3067\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u306b\u89e3\u8aac\u3057\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3092\u8aad\u3081\u3070\u3001\u3042\u306a\u305f\u306e\u60a9\u307f\u304c\u89e3\u6c7a\u3059\u308b\u3060\u3051\u3058\u3083\u306a\u304f\u3001\u65b0\u305f\u306a\u6c17\u4ed8\u304d\u3082\u767a\u898b\u3067\u304d\u308b\u3053\u3068\u3067\u3057\u3087\u3046\u3002\u304a\u60a9\u307f\u306e\u65b9\u306f\u305c\u3072\u3054\u4e00\u8aad\u304f\u3060\u3055\u3044\u3002","breadcrumb":{"@id":"https:\/\/www.sejuku.net\/blog\/36199#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.sejuku.net\/blog\/36199"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/36199#primaryimage","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2017\/10\/swift4_3.jpg","width":810,"height":460},{"@type":"BreadcrumbList","@id":"https:\/\/www.sejuku.net\/blog\/36199#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.sejuku.net\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3053\u3053\u304c\u5909\u308f\u3063\u305f\uff01Swift4\u3068Swift3\u5fb9\u5e95\u6bd4\u8f03"}]},{"@type":"WebSite","@id":"https:\/\/www.sejuku.net\/blog\/#website","url":"https:\/\/www.sejuku.net\/blog\/","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u30d6\u30ed\u30b0","description":"\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u5b66\u7fd2\u306e\u3059\u3079\u3066\u304c\u30b3\u30b3\u306b\u3002","publisher":{"@id":"https:\/\/www.sejuku.net\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.sejuku.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/www.sejuku.net\/blog\/#organization","name":"\u682a\u5f0f\u4f1a\u793eSAMURAI","url":"https:\/\/www.sejuku.net\/blog\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","contentUrl":"https:\/\/www.sejuku.net\/blog\/wp-content\/uploads\/2023\/07\/logo.png","width":600,"height":600,"caption":"\u682a\u5f0f\u4f1a\u793eSAMURAI"},"image":{"@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/sejuku2013","https:\/\/x.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g\/featured"]},{"@type":"Person","@id":"https:\/\/www.sejuku.net\/blog\/#\/schema\/person\/e8ca7fd09857a736a25e6b4455a3ab61","name":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/507c280c5c67d2c11fec4fdba20e5bf1ec2fe91f9deb42d2ec50382778b311bf?s=96&d=mm&r=g","caption":"\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u7de8\u96c6\u90e8"},"description":"\u3010\u30d7\u30ed\u30d5\u30a3\u30fc\u30eb\u3011 DX\u8a8d\u5b9a\u53d6\u5f97\u4e8b\u696d\u8005\u306b\u9078\u5b9a\u3055\u308c\u3066\u3044\u308b\u682a\u5f0f\u4f1a\u793eSAMURAI\u306e\u30de\u30fc\u30b1\u30c6\u30a3\u30f3\u30b0\u30fb\u30b3\u30df\u30e5\u30cb\u30b1\u30fc\u30b7\u30e7\u30f3\u90e8\u304c\u904b\u55b6\u3002\u300c\u8cea\u306e\u9ad8\u3044IT\u6559\u80b2\u3092\u3001\u3059\u3079\u3066\u306e\u4eba\u306b\u300d\u3092\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u3001IT\u30fb\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b66\u3073\u59cb\u3081\u305f\u521d\u5b66\u8005\u306e\u65b9\u306b\u5411\u3051\u8a18\u4e8b\u3092\u57f7\u7b46\u3002 \u7d2f\u8a08\u6307\u5c0e\u8005\u65704\u4e075,000\u540d\u4ee5\u4e0a\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb\u300c\u4f8d\u30a8\u30f3\u30b8\u30cb\u30a2\u300d\u3001\u7d2f\u8a08\u767b\u9332\u8005\u65701\u4e078,000\u4eba\u4ee5\u4e0a\u306e\u30aa\u30f3\u30e9\u30a4\u30f3\u5b66\u7fd2\u30b5\u30fc\u30d3\u30b9\u300c\u4f8d\u30c6\u30e9\u30b3\u30e4\u300d\u3067\u6271\u3046\u6559\u6750\u958b\u767a\u306e\u30ce\u30a6\u30cf\u30a6\u30012013\u5e74\u306e\u5275\u696d\u304b\u3089\u904b\u55b6\u3067\u5f97\u305f\u77e5\u898b\u306b\u57fa\u3065\u304d\u3001\u8a18\u4e8b\u306e\u57f7\u7b46\u3060\u3051\u3067\u306a\u304f\u7de8\u96c6\u30fb\u76e3\u4fee\u3082\u62c5\u5f53\u3057\u3066\u3044\u307e\u3059\u3002 \u3010\u5c02\u9580\u5206\u91ce\u3011 IT\/Web\u958b\u767a\/AI\u30fb\u30ed\u30dc\u30c3\u30c8\u958b\u767a\/\u30a4\u30f3\u30d5\u30e9\u958b\u767a\/\u30b2\u30fc\u30e0\u958b\u767a\/AI\/Web\u30c7\u30b6\u30a4\u30f3","sameAs":["https:\/\/www.sejuku.net\/","https:\/\/www.facebook.com\/sejuku2013\/","https:\/\/www.instagram.com\/samuraiengineer_official\/","https:\/\/x.com\/https:\/\/twitter.com\/samuraijuku","https:\/\/www.youtube.com\/channel\/UCCFOQO5aDK0xXam4cUQXT8g"],"url":"https:\/\/www.sejuku.net\/blog\/author\/samurai-blog"}]}},"_links":{"self":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/36199","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/comments?post=36199"}],"version-history":[{"count":0,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/posts\/36199\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media\/105618"}],"wp:attachment":[{"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/media?parent=36199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/categories?post=36199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sejuku.net\/blog\/wp-json\/wp\/v2\/tags?post=36199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}