{"id":6174,"date":"2016-12-12T20:41:48","date_gmt":"2016-12-12T20:41:48","guid":{"rendered":"http:\/\/bestkora.com\/IosDeveloper\/?p=6174"},"modified":"2016-12-18T06:06:40","modified_gmt":"2016-12-18T06:06:40","slug":"osobennosti-migratsii-s-swift-2-v-swift-3","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/","title":{"rendered":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2"},"content":{"rendered":"<p>\u0423\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e <strong>Xcode 8.2<\/strong> \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0440\u0435\u043b\u0438\u0437\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e<strong> Swift 2.3<\/strong>.\u00a0\u0421\u0435\u0439\u0447\u0430\u0441 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u0435\u0439\u00a0<strong>Swift 3.0<\/strong> \u0438 <strong>Apple <a href=\"https:\/\/swift.org\/blog\/swift-3-1-release-process\/\">\u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 Swift \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 3.1 \u0432\u0435\u0441\u043d\u043e\u0439 2017 \u0433.<\/a><\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u044f\u0437\u044b\u043a\u0430, \u0443\u043b\u0443\u0447\u0448\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 <strong>Swift Package Manager<\/strong> \u0438 <strong>Swift<\/strong> \u043d\u0430 <strong>Linux<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438. \u042d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u0431\u0443\u0434\u0435\u0442 <strong><a href=\"https:\/\/swift.org\/blog\/swift-3-1-release-process\/#source-compatibility\">source \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u0430 <\/a><\/strong>\u0441 <strong>Swift 3.0<\/strong>. \u0422\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u0447\u0435\u0442\u043a\u0430\u044f \u0446\u0435\u043b\u044c : \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u043e\u0434\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430 \u00a0<strong>Swift 3.0<\/strong>, \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0441\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c <strong>Swift 3.1<\/strong>\u00a0\u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f. \u0418\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043e\u0448\u0438\u0431\u043a\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u043e\u043c, \u043d\u043e \u0432 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0440\u0435\u0434\u043a\u043e.<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u00a0\u043a\u043e\u043c\u0430\u043d\u0434\u0430 <strong>Swift<\/strong> \u0441\u043e\u0441\u0440\u0435\u0434\u043e\u0442\u043e\u0447\u0438\u0442\u0441\u044f \u043d\u0430 <strong>Swift 4<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u00a0\u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442 <strong><a href=\"https:\/\/github.com\/apple\/swift-evolution\">ABI \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u044c<\/a><\/strong> \u0434\u043b\u044f \u00a0<strong>Swift<\/strong>.<\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0441\u0430\u043c\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u044c \u0441\u0435\u0439\u0447\u0430\u0441 \u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 <strong>Swift 3<\/strong>.<\/p>\n<p>\u042f \u0445\u043e\u0447\u0443 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c \u043e\u043f\u044b\u0442\u043e\u043c \u0442\u0430\u043a\u043e\u0439 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c <strong>&#171;<a href=\"https:\/\/itunes.apple.com\/us\/course\/developing-ios-9-apps-swift\/id1104579961\">Developing iOS 9 Apps with Swift<\/a>&#171;<\/strong>, \u043a\u0430\u043a \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 (\u0438\u0445 12), \u0442\u0430\u043a \u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0445 \u0432 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0417\u0430\u0434\u0430\u043d\u0438\u0439 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0435\u0433\u043e \u043a\u0443\u0440\u0441\u0430 (\u0438\u0445 6 \u00a0\u0441 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438). \u041e\u043d\u0438 \u0432\u0441\u0435 \u0440\u0430\u0437\u043d\u043e\u0439 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u043d\u043e \u0442\u0430\u043c \u0435\u0441\u0442\u044c \u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u0432 <strong><span style=\"color: #0000ff;\">drawRect<\/span><\/strong>, \u0438 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c, \u0438 \u043f\u043e\u043a\u0430\u0437 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong><span style=\"color: #0000ff;\">ScrollView<\/span><\/strong>, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c <strong>Twitter<\/strong>, \u0438 \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 <strong>Core<\/strong> <strong>Data<\/strong>, \u0438 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043e\u0431\u043b\u0430\u0447\u043d\u044b\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u043c <strong>Cloud<\/strong> <strong>Kit<\/strong>, \u0438 \u043a\u0430\u0440\u0442\u044b <strong>Map<\/strong> <strong>Kit<\/strong>. \u0418 \u0432\u0441\u0435 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u043d\u0430<span style=\"text-decoration: underline;\"><strong> Swift 2.2<\/strong><\/span>\u00a0 (<strong><a href=\"http:\/\/web.stanford.edu\/class\/cs193p\/cgi-bin\/drupal\/\">stanford.edu<\/a><\/strong>) \u0438 \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043d\u0430<strong><span style=\"text-decoration: underline;\"> Swift 3<\/span><\/strong>. \u041a\u043e\u0434 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0445 \u043a\u0443\u0440\u0441\u043e\u0432 \u0434\u043b\u044f <span style=\"text-decoration: underline;\"><strong>Swift 2.3<\/strong><\/span>\u00a0\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 <strong><a href=\"https:\/\/github.com\/BestKora\/Swift-2.3-Demo-Spring-2016\">Github<\/a><\/strong>, \u0430 \u0434\u043b\u044f <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>\u00a0&#8212; \u043d\u0430 <strong><a href=\"https:\/\/github.com\/BestKora\/Swift-3.0-Demo-Spring-2016\">Github<\/a><\/strong>.<\/p>\n<p><!--more--><\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0435\u0448\u0438\u043b\u0438 \u043c\u0438\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430 <strong>Swift 3<\/strong>, \u0442\u043e \u0432<strong> Xcode 8<\/strong> \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 (\u0441\u0432\u043e\u0435\u0431\u0440\u0430\u0437\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187;) c \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u043d\u044e\u00a0<em class=\"markup--em markup--p-em\"><strong>Edit-<\/strong>&gt;<strong>Convert<\/strong>-&gt;<strong>to Current Swift Syntax<\/strong><\/em>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6209 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM.png\" alt=\"screen-shot-2016-11-23-at-6-17-44-pm\" width=\"1390\" height=\"858\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM.png 1390w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM-300x185.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM-768x474.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM-1024x632.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM-486x300.png 486w\" sizes=\"auto, (max-width: 1390px) 100vw, 1390px\" \/><\/a><\/p>\n<p>\u0414\u0430\u043b\u0435\u0435 \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442<span style=\"text-decoration: underline;\"> \u043a\u0430\u0440\u0442\u0443\u00a0\u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439\u00a0<\/span>\u043c\u0435\u0436\u0434\u0443 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u00a0<strong>Swift 2<\/strong>\u00a0\u0438 \u043a\u043e\u0434\u043e\u043c <strong>Swift 3<\/strong>,\u00a0\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u043b \u044d\u0442\u043e\u0442 &#171;\u0440\u043e\u0431\u043e\u0442&#187;:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6211 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM.png\" alt=\"screen-shot-2016-11-23-at-10-38-01-pm\" width=\"1992\" height=\"928\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM.png 1992w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM-300x140.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM-768x358.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM-1024x477.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-10.38.01-PM-500x233.png 500w\" sizes=\"auto, (max-width: 1992px) 100vw, 1992px\" \/><\/a><\/p>\n<p>\u041d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0432 <strong>Xcode 8.2<\/strong> \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0435\u0432\u043e\u0441\u0445\u043e\u0434\u043d\u043e \u043f\u043e \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044e \u0441 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 \u0432 <strong>Xcode 8.0<\/strong>, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c. \u041d\u043e\u0432\u044b\u0439 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; &#8212; \u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0438 \u043e\u0447\u0435\u043d\u044c \u0440\u0430\u0437\u0443\u043c\u043d\u044b\u0439. \u041d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u044d\u0442\u043e\u0439 <span style=\"text-decoration: underline;\">\u043a\u0430\u0440\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439<\/span> \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0438\u0437\u0443\u0447\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u0435\u0442\u0435\u0440\u043f\u0435\u043b\u0438 \u0442\u0435 \u0438\u043b\u0438 \u0438\u043d\u044b\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0432 <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>. \u041c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0434\u0435\u043b\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u043e \u0437\u0430\u043c\u0435\u043d\u0435 \u0438\u043c\u0435\u043d \u0438 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432, \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u044f, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0440\u0430\u043d\u0435\u0435 \u043e\u0431\u044b\u0447\u043d\u044b\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 <strong>G<span style=\"color: #000000;\">eneric<\/span><\/strong> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong><span style=\"color: #0000ff;\">NSFetchRequest<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>Generic<\/strong> \u0432 \u00a0<strong>Swift 2<\/strong>, \u043d\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0432\u044b\u043c \u0432 <strong>Swift 3<\/strong>). \u041e\u043d \u043c\u043e\u0436\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u043e\u0432\u044b\u043c \u043a\u043e\u0434\u043e\u043c \u0446\u0435\u043b\u044b\u0435 &#171;\u043f\u0430\u0442\u0442\u0435\u0440\u043d\u044b&#187;, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0441\u0438\u043d\u0433\u043b\u0442\u043e\u043d, \u0435\u0441\u043b\u0438 \u043e\u043d \u0431\u044b\u043b \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d \u0441\u0442\u0430\u0440\u044b\u043c\u0438 \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u043c\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong><span style=\"color: #0000ff;\">dispatch_once (&amp;onceToken)<\/span><\/strong>.<\/p>\n<p>\u041d\u0438\u0436\u0435 \u044f \u043f\u043e\u043a\u0430\u0436\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u044d\u0442\u043e\u0433\u043e. \u041e\u043d \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 &#171;\u043d\u0435 \u043d\u0430\u0432\u0440\u0435\u0434\u0438&#187; \u0438 \u0433\u0434\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u043e\u0436\u043d\u043e \u0441\u0442\u0430\u0440\u0430\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0438\u043c\u0435\u044e\u0449\u0435\u0433\u043e\u0441\u044f \u043a\u043e\u0434\u0430, \u0434\u0430\u0436\u0435 \u0432\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434. \u0412\u0430\u043c \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u044d\u0442\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u0441\u043f\u0438\u0441\u043e\u043a \u0442\u0435 \u043c\u0435\u0441\u0442\u0430, \u043a\u043e\u0434 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0432\u0430\u043c \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u0435\u043d \u0438\u043b\u0438 \u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0438 \u043c\u0435\u043d\u0435\u0435 \u0447\u0438\u0442\u0430\u0435\u043c\u044b\u043c. \u041d\u0430\u0437\u043e\u0432\u0435\u043c \u044d\u0442\u043e <span style=\"text-decoration: underline;\">\u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0434\u043b\u044f \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430<\/span>.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u044b \u0441 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u00ab\u0440\u043e\u0431\u043e\u0442\u043e\u043c\u00bb \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438, \u0442\u043e \u0432\u044b \u0438\u0445 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0435\u0442\u0435 \u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0434\u0430\u043b\u044c\u0448\u0435. \u041d\u043e, \u043a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c, \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0434\u0435\u043b\u0430\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0430\u0441\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u044b \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u0443\u0435\u043c\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432 <strong>Swift 3<\/strong>. \u0412 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f 2-3 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 3-4 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0432\u0430\u0448\u0438\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u0448\u0430\u0433\u043e\u043c \u0431\u0443\u0434\u0435\u0442 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u043d\u0430\u0432\u0438\u0433\u0430\u0442\u043e\u0440\u0430 &#171;\u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439&#187;\u00a0(\u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c)\u00a0\u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u0445 \u0432\u0441\u0435 \u043e\u0434\u043d\u043e\u0433\u043e \u0437\u0430 \u0434\u0440\u0443\u0433\u0438\u043c:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6215 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM.png\" alt=\"screen-shot-2016-11-24-at-12-22-44-pm\" width=\"1766\" height=\"1000\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM.png 1766w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM-300x170.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM-768x435.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM-1024x580.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-12.22.44-PM-500x283.png 500w\" sizes=\"auto, (max-width: 1766px) 100vw, 1766px\" \/><\/a><\/p>\n<p>\u0414\u043b\u044f \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0430 \u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442\u0441\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0440\u0435\u0448\u0435\u043d\u0438\u044f, \u0438, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u044d\u0442\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6217 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM.png\" alt=\"screen-shot-2016-11-24-at-2-19-35-pm\" width=\"1470\" height=\"296\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM.png 1470w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM-300x60.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM-768x155.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM-1024x206.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-2.19.35-PM-500x101.png 500w\" sizes=\"auto, (max-width: 1470px) 100vw, 1470px\" \/><\/a><\/p>\n<p>\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c &#171;\u043a\u0430\u0441\u0442\u0438\u043d\u0433 \u0442\u0438\u043f\u0430&#187; \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<strong><span style=\"color: #0000ff;\"> json<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432 <strong>Swift 3<\/strong>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0442\u0438\u043f <strong><span style=\"color: #0000ff;\">Any<\/span><\/strong>, \u0445\u043e\u0442\u044f \u00a0\u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u043d\u0435\u0439 \u043a\u0430\u043a \u0441 \u0441\u0441\u044b\u043b\u043e\u0447\u043d\u043e\u0439 (<strong>reference<\/strong>) \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439. \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6222 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM.png\" alt=\"screen-shot-2016-11-24-at-6-13-59-pm\" width=\"1046\" height=\"120\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM.png 1046w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM-300x34.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM-768x88.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM-1024x117.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.13.59-PM-500x57.png 500w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><\/p>\n<p>\u041d\u043e \u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438.<br \/>\n\u0421\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u00ab\u0440\u043e\u0431\u043e\u0442\u0430\u00bb \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u00ab\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0439\u00bb \u043e\u0447\u0435\u0440\u0435\u0434\u0438 (\u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e \u044d\u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043d\u0438\u0436\u0435):<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6219 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM.png\" alt=\"screen-shot-2016-11-24-at-4-51-19-pm\" width=\"1622\" height=\"692\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM.png 1622w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM-300x128.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM-768x328.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM-1024x437.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.51.19-PM-500x213.png 500w\" sizes=\"auto, (max-width: 1622px) 100vw, 1622px\" \/><\/a><\/p>\n<p>\u0412\u043c\u0435\u0441\u0442\u043e \u0434\u0432\u0443\u0445 \u0441\u0442\u0440\u043e\u043a \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0434\u043d\u0443 \u0441\u0442\u0440\u043e\u043a\u0443 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u043c \u043a\u043e\u0434\u043e\u043c:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6220 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM.png\" alt=\"screen-shot-2016-11-24-at-4-56-49-pm\" width=\"1602\" height=\"694\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM.png 1602w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM-300x130.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM-768x333.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM-1024x444.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-4.56.49-PM-500x217.png 500w\" sizes=\"auto, (max-width: 1602px) 100vw, 1602px\" \/><\/a><\/p>\n<p>\u0418\u043d\u043e\u0433\u0434\u0430 \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u044b, \u0438 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043b\u044e\u0431\u043e\u0439:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6221 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM.png\" alt=\"screen-shot-2016-11-24-at-5-49-33-pm\" width=\"1134\" height=\"256\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM.png 1134w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM-300x68.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM-768x173.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM-1024x231.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-5.49.33-PM-500x113.png 500w\" sizes=\"auto, (max-width: 1134px) 100vw, 1134px\" \/><\/a><\/p>\n<p>\u041d\u0430\u043c \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043d\u0435\u044f\u0432\u043d\u043e \u043f\u0440\u043e\u0438\u0437\u043e\u0439\u0434\u0435\u0442 \u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435<span style=\"color: #0000ff;\"><strong> String?<\/strong><\/span> \u0432 <strong><span style=\"color: #0000ff;\">Any<\/span><\/strong>&#171;. \u042d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0442\u0440\u0435\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0443\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435:<\/p>\n<ol>\n<li>\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e,<\/li>\n<li>\u043f\u0440\u0438\u043d\u0443\u0434\u0438\u0442\u0435\u043b\u044c\u043d\u043e &#171;\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c&#187; <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435,<\/li>\n<li>\u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c \u044f\u0432\u043d\u044b\u0439 &#171;\u043a\u0430\u0441\u0442\u0438\u043d\u0433&#187; \u0432 <strong><span style=\"color: #0000ff;\">Any<\/span><\/strong> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0434\u0430 <strong><span style=\"color: #0000ff;\">as Any<\/span><\/strong><\/li>\n<\/ol>\n<p>\u041c\u044b \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0438 \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u0443\u044e \u0441\u0442\u0440\u043e\u043a\u0443 <strong><span style=\"color: #0000ff;\">&#187; &#171;<\/span><\/strong>, \u0435\u0441\u043b\u0438 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0432\u043d\u043e<strong><span style=\"color: #0000ff;\"> nil<\/span><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6223 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM.png\" alt=\"screen-shot-2016-11-24-at-6-18-36-pm\" width=\"1032\" height=\"146\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM.png 1032w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM-300x42.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM-768x109.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM-1024x145.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-24-at-6.18.36-PM-500x71.png 500w\" sizes=\"auto, (max-width: 1032px) 100vw, 1032px\" \/><\/a><br \/>\n\u0412\u043e\u043e\u0431\u0449\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f &#8212; \u044d\u0442\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u043f\u043e\u0432\u043e\u0434 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0431\u043e\u043b\u0435\u0435 \u0448\u0438\u0440\u043e\u043a\u043e \u0432\u0437\u0433\u043b\u044f\u043d\u0443\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439 \u043a\u043e\u0434 \u0438, \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c, \u0443\u043b\u0443\u0447\u0448\u0438\u0442\u044c \u0435\u0433\u043e.<\/p>\n<p>\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u00a0\u043e\u0448\u0438\u0431\u043e\u043a \u0438 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439 \u0432\u0430\u043c \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0438 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u044d\u0442\u0430\u043f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438.<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0444\u043e\u043a\u0443\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043d\u0430 <span style=\"text-decoration: underline;\">\u0441\u043f\u0438\u0441\u043a\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u043d\u0430 \u0443\u0442\u043e\u0447\u043d\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430<\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u043b\u0438 \u043f\u0440\u0438 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0435 <span style=\"text-decoration: underline;\">\u043a\u0430\u0440\u0442\u044b \u0440\u0430\u0437\u043b\u0438\u0447\u0438\u0439<\/span> \u043c\u0435\u0436\u0434\u0443 \u0434\u0432\u0443\u043c\u044f \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438: <strong>Swift 2<\/strong> \u0438 <strong>Swift 3<\/strong>. \u0412\u0435\u0441\u044c \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u0435\u043d, \u043d\u043e \u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043b\u0438\u0431\u043e \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u044b\u043c, \u043b\u0438\u0431\u043e \u043d\u0435\u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u043c, \u043b\u0438\u0431\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442\u044c \u043a \u043e\u0448\u0438\u0431\u043a\u0430\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f. \u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0439 \u0438\u043c\u0435\u044e\u0442 \u043e\u0431\u0449\u0438\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0430 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 &#8212; \u0441\u0438\u043b\u044c\u043d\u043e \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0438 \u0432\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u042f \u043f\u043e\u0434\u0435\u043b\u044e\u0441\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0438\u0437 \u043d\u0438\u0445, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043c\u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u0441\u044f \u043f\u0440\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043a\u0443\u0440\u0441\u0430\u00a0\u00a0<strong>&#171;<a href=\"https:\/\/itunes.apple.com\/us\/course\/developing-ios-9-apps-swift\/id1104579961\">Developing iOS 9 Apps with Swift<\/a>&#171;<\/strong>\u00a0.<\/p>\n<p><span style=\"text-decoration: underline;\">1. \u041d\u0443\u0436\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff; text-decoration: underline;\">fileprivate<\/span><\/strong> \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 <strong><span style=\"color: #0000ff; text-decoration: underline;\">private<\/span><\/strong>.<\/span> \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u00a0<strong>Swift 3<\/strong> \u0432\u0441\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff;\">fileprivate<\/span><\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u0432 <strong>Swift 2<\/strong> \u0438\u043c\u0435\u043b \u0441\u043c\u044b\u0441\u043b \u0438\u043c\u0435\u043d\u043d\u043e <strong><span style=\"color: #0000ff;\">fileprvate<\/span><\/strong>.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6236 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM.png\" alt=\"screen-shot-2016-11-25-at-10-51-53-am\" width=\"2024\" height=\"920\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM.png 2024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM-300x136.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM-768x349.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM-1024x465.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.51.53-AM-500x227.png 500w\" sizes=\"auto, (max-width: 2024px) 100vw, 2024px\" \/><\/a><\/p>\n<p>\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0443 &#171;\u043d\u0435 \u043d\u0430\u0432\u0440\u0435\u0434\u0438&#187;, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043e\u043d \u0437\u0430\u043c\u0435\u043d\u0438\u043b \u0432\u0441\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 <strong><span style=\"color: #0000ff;\">fileprivate<\/span><\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043b \u043e\u0431\u043b\u0430\u0441\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445 \u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6238 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM.png\" alt=\"screen-shot-2016-11-25-at-12-44-18-pm\" width=\"1400\" height=\"570\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM.png 1400w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM-300x122.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM-768x313.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM-1024x417.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.44.18-PM-500x204.png 500w\" sizes=\"auto, (max-width: 1400px) 100vw, 1400px\" \/><\/a><\/p>\n<p>\u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u044d\u0442\u043e \u0438\u0437\u043b\u0438\u0448\u043d\u044f\u044f \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e\u0441\u0442\u044c, \u0438 \u043d\u0430\u043c \u0432\u043e\u0432\u0441\u0435 \u043d\u0435 \u043d\u0443\u0436\u0435\u043d \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff;\">fileprivate<\/span><\/strong>, \u043d\u043e \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0435\u0448\u0438\u0442\u044c \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0432 \u0441\u0432\u043e\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u0438 \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0432 \u0440\u0443\u0447\u043d\u043e\u043c \u0440\u0435\u0436\u0438\u043c\u0435.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0435 <strong>framework<\/strong>, \u0442\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0432 <strong>Swift 3<\/strong>\u00a0\u0437\u0430\u043c\u0435\u043d\u0438\u0442 \u0432\u0441\u0435 \u0443\u0440\u043e\u0432\u043d\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430\u00a0<strong><span style=\"color: #0000ff;\">public<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432 <strong>Swift 2<\/strong>, \u043d\u0430 \u043d\u043e\u0432\u044b\u0439 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <span style=\"color: #0000ff;\"><b>open<\/b><\/span>. \u042d\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043b\u0430\u0441\u0441\u043e\u0432.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6237 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM.png\" alt=\"screen-shot-2016-11-25-at-10-49-19-am\" width=\"2156\" height=\"826\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM.png 2156w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM-300x115.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM-768x294.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM-1024x392.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-10.49.19-AM-500x192.png 500w\" sizes=\"auto, (max-width: 2156px) 100vw, 2156px\" \/><\/a><\/p>\n<p>\u0412 <strong>Swift 3<\/strong>:<\/p>\n<ul>\n<li>\u00a0<span style=\"color: #0000ff;\"><b>open<\/b><\/span>\u00a0\u043a\u043b\u0430\u0441\u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0438 \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c <b><em>subclasses<\/em><\/b>\u00a0\u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b\u00a0<span style=\"color: #0000ff;\"><b>open<\/b><\/span>\u00a0\u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0438 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b (<b><em>overridable<\/em><\/b>)\u00a0\u00a0\u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441.<\/li>\n<li><span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0\u043a\u043b\u0430\u0441\u0441 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d. \u043d\u043e \u043d\u0435 \u043c\u043e\u0436\u0435\u0442 \u0438\u043c\u0435\u0442\u044c <b><em>subclasses<\/em><\/b>\u00a0\u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043e\u043d \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b\u00a0<span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0\u043a\u043b\u0430\u0441\u0441\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b, \u043d\u043e \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u043f\u0440\u0435\u0434\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u044b (<b><em>overridable<\/em><\/b>)\u00a0\u00a0\u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u043c\u043e\u0434\u0443\u043b\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441.<\/li>\n<\/ul>\n<p>\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <span style=\"color: #0000ff;\"><b>open<\/b><\/span> &#8212; \u044d\u0442\u043e \u0442\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e <span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0\u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u0432\u0435\u0440\u0441\u0438\u044f\u0445 <strong>Swift<\/strong>, \u0430 \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0\u0431\u043e\u043b\u0435\u0435 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d. \u041a\u0440\u0438\u0441 \u041b\u0430\u0442\u0442\u043d\u0435\u0440 \u0441\u043a\u0430\u0437\u0430\u043b \u0432 <strong><a href=\"https:\/\/lists.swift.org\/pipermail\/swift-evolution-announce\/2016-July\/000268.html\" rel=\"nofollow noreferrer\">SE-0177: Allow distinguishing between public access and public overridability<\/a><\/strong>, \u0447\u0442\u043e \u0432 <strong>Swift 3<\/strong> \u00a0\u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430\u00a0<span style=\"color: #0000ff;\"><b>open<\/b><\/span>\u00a0\u043f\u0440\u043e\u0441\u0442\u043e \u0431\u043e\u043b\u0435\u0435 \u00a0<span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0, \u0447\u0435\u043c \u00a0<span style=\"color: #0000ff;\"><b>public<\/b><\/span>. \u0415\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c\u00a0<strong><a class=\"markup--anchor markup--li-anchor\" href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0025-scoped-access-level.md\" target=\"_blank\" rel=\"nofollow\" data-href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0025-scoped-access-level.md\">SE-0025 Scoped Access Level<\/a><\/strong><span style=\"color: #000000;\">.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6239 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM.png\" alt=\"screen-shot-2016-11-25-at-12-45-19-pm\" width=\"1460\" height=\"640\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM.png 1460w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM-300x132.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM-768x337.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM-1024x449.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-12.45.19-PM-500x219.png 500w\" sizes=\"auto, (max-width: 1460px) 100vw, 1460px\" \/><\/a><\/p>\n<p>\u041f\u0440\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 <strong>frameworks<\/strong> \u0432 <strong>Swift<\/strong> 3 \u043c\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u0443\u0440\u043e\u0432\u0435\u043d\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0430 <strong><span style=\"color: #0000ff;\">open<\/span><\/strong> \u043d\u0430\u0437\u0430\u0434 \u0432 <strong><span style=\"color: #0000ff;\">public<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">. \u0417\u0434\u0435\u0441\u044c<\/span><\/span> \u043d\u0430\u0441 \u0432\u0441\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442.<\/p>\n<p>\u0412\u043e\u043e\u0431\u0449\u0435 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0443\u0440\u043e\u0432\u043d\u0435\u0439 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0432<strong> Swift 3<\/strong> \u0442\u0430\u043a \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u043e\u0440\u044f\u0434\u043a\u0435 \u0443\u0431\u044b\u0432\u0430\u043d\u0438\u044f:<\/p>\n<p><span style=\"color: #0000ff;\"><b>open<\/b><\/span> -&gt; <span style=\"color: #0000ff;\"><b>public<\/b><\/span>\u00a0-&gt; <span style=\"color: #0000ff;\"><b>internal<\/b><\/span>\u00a0-&gt; <span style=\"color: #0000ff;\"><strong>fileprivate<\/strong><\/span>\u00a0-&gt; <span style=\"color: #0000ff;\"><b>private<\/b><\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"text-decoration: underline;\">\u00a02. \u0412\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c <strong>Optional<\/strong> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0432 <strong>Swift 3<\/strong>.<\/span><br \/>\n\u041f\u0440\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0441\u00a0<strong>Swift 2<\/strong>\u00a0\u043d\u0430\u00a0<strong>Swift 3<\/strong>\u00a0\u0438\u043d\u043e\u0433\u0434\u0430 \u043f\u0435\u0440\u0435\u0434 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u043a\u043b\u0430\u0441\u0441\u0430\u043c\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0434:<\/span><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6167 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM.png\" alt=\"screen-shot-2016-11-19-at-8-02-26-pm\" width=\"1042\" height=\"516\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM.png 1042w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM-300x149.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM-768x380.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM-1024x507.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.02.26-PM-500x248.png 500w\" sizes=\"auto, (max-width: 1042px) 100vw, 1042px\" \/><\/a><\/p>\n<p>\u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u00a0<strong>Swift 2<\/strong>\u00a0\u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0442\u044c\u00a0<strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong>\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6170 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM.png\" alt=\"screen-shot-2016-11-19-at-8-19-43-pm\" width=\"1018\" height=\"58\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM.png 1018w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM-300x17.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM-768x44.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM-1000x58.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.19.43-PM-500x28.png 500w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438\u043b\u0438 \u0442\u0430\u043a:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6169 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM.png\" alt=\"screen-shot-2016-11-19-at-8-17-55-pm\" width=\"1008\" height=\"60\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM.png 1008w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM-300x18.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM-768x46.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM-1000x60.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.17.55-PM-500x30.png 500w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u00a0<strong>Swift 3<\/strong>\u00a0\u0442\u0430\u043a\u0443\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0443\u0431\u0440\u0430\u043b\u0438\u00a0(<strong><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0121-remove-optional-comparison-operators.md\">SE-0121 \u2013 Remove Optional Comparison Operators<\/a><\/strong>) \u0438 \u0434\u043b\u044f \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0432\u00a0<strong>Swift 3<\/strong>\u00a0\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442 \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434, \u0447\u0442\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0443\u0434\u043e\u0431\u043d\u043e \u043d\u0430 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u043c \u044d\u0442\u0430\u043f\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 \u00a0<strong>Swift 3<\/strong>, \u043d\u043e \u043d\u0435\u043a\u0440\u0430\u0441\u0438\u0432\u043e, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong>\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0432 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u0430\u0445 \u043a\u043b\u0430\u0441\u0441\u0430\u0445, \u0442\u043e \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u0434 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e. \u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u043d\u0443\u0436\u043d\u043e \u0443\u0434\u0430\u043b\u0438\u0442\u044c, \u0441\u0440\u0430\u0437\u0443 \u043e\u0431\u043e\u0437\u043d\u0430\u0447\u0438\u0442\u0441\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438 \u0440\u0435\u0448\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043d\u0430 \u043c\u0435\u0441\u0442\u0435, \u0432\u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0437\u0431\u0430\u0432\u0438\u0432\u0448\u0438\u0441\u044c \u043e\u0442\u00a0<strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong>\u00a0\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438<strong><span style=\"color: #0000ff;\">\u00a0if let<\/span><\/strong>, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u0432\u0435\u0434\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6171 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM.png\" alt=\"screen-shot-2016-11-19-at-8-33-21-pm\" width=\"1022\" height=\"66\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM.png 1022w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM-300x19.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM-768x50.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM-1000x66.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.33.21-PM-500x32.png 500w\" sizes=\"auto, (max-width: 1022px) 100vw, 1022px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438\u043b\u0438 \u0442\u0430\u043a:\u00a0<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6172 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM.png\" alt=\"screen-shot-2016-11-19-at-8-32-30-pm\" width=\"1012\" height=\"50\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM.png 1012w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM-300x15.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM-768x38.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM-1000x50.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-19-at-8.32.30-PM-500x25.png 500w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"text-decoration: underline;\">3. <strong>Swift 3<\/strong> \u043d\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 (<strong>bridging<\/strong>) \u0447\u0438\u0441\u043b\u0430 \u0441 <strong><span style=\"color: #0000ff; text-decoration: underline;\">NSNumber<\/span><\/strong><\/span>. <\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u00a0<strong>Swift 2<\/strong>\u00a0\u043c\u043d\u043e\u0433\u0438\u0435 \u0442\u0438\u043f\u044b \u00a0\u043f\u0440\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0441\u043e\u0432\u043c\u0435\u0449\u0430\u043b\u0438\u0441\u044c (&#171;<strong>bridging<\/strong>&#171;) \u0441 \u044d\u043a\u0437\u0435\u043c\u043f\u043b\u044f\u0440\u0430\u043c\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 <strong>subclasses<\/strong> <strong><span style=\"color: #0000ff;\">NSObject<\/span><\/strong>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<strong><span style=\"color: #0000ff;\">String<\/span><\/strong>\u00a0\u0432 <strong><span style=\"color: #0000ff;\">NSString<\/span><\/strong>, \u0438\u043b\u0438\u00a0<strong><span style=\"color: #0000ff;\">Int<\/span><\/strong>, <strong><span style=\"color: #0000ff;\">Float<\/span><\/strong>, &#8230; \u0432 <strong><span style=\"color: #0000ff;\">NSNumber<\/span><\/strong>.\u00a0<\/span><span style=\"font-weight: 400;\">\u0412 <strong>Swift 3<\/strong> \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u044f\u0432\u043d\u043e (<strong><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0072-eliminate-implicit-bridging-conversions.md\">SE -0072\u00a0Fully eliminate implicit bridging conversions from Swift<\/a><\/strong>). \u00a0<\/span><span style=\"font-weight: 400;\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <strong>Swift 2<\/strong>\u00a0\u043c\u044b \u0438\u043c\u0435\u043b\u0438 \u043a\u043e\u0434 \u0434\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0447\u0438\u0441\u043b\u0430 \u0432 \u0441\u0442\u0440\u043e\u043a\u0443:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6183 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM.png\" alt=\"screen-shot-2016-11-21-at-12-20-15-pm\" width=\"1016\" height=\"64\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM.png 1016w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM-300x19.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM-768x48.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM-1000x64.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.20.15-PM-500x31.png 500w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 <strong>Swift 3<\/strong> \u043f\u043e\u0441\u043b\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187; \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443:<\/span><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6184 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM.png\" alt=\"screen-shot-2016-11-21-at-12-23-58-pm\" width=\"1038\" height=\"84\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM.png 1038w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM-300x24.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM-768x62.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM-1024x83.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-12.23.58-PM-500x40.png 500w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0442 \u043d\u0430\u0441 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u044f\u0432\u043d\u043e\u0433\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f <strong><span style=\"color: #0000ff;\">Double<\/span><\/strong> \u0432 <span style=\"color: #0000ff;\"><strong>NSNumber<\/strong><\/span>, \u0438 \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0432\u0430 \u0441\u043f\u043e\u0441\u043e\u0431\u0430 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f &#8212; \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #0000ff;\">as \u00a0<\/span><\/strong><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6186 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM.png\" alt=\"screen-shot-2016-11-21-at-1-04-39-pm\" width=\"1036\" height=\"60\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM.png 1036w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM-300x17.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM-768x44.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM-1024x59.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.04.39-PM-500x29.png 500w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0438\u043b\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #0000ff;\">NSNumber<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6187 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM.png\" alt=\"screen-shot-2016-11-21-at-1-10-16-pm\" width=\"1018\" height=\"56\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM.png 1018w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM-300x17.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM-768x42.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM-1000x56.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-1.10.16-PM-500x28.png 500w\" sizes=\"auto, (max-width: 1018px) 100vw, 1018px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">4. <span style=\"text-decoration: underline;\">&#171;\u0420\u043e\u0431\u043e\u0442&#187;\u00a0\u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u044b\u0435 \u043e\u0447\u0435\u0440\u0435\u0434\u0438, \u043d\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441\u00a0<strong><span style=\"color: #0000ff; text-decoration: underline;\">dispatch_once<\/span><\/strong><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043e\u0431\u044b\u0447\u043d\u044b\u0439 &#171;\u043f\u0430\u0442\u0442\u0435\u0440\u043d&#187; \u0430\u0441\u0438\u043d\u0445\u0440\u043e\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u043d\u0430 \u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u044c\u043d\u043e\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438\u00a0<strong><span style=\"color: #0000ff;\">QOS_CLASS_USER_INITIATED<\/span> <\/strong>\u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u043c \u043d\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c\u00a0<strong>main queue<\/strong> \u00a0\u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 <strong>UI\u00a0<\/strong>\u043d\u0430\u00a0<strong>Swift 2<\/strong>\u00a0\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6300 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM.png\" alt=\"screen-shot-2016-11-30-at-12-48-35-pm\" width=\"1106\" height=\"660\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM.png 1106w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM-300x179.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM-768x458.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM-1024x611.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-12.48.35-PM-500x298.png 500w\" sizes=\"auto, (max-width: 1106px) 100vw, 1106px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u0442 \u0432 \u043a\u043e\u0434 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u0438 \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong><span style=\"color: #0000ff;\">global (priority: qos)<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6301 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM.png\" alt=\"screen-shot-2016-11-30-at-1-29-42-pm\" width=\"1396\" height=\"658\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM.png 1396w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM-300x141.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM-768x362.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM-1024x483.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.29.42-PM-500x236.png 500w\" sizes=\"auto, (max-width: 1396px) 100vw, 1396px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u0443\u0434\u0435\u0442 \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0435\u043d\u0430 \u0432\u00a0<strong>iOS 10<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6299 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM.png\" alt=\"screen-shot-2016-11-30-at-11-11-28-am\" width=\"1284\" height=\"302\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM.png 1284w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM-300x71.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM-768x181.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM-1024x241.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-11.11.28-AM-500x118.png 500w\" sizes=\"auto, (max-width: 1284px) 100vw, 1284px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0443\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u0443 \u043e\u0448\u0438\u0431\u043a\u0443, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u0440\u0443\u0433\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e &#8212; <strong><span style=\"color: #0000ff;\">global (qos: .userInitiated)<\/span><\/strong> :<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6302 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM.png\" alt=\"screen-shot-2016-11-30-at-1-33-32-pm\" width=\"1094\" height=\"564\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM.png 1094w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM-300x155.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM-768x396.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM-1024x528.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-30-at-1.33.32-PM-500x258.png 500w\" sizes=\"auto, (max-width: 1094px) 100vw, 1094px\" \/><\/a><\/p>\n<p>\u0417\u0430\u0442\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441<strong><span style=\"color: #0000ff;\"> dispatch_once<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0435\u043d\u0430 \u0432 <strong>Swift 3<\/strong>, \u0438 \u0435\u0435 \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043b\u0438\u0431\u043e \u0433\u043b\u043e\u0431\u0430\u043b\u044c\u043d\u043e\u0439, \u043b\u0438\u0431\u043e \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0438\u043b\u0438 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u043e\u0439.<br \/>\n\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e\u0439 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0444\u043e\u043d\u043e\u0432\u043e\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u043a\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 <strong><a href=\"https:\/\/www.flickr.com\">Flickr.com<\/a><\/strong> \u0432 <strong>Swift 2<\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6231 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM.png\" alt=\"screen-shot-2016-11-25-at-9-16-35-am\" width=\"1434\" height=\"640\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM.png 1434w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM-300x134.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM-768x343.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM-1024x457.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.16.35-AM-500x223.png 500w\" sizes=\"auto, (max-width: 1434px) 100vw, 1434px\" \/><\/a><\/p>\n<p>\u0410 \u044d\u0442\u043e \u043a\u043e\u0434 \u0432 <strong>Swift 3<\/strong> \u00a0\u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187;:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6232 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM.png\" alt=\"screen-shot-2016-11-25-at-9-35-16-am\" width=\"1270\" height=\"772\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM.png 1270w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM-300x182.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM-768x467.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM-1024x622.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.35.16-AM-494x300.png 494w\" sizes=\"auto, (max-width: 1270px) 100vw, 1270px\" \/><\/a><\/p>\n<p>\u041d\u0430\u0441 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0430\u044e\u0442, \u0447\u0442\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <strong><span style=\"color: #0000ff;\">onceToken<\/span><\/strong> \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u041e\u043d\u0430 \u043d\u0430\u043c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 \u043d\u0443\u0436\u043d\u0430, \u0438 \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0442\u0440\u043e\u043a\u0443:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6233 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM.png\" alt=\"screen-shot-2016-11-25-at-9-45-51-am\" width=\"1260\" height=\"740\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM.png 1260w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM-300x176.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM-768x451.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM-1024x601.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-25-at-9.45.51-AM-500x294.png 500w\" sizes=\"auto, (max-width: 1260px) 100vw, 1260px\" \/><\/a><\/p>\n<p><span style=\"text-decoration: underline;\">5. \u0411\u0443\u0434\u044c\u0442\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u0441 \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0445\u00a0<strong><span style=\"color: #0000ff;\">&#8230;inPlace<\/span><\/strong>, \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430\u00a0<strong>Swift 3<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong>Swift 3<\/strong>\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u043a \u0441\u043e\u0433\u043b\u0430\u0448\u0435\u043d\u0438\u044e \u043e \u043d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b\u043b\u043e \u0432 <strong>Swift 1<\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u0438\u043c\u0435\u043d\u0443\u044e\u0442\u0441\u044f \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0441\u043e\u0437\u0434\u0430\u044e\u0442 \u043b\u0438 \u043e\u043d\u0438 &#171;\u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442&#187;. \u0418 \u044d\u0442\u043e \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043c\u0435\u0442\u043e\u0434\u044b \u043d\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u0435 &#171;\u043f\u043e\u0431\u043e\u0447\u043d\u043e\u0433\u043e \u044d\u0444\u0444\u0435\u043a\u0442\u0430&#187;, \u043e\u043d\u0438, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0438\u043c\u0435\u043d\u0443\u044e\u0442\u0441\u044f <span style=\"text-decoration: underline;\">\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438<\/span>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong><span style=\"color: #0000ff;\">x.distance (to: y)<br \/>\nx = y.union(z)<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b \u0438\u043c\u0435\u044e\u0442 &#171;\u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442&#187;, \u0442\u043e \u043e\u043d\u0438, \u043a\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043b\u043e, \u0438\u043c\u0435\u043d\u0443\u044e\u0442\u0441\u044f \u0438\u043c\u043f\u0435\u0440\u0430\u0442\u0438\u0432\u043d\u044b\u043c<span style=\"text-decoration: underline;\"> \u0413\u043b\u0430\u0433\u043e\u043b\u043e\u043c<\/span> \u0432 \u043f\u043e\u0432\u0435\u043b\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043d\u0430\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u0438. \u0415\u0441\u043b\u0438 \u044f \u0445\u043e\u0447\u0443, \u0447\u0442\u043e\u0431\u044b \u043c\u0430\u0441\u0441\u0438\u0432<strong><span style=\"color: #0000ff;\"> X<\/span><\/strong> \u0431\u044b\u043b \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d, \u0442\u043e \u044f \u0441\u043a\u0430\u0436\u0443: &#171;<strong><span style=\"color: #0000ff;\">X<\/span><\/strong> \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u0443\u0439 (<strong><span style=\"color: #0000ff;\">sort<\/span><\/strong>) \u0441\u0430\u043c \u0441\u0435\u0431\u044f \u0438\u043b\u0438<strong><span style=\"color: #0000ff;\"> X<\/span> <\/strong>\u0434\u043e\u0431\u0430\u0432\u044c (<strong><span style=\"color: #0000ff;\">append<\/span><\/strong>) \u043a \u0441\u0435\u0431\u0435<strong><span style=\"color: #0000ff;\"> Y<\/span><\/strong> &#171;:<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><strong><span style=\"color: #0000ff;\">x.sort ()<br \/>\nx.append(y)<br \/>\ny.formUnion(z)<\/span><\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c<strong> Swift 3<\/strong> \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u043f\u043e \u0434\u0432\u0443\u043c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c: \u043c\u0435\u0442\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u043f\u043e \u043c\u0435\u0441\u0442\u0443 &#8212; \u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043e \u043d\u0438\u0445 \u043a\u0430\u043a \u043e<span style=\"text-decoration: underline;\"> \u0413\u043b\u0430\u0433\u043e\u043b\u0430\u0445<\/span>\u00a0&#8212; \u0438 \u043c\u0435\u0442\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0442 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u044f \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 &#8212; \u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043e \u043d\u0438\u0445 \u043a\u0430\u043a \u043e <span style=\"text-decoration: underline;\">\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445<\/span>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u041d\u0415\u0422 \u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f &#171;<strong><span style=\"color: #0000ff;\">ed<\/span><\/strong>&#171;, \u0442\u043e \u0432\u0441\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 &#171;\u043f\u043e \u043c\u0435\u0441\u0442\u0443&#187;: <strong><span style=\"color: #0000ff;\">sort ()<\/span><\/strong>, <strong><span style=\"color: #0000ff;\">reverse ()<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">,<\/span><\/span> <strong><span style=\"color: #0000ff;\">enumerate ()<\/span><\/strong>. \u042d\u0442\u043e <span style=\"text-decoration: underline;\">\u0413\u043b\u0430\u0433\u043e\u043b\u044b<\/span>. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 <strong>Swift 3<\/strong>\u00a0\u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u0443\u0435\u0442 \u043c\u0435\u0442\u043e\u0434 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435\u043c \u00a0\u043e\u043a\u043e\u043d\u0447\u0430\u043d\u0438\u044f &#171;<strong><span style=\"color: #0000ff;\">ed<\/span><\/strong>&#187; \u00a0\u0438\u043b\u0438 &#171;<strong><span style=\"color: #0000ff;\">ing<\/span><\/strong>&#171;: \u00a0<strong><span style=\"color: #0000ff;\">sorted ()<\/span><\/strong>,\u00a0<strong><span style=\"color: #0000ff;\">reversed ()<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">,<\/span><\/span>\u00a0<strong><span style=\"color: #0000ff;\">enumerated ()<\/span><\/strong>, \u0442\u043e \u043c\u044b \u0438\u043c\u0435\u0435\u043c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435. \u042d\u0442\u043e <span style=\"text-decoration: underline;\">\u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435<\/span>.<br \/>\n\u042d\u0442\u0438 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043d\u0435\u0432\u0438\u043d\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0442 \u043f\u0443\u0442\u0430\u043d\u0438\u0446\u0443, \u0435\u0441\u043b\u0438 \u0440\u0435\u0447\u044c \u0437\u0430\u0445\u043e\u0434\u0438\u0442 \u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043e\u0442 <strong>Swift 2<\/strong>\u00a0\u043a <strong>Swift 3<\/strong>. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0432\u00a0<strong>Swift 2<\/strong>\u00a0\u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0438 \u043c\u0435\u0442\u043e\u0434\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 &#171;\u043f\u043e \u043c\u0435\u0441\u0442\u0443&#187;, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0432 \u0441\u0432\u043e\u0435\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u0441\u043b\u043e\u0432\u043e &#171;<strong><span style=\"color: #0000ff;\">InPlace<\/span><\/strong>&#171;, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0434\u043b\u044f \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0438 \u043f\u043e \u043c\u0435\u0441\u0442\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f <strong><span style=\"color: #0000ff;\">sortInPlace ()<\/span><\/strong>, \u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f <strong><span style=\"color: #0000ff;\">sort ()<\/span><\/strong>\u00a0\u0432 <strong>Swift 2<\/strong> \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043e\u0442\u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043c\u0430\u0441\u0441\u0438\u0432. \u0412 <strong>Swift 3<\/strong>, \u043a\u0430\u043a \u0432\u0438\u0434\u043d\u043e \u0438\u0437 \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432,\u00a0<strong><span style=\"color: #0000ff;\">sort ()<\/span><\/strong>\u00a0\u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d \u0432 <strong><span style=\"color: #0000ff;\">sorted ()<\/span><\/strong>, \u0430 <strong><span style=\"color: #0000ff;\">sortInPlace ()<\/span><\/strong>\u00a0\u0432 <strong><span style=\"color: #0000ff;\">sort ()<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043c\u0435\u0442\u043e\u0434\u00a0<strong><span style=\"color: #0000ff;\">sort ()<\/span><\/strong>\u00a0\u0438\u043c\u0435\u0435\u0442 <span style=\"text-decoration: underline;\"><strong>\u0440\u0430\u0437\u043d\u0443\u044e \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u043a\u0443<\/strong><\/span> \u0432\u00a0\u00a0<strong>Swift 2<\/strong>\u00a0\u0438 \u0432\u00a0<strong>Swift 3<\/strong>. \u041d\u043e \u044d\u0442\u043e \u043d\u0435\u0441\u0442\u0440\u0430\u0448\u043d\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0438 \u0432 <strong>Swift 2<\/strong>, \u0438 \u0432 <strong>Swift 3<\/strong> \u0438\u043c\u0435\u0435\u0442\u0441\u044f <span style=\"text-decoration: underline;\">\u043f\u0430\u0440\u0430<\/span> \u0444\u0443\u043d\u043a\u0446\u0438\u0439 ( \u043a\u0430\u043a \u0441 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u043c \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u043c, \u0442\u0430\u043a \u0438 \u0431\u0435\u0437 \u043d\u0435\u0433\u043e), \u0442\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0431\u043b\u0435\u0441\u0442\u044f\u0449\u0435 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442 \u0437\u0430\u043c\u0435\u043d\u0443 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u043c\u0435\u043d\u0438 \u0434\u0440\u0443\u0433\u0438\u043c.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6241 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM.png\" alt=\"screen-shot-2016-11-25-at-6-47-31-pm\" width=\"2080\" height=\"928\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM.png 2080w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM-300x134.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM-768x343.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM-1024x457.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-6.47.31-PM-500x223.png 500w\" sizes=\"auto, (max-width: 2080px) 100vw, 2080px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\"> \u0410 \u0447\u0442\u043e, \u0435\u0441\u043b\u0438 \u0432 <strong>Swift 2<\/strong> \u0431\u044b\u043b\u0438 \u0434\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0430 \u0432 <strong>Swift 3<\/strong> \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c \u043e\u0434\u043d\u0430? \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432 <strong>Swift 2<\/strong> \u0431\u044b\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #0000ff;\"><strong>insetInPlace <\/strong><span style=\"color: #000000;\">\u0438<strong><span style=\"color: #0000ff;\"> i<\/span><\/strong><\/span><strong>nsetBy<\/strong><span style=\"color: #000000;\">, \u0430 \u0432<\/span><\/span> <span style=\"color: #000000;\"><strong>Swift 3<\/strong><\/span><span style=\"color: #0000ff;\"><span style=\"color: #000000;\"> \u043e\u0441\u0442\u0430\u043b\u0430\u0441\u044c, \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043f\u0440\u0438\u0447\u0438\u043d\u0435, \u043e\u0434\u043d\u0430 &#8212;<span style=\"color: #0000ff;\"> <strong>i<\/strong><strong>nsetBy<\/strong><\/span>? \u041c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u043d\u0430\u043c \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 &#8212; \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u0441\u0442\u0430\u0440\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 &#8212; <strong><span style=\"color: #0000ff;\">insetInPlace<\/span>\u00a0<\/strong>&#8212; \u043a\u043e\u0442\u043e\u0440\u043e\u0435, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0434\u0430\u0441\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0438 \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0435\u0435 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.\u00a0<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6242 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM.png\" alt=\"screen-shot-2016-11-25-at-7-04-31-pm\" width=\"1996\" height=\"736\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM.png 1996w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM-300x111.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM-768x283.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM-1024x378.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-25-at-7.04.31-PM-500x184.png 500w\" sizes=\"auto, (max-width: 1996px) 100vw, 1996px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0432 <strong>Swift 2<\/strong>\u00a0\u0441 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435\u043c &#171;<strong><span style=\"color: #0000ff;\">inPlace<\/span><\/strong>&#8216; \u0432 \u0438\u043c\u0435\u043d\u0438 \u0442\u0440\u0435\u0431\u0443\u044e\u0442 \u043e\u0441\u043e\u0431\u043e\u0433\u043e \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430\u00a0<strong>Swift 3<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u042f \u0441\u0430\u043c\u0430 \u043f\u043e\u043f\u0430\u043b\u0430\u0441\u044c \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0440\u043e\u0434\u0435 \u0431\u044b \u043d\u0435\u0432\u0438\u043d\u043d\u043e\u043c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0438. \u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0438\u0439 \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">one()<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 <strong><span style=\"color: #0000ff;\">bbox<\/span><\/strong> \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 &#171;\u043f\u043e\u0433\u043b\u043e\u0442\u0438\u0442&#187; \u043d\u0435\u043a\u0438\u0439 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a <strong><span style=\"color: #0000ff;\">rect<\/span><\/strong>. \u042d\u0442\u043e\u0442 \u0441\u0438\u043b\u044c\u043d\u043e \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0438\u043c\u0435\u0435\u0442 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u0442\u0438\u043f, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u043a\u043b\u0430\u0441\u0441\u00a0<strong><span style=\"color: #0000ff;\">AxesDrawer<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0432 \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u043c \u043a\u0443\u0440\u0441\u0435 \u0434\u043b\u044f \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0441\u0435\u0439 \u0433\u0440\u0430\u0444\u0438\u043a\u0430 \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 3. \u0418\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043c \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u043b\u0443\u0447\u0430\u0439, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043d\u0438\u0436\u0435 \u0438 \u0441 \u043d\u0438\u043c \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0435 \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong><span style=\"color: #0000ff;\">AxesDrawer<\/span><\/strong>\u00a0\u0438\u0437 <strong>Swift 2.3<\/strong> \u0432 <strong>Swift 3<\/strong>.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-28-at-2.04.30-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6286 size-medium\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-28-at-2.04.30-PM-300x292.png\" alt=\"screen-shot-2016-11-28-at-2-04-30-pm\" width=\"300\" height=\"292\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-28-at-2.04.30-PM-300x292.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-28-at-2.04.30-PM-308x300.png 308w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-28-at-2.04.30-PM.png 622w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>\u0412\u00a0<strong>Swift 2.3<\/strong> \u00a0\u044f \u043c\u043e\u0433\u0443 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434<strong><span style=\"color: #0000ff;\"> insetInPlace<\/span><\/strong> \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u043e\u0432 <strong><span style=\"color: #0000ff;\">CGRect<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a\u0430 \u043d\u0430 <strong><span style=\"color: #0000ff;\">dx<\/span><\/strong> \u043f\u043e \u043e\u0441\u0438 <strong>X<\/strong> \u0438 \u043d\u0430 <strong><span style=\"color: #0000ff;\">dy <\/span><\/strong>\u043f\u043e \u043e\u0441\u0438 <strong>Y<\/strong>.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6197 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM.png\" alt=\"screen-shot-2016-11-21-at-7-42-13-pm\" width=\"916\" height=\"394\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM.png 916w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM-300x129.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM-768x330.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.42.13-PM-500x215.png 500w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0417\u0434\u0435\u0441\u044c \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 \u00a0<strong><span style=\"color: #0000ff;\">insetInPlace<\/span><\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f<strong><span style=\"text-decoration: underline;\"> &#171;\u043f\u043e \u043c\u0435\u0441\u0442\u0443&#187;<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430<strong> Swift 3<\/strong>, \u0442\u043e \u043e\u043d \u043e\u0441\u0442\u0430\u0432\u0438\u0442 \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">insetInPlace\u00a0<\/span><\/strong>\u043d\u0435\u0438\u0437\u043c\u0435\u043d\u043d\u044b\u043c, \u0442\u0430\u043a \u043a\u0430\u043a \u0430\u043d\u0430\u043b\u043e\u0433\u0430 \u0435\u043c\u0443 \u0432<strong> Swift 3<\/strong> \u043d\u0435\u0442, \u0438 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u043e\u0448\u0438\u0431\u043a\u0443: <\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6198 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM.png\" alt=\"screen-shot-2016-11-21-at-7-49-38-pm\" width=\"974\" height=\"388\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM.png 974w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM-300x120.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM-768x306.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.49.38-PM-500x199.png 500w\" sizes=\"auto, (max-width: 974px) 100vw, 974px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412<strong> Swift 3<\/strong> \u0435\u0441\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">insetBy<\/span><\/strong>, \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0435\u043c \u0435\u0433\u043e, \u043e\u0448\u0438\u0431\u043a\u0430 \u0438\u0441\u0447\u0435\u0437\u0430\u0435\u0442, \u0438 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <strong><span style=\"color: #0000ff;\">var bbox<\/span><\/strong> \u043d\u0430 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u0443 <strong><span style=\"color: #0000ff;\">let<\/span><span style=\"color: #0000ff;\">\u00a0bbox\u00a0<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6199 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM.png\" alt=\"screen-shot-2016-11-21-at-7-54-48-pm\" width=\"972\" height=\"390\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM.png 972w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM-300x120.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM-768x308.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.54.48-PM-500x201.png 500w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0447\u0442\u043e \u043c\u044b \u0438 \u0434\u0435\u043b\u0430\u0435\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6200 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM.png\" alt=\"screen-shot-2016-11-21-at-7-56-09-pm\" width=\"910\" height=\"382\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM.png 910w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM-300x126.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM-768x322.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-7.56.09-PM-500x210.png 500w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u044b \u0432\u0438\u0434\u0438\u0442\u0435, \u0447\u0442\u043e \u043d\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0439, \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a, \u0430 \u043c\u044b \u0432\u0435\u0434\u044c \u0441\u043e\u0437\u0434\u0430\u043b\u0438 &#171;\u0432\u0435\u0447\u043d\u044b\u0439&#187; \u0446\u0438\u043a\u043b, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434\u00a0\u00a0<strong><span style=\"color: #0000ff;\">insetBy<\/span><\/strong>\u00a0\u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a <span style=\"text-decoration: underline;\"><strong>&#171;\u043f\u043e \u043c\u0435\u0441\u0442\u0443&#187;<\/strong><\/span>, \u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432 \u0446\u0438\u043a\u043b\u0435 <strong><span style=\"color: #0000ff;\">while<\/span><\/strong>, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u0442\u043e\u0436\u0435 \u043f\u043e\u0447\u0435\u043c\u0443-\u0442\u043e \u043d\u0435\u0442 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f, \u0442\u0430\u043a \u0447\u0442\u043e \u0441\u043e\u0437\u0434\u0430\u043b\u0430\u0441\u044c <strong>\u041e\u0427\u0415\u041d\u042c \u041e\u041f\u0410\u0421\u041d\u0410\u042f<\/strong> \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b &#171;\u0437\u0430\u0446\u0438\u043a\u043b\u0438\u043b\u0438&#187; \u043d\u0430\u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430\u0448 \u043a\u043e\u0434. \u041d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u043c\u043d\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b\u0441\u044f \u0446\u0435\u043b\u044b\u0439 \u0434\u0435\u043d\u044c, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0439\u0442\u0438 \u044d\u0442\u0443 \u043e\u0448\u0438\u0431\u043a\u0443.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043d\u043e\u0432\u0430 \u043f\u0440\u0438\u0441\u0432\u043e\u0438\u0442\u044c \u00a0<strong><span style=\"color: #0000ff;\">bbox<\/span>\u00a0<\/strong>\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u043c\u00a0<strong><span style=\"color: #0000ff;\">insetBy<\/span><\/strong>\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6201 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM.png\" alt=\"screen-shot-2016-11-21-at-9-07-15-pm\" width=\"966\" height=\"398\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM.png 966w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM-300x124.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM-768x316.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.07.15-PM-500x206.png 500w\" sizes=\"auto, (max-width: 966px) 100vw, 966px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043e\u0442 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b <strong><span style=\"color: #0000ff;\">let<\/span><span style=\"color: #0000ff;\">\u00a0bbox\u00a0<\/span><\/strong>\u043a \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439<strong><span style=\"color: #0000ff;\"> var<\/span><span style=\"color: #0000ff;\">\u00a0bbox<\/span><\/strong>, \u0438 \u043c\u044b \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6202 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM.png\" alt=\"screen-shot-2016-11-21-at-9-20-04-pm\" width=\"900\" height=\"384\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM.png 900w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM-300x128.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM-768x328.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-9.20.04-PM-500x213.png 500w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043a\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e.<br \/>\n\u0422\u0430\u043a \u0447\u0442\u043e \u0431\u0443\u0434\u044c\u0442\u0435 \u043e\u0447\u0435\u043d\u044c \u0432\u043d\u0438\u043c\u0430\u0442\u0435\u043b\u044c\u043d\u044b \u0441 \u0437\u0430\u043c\u0435\u043d\u043e\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 <strong><span style=\"color: #0000ff;\">&#8230;inPlace\u00a0<\/span><\/strong>\u00a0\u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430<strong>\u00a0Swift 3<\/strong>.<\/span><\/p>\n<p><span style=\"text-decoration: underline;\">6. \u0412<strong> Swift 3<\/strong> \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 <strong>Core Data<\/strong> \u0441\u0442\u0430\u043b <strong>Generic <span style=\"color: #0000ff;\">NSFetchRequest&lt;NSFetchRequestResult&gt;<\/span><\/strong>, <\/span><\/p>\n<p>\u041d\u043e \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>, \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0433\u043e <a href=\"http:\/\/web.stanford.edu\/class\/cs193p\/cgi-bin\/drupal\/\"><strong>\u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u043e\u043c<\/strong><\/a>, \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430.<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0432\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442\u0435 \u0441 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a\u043e\u043c\u00a0<strong>Core<\/strong> <strong>Data<\/strong>, \u0442\u043e \u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0440\u043e\u0441 \u043a \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432<span style=\"text-decoration: underline;\"><strong> Swift 2<\/strong><\/span> \u0431\u044b\u043b <strong><span style=\"color: #0000ff;\">NSFetchRequest<\/span><\/strong>, \u0432 <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span> \u0441\u0442\u0430\u043b\u00a0<strong>Generic\u00a0<\/strong><strong><span style=\"color: #0000ff;\">NSFetchRequest&lt;NSFetchRequestResult&gt;<\/span><\/strong>\u00a0, \u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0441\u0442\u0430\u043b\u00a0<strong>Generic<\/strong>\u00a0\u0438 \u043a\u043b\u0430\u0441\u0441\u00a0<span style=\"color: #0000ff;\"><strong>NSFetchResultsController&lt;NSFetchRequestResult&gt;<\/strong><\/span>. \u0412\u00a0<span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>\u00a0\u043e\u043d\u0438 \u0441\u0442\u0430\u043b\u0438 \u0437\u0430\u0432\u0438\u0441\u0435\u0442\u044c \u043e\u0442 \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0<strong><span style=\"color: #0000ff;\">NSFetchRequestResult<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">:<\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-5763 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM.png\" alt=\"screen-shot-2016-10-15-at-8-23-37-pm\" width=\"1550\" height=\"714\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM.png 1550w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM-300x138.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM-768x354.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM-1024x472.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-10-15-at-8.23.37-PM-500x230.png 500w\" sizes=\"auto, (max-width: 1550px) 100vw, 1550px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041a \u0441\u0447\u0430\u0441\u0442\u044c\u044e, \u043e\u0431\u044a\u0435\u043a\u0442\u044b <strong><span style=\"color: #0000ff;\">NSManagedObject<\/span><\/strong> \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 <strong>Core<\/strong> <strong>Data<\/strong> \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong><span style=\"color: #0000ff;\">NSFetchRequestResult<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u00a0\u0438 \u043c\u044b &#171;\u0437\u0430\u043a\u043e\u043d\u043d\u043e&#187; \u043c\u043e\u0436\u0435\u043c \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u0430.<\/span><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400;\"><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u0412\u00a0<strong><span style=\"text-decoration: underline;\">Swift 2<\/span> <\/strong>\u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0435\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0442\u0430\u043a:<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6253 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM.png\" alt=\"screen-shot-2016-11-26-at-4-49-04-pm\" width=\"1106\" height=\"258\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM.png 1106w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM-300x70.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM-768x179.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM-1024x239.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.49.04-PM-500x117.png 500w\" sizes=\"auto, (max-width: 1106px) 100vw, 1106px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u00a0<span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong> <\/span>\u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435 \u0442\u0438\u043f \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 <strong><span style=\"color: #0000ff;\">Photo<\/span><\/strong>), \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e &#171;\u043a\u0430\u0441\u0442\u0438\u043d\u0433\u0430 \u0442\u0438\u043f\u0430&#187;:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6261 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM.png\" alt=\"screen-shot-2016-11-26-at-4-50-18-pm\" width=\"1006\" height=\"262\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM.png 1006w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM-300x78.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM-768x200.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-4.50.18-PM-500x130.png 500w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/a><\/p>\n<p>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0435\u0441\u043b\u0438 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u0438\u043f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 <strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">results<\/span><\/strong> \u0432 <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>, \u0442\u043e \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 <strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">[Photo]<\/span><\/strong>, \u0447\u0442\u043e \u043d\u0430\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0438\u0437\u0432\u043b\u0435\u0447\u044c \u0430\u0442\u0440\u0438\u0431\u0443\u0442 <strong><span style=\"color: #0000ff;\"><span style=\"font-weight: 400;\"><strong>unique<\/strong>\u00a0<\/span><\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u043e\u0431\u044a\u0435\u043a\u0442\u0430<\/span><\/span><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u00a0\u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/span><\/span> <strong><span style=\"color: #0000ff;\">Photo<\/span><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6257 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM.png\" alt=\"screen-shot-2016-11-26-at-5-09-48-pm\" width=\"1154\" height=\"252\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM.png 1154w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM-300x66.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM-768x168.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM-1024x224.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-5.09.48-PM-500x109.png 500w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a><\/p>\n<p>\u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u0431\u044b \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187; \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430 \u043d\u0430 <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>, \u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u0431\u044b \u043a\u043e\u0434, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0431\u043e\u0440\u043a\u0438\u00a0<strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">results\u00a0<\/span><\/strong>\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0\u00a0<strong><span style=\"color: #0000ff;\">NSFetchRequestResult<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u00a0:<\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6264 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM.png\" alt=\"screen-shot-2016-11-26-at-6-32-12-pm\" width=\"1060\" height=\"260\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM.png 1060w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM-300x74.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM-768x188.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM-1024x251.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-6.32.12-PM-500x123.png 500w\" sizes=\"auto, (max-width: 1060px) 100vw, 1060px\" \/><\/a><\/p>\n<p>\u041f\u043e\u044d\u0442\u043e\u043c\u0443 &#171;\u0440\u043e\u0431\u043e\u0442\u0443&#187; \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043f\u0440\u0438\u043c\u0435\u043d\u0438\u0442\u044c\u00a0&#171;\u043a\u0430\u0441\u0442\u0438\u043d\u0433\u0430 \u0442\u0438\u043f\u0430&#187; <strong><span style=\"color: #0000ff;\">as ? [Photo]<\/span><\/strong> \u0434\u043b\u044f\u00a0\u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u0438\u044f \u0430\u0442\u0440\u0438\u0431\u0443\u0442\u0430\u00a0<strong><span style=\"color: #0000ff;\">unique\u00a0<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u043e\u0431\u044a\u0435\u043a\u0442\u0430<\/span><\/span><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u00a0\u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445<\/span><\/span><span style=\"color: #0000ff;\">\u00a0<\/span><strong><span style=\"color: #0000ff;\">Photo<\/span><\/strong>. \u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u043e\u043f\u044f\u0442\u044c \u043f\u044b\u0442\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u043c &#171;\u043f\u043e\u0434\u0441\u0443\u043d\u0443\u0442\u044c&#187; \u0431\u043e\u043b\u0435\u0435 \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435, \u0432\u043f\u043e\u043b\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0435, \u043d\u043e \u043c\u0435\u043d\u0435\u0435 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e\u0435 \u0438 \u043c\u0435\u043d\u0435\u0435 &#171;\u0447\u0438\u0442\u0430\u0431\u0435\u043b\u044c\u043d\u043e\u0435&#187;, \u0447\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435 &#171;\u0440\u0443\u0447\u043d\u043e\u0439&#187; \u0432\u0430\u0440\u0438\u0430\u043d\u0442. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442\u044b \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187; \u043d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043a\u043e\u0434 \u0432\u0440\u0443\u0447\u043d\u0443\u044e.<\/p>\n<p>\u041d\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u043e \u043c\u0435\u0441\u0442\u043e \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441 <strong>Core<\/strong> <strong>Data<\/strong>, \u0433\u0434\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187;,\u00a0\u0440\u0430\u0431\u043e\u0442\u0430\u044f \u0442\u0430\u043a, \u043a\u0430\u043a \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u0432\u044b\u0448\u0435, \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442 \u0433\u0435\u043d\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u043a\u043e\u0434 \u0432<span style=\"text-decoration: underline;\"><strong> Swift 3<\/strong><\/span>. \u042d\u0442\u043e \u043a\u043b\u0430\u0441\u0441\u00a0\u00a0<span style=\"color: #0000ff;\"><strong>NSFetchResultsController<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>\u00a0\u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u0438 \u0437\u0430\u043f\u0440\u043e\u0441 <strong><span style=\"color: #0000ff;\">NSFetchRequest<\/span><\/strong> \u0441\u0442\u0430\u043b <strong>Generic<\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c <span style=\"color: #0000ff;\"><strong>NSFetchResultsController&lt;NSFetchRequestResult&gt;<\/strong><\/span>.\u00a0\u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438\u00a0\u0432\u00a0<strong>Swift 3\u00a0<\/strong>\u0444\u0430\u043d\u0442\u0430\u0441\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0443\u0434\u043e\u0431\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430\u00a0<strong><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440\u043e\u043c \u041f\u043e\u043b\u043e\u043c \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u0438 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u0441\u0442\u0443\u0434\u0435\u043d\u0442\u0430\u043c \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0430 \u0434\u043b\u044f \u0443\u0434\u043e\u0431\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0434\u0430\u043d\u043d\u044b\u043c\u0438\u00a0<strong>Core Data<\/strong>\u00a0\u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u00a0<strong>Table View<\/strong>.<\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u043d\u0430\u0447\u0430\u043b\u0435 \u00a0\u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0430\u0442\u043a\u043e \u043d\u0430\u043f\u043e\u043c\u043d\u044e \u00a0\u043e \u0442\u043e\u043c, \u043e\u0442\u043a\u0443\u0434\u0430 \u043f\u043e\u044f\u0432\u0438\u043b\u0441\u044f \u043a\u043b\u0430\u0441\u0441 \u00a0<strong><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>. \u041a\u043e\u0433\u0434\u0430 \u0443 \u0432\u0430\u0441 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0442\u043e \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u043c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u043e\u043c \u043f\u043e\u043a\u0430\u0437\u0430 \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f\u00a0<\/span><b>Table View<\/b><span style=\"font-weight: 400;\">. \u0412 99% \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u043b\u0438\u0431\u043e\u00a0<\/span><b>Table View<\/b>, \u043b\u0438\u0431\u043e\u00a0<b>Collection View<\/b>\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043a\u0430\u0437\u0430 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0431\u0430\u0437 \u0434\u0430\u043d\u043d\u044b\u0445. \u0418 \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043e, \u0447\u0442\u043e\u00a0<strong>Apple<\/strong>\u00a0\u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043b\u0430 \u043d\u0430\u0441 \u0432\u00a0<strong>iOS<\/strong>\u00a0\u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c\u00a0<span style=\"color: #0000ff;\"><b>NSFetchedResultsController<\/b><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u201c\u043f\u043e\u0434\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u201d \u0437\u0430\u043f\u0440\u043e\u0441\u00a0<span style=\"color: #0000ff;\"><b>NSFetchRequest<\/b><\/span>\u00a0\u043a \u0442\u0430\u0431\u043b\u0438\u0446\u0435\u00a0<span style=\"color: #0000ff;\"><b>UITableView<\/b><\/span><span style=\"font-weight: 400;\">.\u00a0<\/span><br \/>\n<span style=\"font-weight: 400;\">\u0418 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u201c\u043f\u043e\u0434\u0432\u044f\u0437\u044b\u0432\u0430\u0435\u0442\u201d \u043b\u0438\u0448\u044c \u043e\u0434\u043d\u0430\u0436\u0434\u044b, \u0430 \u044d\u0442\u0430 \u201c\u043f\u043e\u0434\u0432\u044f\u0437\u043a\u0430\u201d \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u043f\u043e\u0441\u0442\u043e\u044f\u043d\u043d\u043e \u0438, \u0435\u0441\u043b\u0438 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0442 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f,\u00a0<\/span><span style=\"color: #0000ff;\"><b>NSFetchRequest<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043d\u043e\u0432\u044b\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f. \u0422\u0430\u043a \u0447\u0442\u043e \u0431\u0430\u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u0445 \u043c\u043e\u0436\u0435\u0442 \u043c\u0435\u043d\u044f\u0442\u044c\u0441\u044f \u201c\u0437\u0430 \u0441\u0446\u0435\u043d\u043e\u0439\u201d, \u043d\u043e \u0442\u0430\u0431\u043b\u0438\u0446\u0430\u00a0<strong><span style=\"color: #0000ff;\">UITableView<\/span><\/strong>\u00a0\u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0432 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c \u0441 \u043d\u0435\u0439 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438.\u00a0<\/span><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u043e\u0447\u0435\u043d\u044c \u043a\u0440\u0443\u0442\u043e.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>\u00a0\u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442 \u043d\u0430\u0441 \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432\u00a0<\/span><span style=\"color: #0000ff;\"><b>UITableViewDataSource<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0438\u00a0<\/span><span style=\"color: #0000ff;\"><b>UITableViewDelegate<\/b><\/span><span style=\"font-weight: 400;\">, \u0442\u0430\u043a\u0438\u043c\u0438, \u043a\u0430\u043a\u00a0<\/span><span style=\"color: #0000ff;\"><b>numberOfSectionsInTableView<\/b><\/span><span style=\"font-weight: 400;\">,\u00a0<\/span><span style=\"color: #0000ff;\"><b>numberOfRowsInSections<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0438 \u0442.\u0434. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u043d \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u0442, &#8212; \u044d\u0442\u043e\u00a0<\/span><span style=\"color: #0000ff;\"><b>cellForRowAtIndexPath<\/b><\/span><span style=\"font-weight: 400;\">. \u0412\u0430\u043c \u0441\u0430\u043c\u0438\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0434\u043b\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0435\u0442\u043e\u0434\u0430\u00a0<\/span><span style=\"color: #0000ff;\"><b>cellForRowAtIndexPath<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u043d\u0443\u0436\u043d\u043e \u0437\u043d\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439\u00a0<\/span><b>UI<\/b><span style=\"font-weight: 400;\">\u00a0\u0434\u043b\u044f \u044f\u0447\u0435\u0439\u043a\u0438 \u0442\u0430\u0431\u043b\u0438\u0446\u044b, \u0430 \u0432\u044b &#8212; \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439, \u043a\u0442\u043e \u0437\u043d\u0430\u0435\u0442, \u043a\u0430\u043a\u0438\u0435 \u0434\u0430\u043d\u043d\u044b\u0435 \u0438 \u043a\u0430\u043a \u043e\u043d\u0438 \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435. \u041d\u043e \u0447\u0442\u043e \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430\u00a0<\/span><span style=\"color: #0000ff;\"><b>UITableViewDataSource<\/b><\/span><span style=\"font-weight: 400;\">, \u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u0438\u0445, \u043a\u0430\u043a\u00a0<\/span><span style=\"color: #0000ff;\"><b>sectionHeaders<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0438 \u0432\u0441\u0435\u0433\u043e \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e,\u00a0<\/span><span style=\"color: #0000ff;\"><b>NSFetchedResultsController<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0431\u0435\u0440\u0435\u0442 \u0432\u0441\u0435 \u043d\u0430 \u0441\u0435\u0431\u044f.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>?<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0442 \u0432\u0430\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0437\u0430\u043f\u0440\u043e\u0441\u00a0\u00a0<span style=\"color: #0000ff;\"><b>request<\/b><\/span>, \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0438\u043a\u0430\u0442 \u0438 \u0441\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u043a\u0443, \u0430 \u0432\u044b\u0432\u043e\u0434\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0437\u0430\u0439\u043c\u0435\u0442\u0441\u044f \u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>.<\/span><br \/>\n<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0435\u0442 \u0437\u0430 \u0432\u0441\u0435\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0438\u043c\u0438 \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445, \u0438 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0445 \u0441\u00a0<\/span><b>Table<\/b>\u00a0<b>View<\/b><span style=\"font-weight: 400;\">.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u0421\u043f\u043e\u0441\u043e\u0431, \u043a\u0430\u043a\u0438\u043c \u043e\u043d\u0430 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442, \u0441\u0432\u044f\u0437\u0430\u043d \u0441 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u043e\u043c\u00a0<\/span><span style=\"color: #0000ff;\"><b>NSFetchResultsControllerDelegate<\/b><\/span><span style=\"font-weight: 400;\">, \u043c\u0435\u0442\u043e\u0434\u044b \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0431\u0435\u0437 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u0432 \u0432\u0430\u0448 \u043a\u043b\u0430\u0441\u0441.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&#171;\u041d\u0443 \u0432\u043e\u0442, \u044f\u00a0\u0434\u0443\u043c\u0430\u043b, \u0447\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>\u00a0&#8212; \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e, \u0430 \u0442\u0443\u0442 \u0432\u044b\u044f\u0441\u043d\u044f\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsControllerDelegate<\/b><\/span>?&#187; &#8212; \u043f\u043e\u0434\u0443\u043c\u0430\u0435\u0442\u0435 \u0432\u044b.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u041d\u043e \u0432\u0430\u043c \u043f\u043e\u0432\u0435\u0437\u043b\u043e, \u0432\u0441\u044e \u044d\u0442\u0443 \u0440\u0430\u0431\u043e\u0442\u0443 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440 \u0441\u0434\u0435\u043b\u0430\u043b \u0437\u0430 \u0432\u0430\u0441 \u0438<\/span><span style=\"font-weight: 400;\">\u00a0\u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u0432\u0430\u0448\u0435 \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043a\u043b\u0430\u0441\u0441 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<\/span><span style=\"color: #0000ff;\"><b>CoreDataTableViewController<\/b><\/span><span style=\"font-weight: 400;\">.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u041e\u043d \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043b \u0432\u0435\u0441\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u043a\u043e\u0434 \u0438\u0437 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438 \u043f\u043e\u00a0<\/span><span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span><span style=\"font-weight: 400;\">, \u043d\u043e \u0438 \u043f\u0435\u0440\u0435\u043f\u0438\u0441\u0430\u043b \u0435\u0433\u043e \u0441\u00a0<b>Objective-C\u00a0<\/b><\/span><span style=\"font-weight: 400;\">\u043d\u0430\u00a0<\/span><b>Swift<\/b><span style=\"font-weight: 400;\">. \u00a0<\/span><br \/>\n<span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u0430\u0448\u00a0<span style=\"color: #0000ff;\"><b>UITableViewController<\/b><\/span>\u00a0\u0443\u043d\u0430\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b \u0432\u0441\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>, \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u00a0<\/span><span style=\"color: #0000ff;\"><b>CoreDataTableViewController\u00a0<\/b><\/span><span style=\"font-weight: 400;\">\u0432\u0430\u0448\u0438\u043c\u00a0<\/span><b>superclass<\/b><span style=\"font-weight: 400;\">\u00a0 \u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c\u00a0<\/span><span style=\"color: #0000ff;\"><b>public<\/b>\u00a0<b>var<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<\/span><span style=\"color: #0000ff;\"><b>fetchedResultsController<\/b><\/span><span style=\"font-weight: 400;\">. \u0412\u044b \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0435 \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u0438\u00a0<\/span><span style=\"color: #0000ff;\"><b>CoreDataTableViewController<\/b><\/span><span style=\"font-weight: 400;\">\u00a0\u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u0432\u0441\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b\u00a0<span style=\"color: #0000ff;\"><b>UITableViewDataSource<\/b><\/span><\/span><span style=\"font-weight: 400;\">, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u0430\u00a0<\/span><span style=\"color: #0000ff;\"><b>NSFetchedResultsController<\/b><\/span><span style=\"font-weight: 400;\">, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0443\u0442 \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u0412 \u0438\u0442\u043e\u0433\u0435 \u0432\u0430\u043c \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043d\u0443\u0436\u043d\u043e:<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u00a0<span style=\"color: #0000ff;\"><b>var<\/b>\u00a0<\/span><b><span style=\"color: #0000ff;\">fetchedResultsControlle<\/span>r\u00a0<\/b><\/span><span style=\"font-weight: 400;\">\u0438\u00a0<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434\u00a0<span style=\"color: #0000ff;\"><b>cellForRowAtIndexPath<\/b><\/span>.<\/span><\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">\u0412 \u043a\u043b\u0430\u0441\u0441\u0435, \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0442 <span style=\"color: #0000ff;\"><b>CoreDataTableViewController<\/b><\/span>, c\u043e\u0437\u0434\u0430\u0435\u043c \u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>\u00a0\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440\u0430, \u0432\u043a\u043b\u044e\u0447\u0430\u044e\u0449\u0435\u0433\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430 \u0437\u0430\u043f\u0440\u043e\u0441\u00a0<span style=\"color: #0000ff;\"><b>request<\/b><\/span>, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u00a0<span style=\"color: #0000ff;\"><b>var<\/b><\/span>\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<span style=\"color: #0000ff;\"><b>fetchedResultsController<\/b><\/span>\u00a0\u0432\u043d\u043e\u0432\u044c \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u044b\u0439\u00a0<span style=\"color: #0000ff;\"><b>NSFetchResultsController<\/b><\/span>. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u0442\u0435, \u0442\u0430\u0431\u043b\u0438\u0446\u0430 c\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u00a0\u043d\u0430\u0447\u043d\u0435\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0442\u044c\u0441\u044f (<strong><span style=\"text-decoration: underline;\">Swift 2<\/span><\/strong>):<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6267 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM.png\" alt=\"screen-shot-2016-11-26-at-8-46-03-pm\" width=\"1352\" height=\"412\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM.png 1352w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM-300x91.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM-768x234.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM-1024x312.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-8.46.03-PM-500x152.png 500w\" sizes=\"auto, (max-width: 1352px) 100vw, 1352px\" \/><\/a><\/p>\n<p>\u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">cellForRowAtIndexPath<\/span> <\/strong>(<span style=\"text-decoration: underline;\"><strong>Swift 2<\/strong><\/span>) :<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6268 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM.png\" alt=\"screen-shot-2016-11-26-at-9-44-36-pm\" width=\"1236\" height=\"510\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM.png 1236w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM-300x124.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM-768x317.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM-1024x423.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.44.36-PM-500x206.png 500w\" sizes=\"auto, (max-width: 1236px) 100vw, 1236px\" \/><\/a><\/p>\n<p>\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0438\u0439 \u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u0430<strong><a href=\"https:\/\/www.flickr.com\"> Flickr.com<\/a><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6269 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM.png\" alt=\"screen-shot-2016-11-26-at-9-51-16-pm\" width=\"1504\" height=\"1158\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM.png 1504w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM-300x231.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM-768x591.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM-1024x788.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-9.51.16-PM-390x300.png 390w\" sizes=\"auto, (max-width: 1504px) 100vw, 1504px\" \/><\/a><\/p>\n<p>\u0412\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u0437\u0434\u043e\u0440\u043e\u0432\u043e \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u00a0<strong><span style=\"text-decoration: underline;\">Swift 2<\/span><\/strong>, \u043d\u043e \u0432\u00a0<strong><span style=\"text-decoration: underline;\">Swift 3<\/span><\/strong>\u00a0\u0437\u0430\u043f\u0440\u043e\u0441\u00a0<strong><span style=\"color: #0000ff;\">NSFetchRequest&lt;NSFetchRequestResult&gt;<\/span><\/strong>\u00a0\u0441\u0442\u0430\u043b\u00a0<strong>Generic<\/strong>, \u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0441\u0442\u0430\u043b\u00a0<strong>Generic<\/strong>\u00a0\u0438 \u043a\u043b\u0430\u0441\u0441\u00a0<span style=\"color: #0000ff;\"><strong>NSFetchResultsController&lt;NSFetchRequestResult&gt;<\/strong><\/span>.<br \/>\n\u041f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f\u00a0<strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">public var<\/span><\/strong>\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">fetchedResultsController<\/span><\/strong>\u00a0, \u0441 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0432\u00a0<strong style=\"font-weight: 400;\"><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>, \u0442\u043e\u0436\u0435 \u0441\u0442\u0430\u043b\u0430\u00a0<strong style=\"font-weight: 400;\">Generic\u00a0<\/strong>\u0432\u00a0<strong style=\"font-weight: 400;\"><strong><span style=\"text-decoration: underline;\">Swift 3<\/span><\/strong><\/strong>\u00a0\u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187;:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6270 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM.png\" alt=\"screen-shot-2016-11-26-at-10-03-46-pm\" width=\"1164\" height=\"506\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM.png 1164w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM-300x130.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM-768x334.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM-1024x445.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.03.46-PM-500x217.png 500w\" sizes=\"auto, (max-width: 1164px) 100vw, 1164px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u043e \u0438\u0434\u0435\u0435 \u0438 \u043a\u043b\u0430\u0441\u0441\u00a0<strong><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>\u00a0\u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c\u00a0<strong>Generic<\/strong>, \u043d\u043e \u043c\u044b \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0435\u0433\u043e\u00a0<strong>subclasses<\/strong>, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0442\u0430\u043a\u0438\u0435, \u043a\u0430\u043a \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0432\u044b\u0448\u0435\u00a0<strong><span style=\"color: #0000ff;\">PhotosCDTVC,\u00a0<\/span><\/strong><span style=\"color: #000000;\">\u0438\u0441\u043f\u043e\u043b\u044c\u0443\u044e\u0442\u0441\u044f \u043d\u0430 storyboard, \u0430 \u043d\u0430\u00a0storyboard \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442\u00a0<strong>Generic<\/strong>\u00a0\u043a\u043b\u0430\u0441\u0441\u044b.\u00a0<\/span><br \/>\n<span style=\"color: #000000;\">\u041a\u0430\u043a \u0436\u0435 \u043d\u0430\u043c \u0431\u044b\u0442\u044c? \u041a\u043b\u0430\u0441\u0441\u00a0<strong><span style=\"color: #0000ff;\">CoreDataTableViewController\u00a0<\/span><\/strong>\u0447\u0440\u0435\u0437\u0432\u044b\u0447\u0430\u0439\u043d\u043e \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043a\u043e\u0434\u0430 \u0432\u043e \u0432\u0441\u0435\u0445\u00a0<strong>Table<\/strong>\u00a0<strong>View<\/strong>, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 c\u00a0<strong>Core<\/strong>\u00a0<strong>Data<\/strong>?<\/span><\/span><\/p>\n<p>\u0422\u0443\u0442 \u043d\u0430\u043c \u043d\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187;. \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435, \u043a\u0430\u043a \u043e\u043d \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043b \u043a\u043b\u0430\u0441\u0441\u00a0\u00a0<strong><span style=\"color: #0000ff;\">PhotosCDTVC\u00a0<\/span><\/strong><span style=\"color: #000000;\">\u0432 \u0447\u0430\u0441\u0442\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u00a0\u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<span style=\"color: #0000ff;\"><strong style=\"font-weight: 400;\">fetchedResultsController<\/strong><\/span>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0432 \u0437\u0430\u043f\u0440\u043e\u0441\u0435\u00a0\u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043e\u043d \u0434\u043e\u043b\u0436\u0435\u043d \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u00a0\u00a0<span style=\"color: #0000ff;\"><strong>NSFetchRequestResult<\/strong><\/span><span style=\"color: #000000;\">\u00a0(<span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>):<\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6274 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM.png\" alt=\"screen-shot-2016-11-26-at-10-18-00-pm\" width=\"1242\" height=\"518\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM.png 1242w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM-300x125.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM-768x320.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM-1024x427.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.18.00-PM-500x209.png 500w\" sizes=\"auto, (max-width: 1242px) 100vw, 1242px\" \/><\/a><\/p>\n<p>\u0410 \u044d\u0442\u043e \u043a\u0430\u043a \u0440\u0430\u0437 \u0442\u043e, \u0447\u0442\u043e \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<span style=\"color: #0000ff;\"><strong style=\"font-weight: 400;\">fetchedResultsController<\/strong><\/span>\u00a0\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u0443\u043f\u0435\u0440\u043a\u043b\u0430\u0441\u0441\u0435 <strong><span style=\"color: #0000ff;\">CoreDataTableViewController<\/span><\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u0444\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u043b\u00a0&#171;<span style=\"text-decoration: underline;\"><em>\u043a\u0430\u0441\u0442\u0438\u043d\u0433 \u0442\u0438\u043f\u0430&#187; \u0412\u0412\u0415\u0420\u0425 <\/em><\/span>(<strong><a href=\"http:\/\/www.thomashanning.com\/type-casting-in-swift\/\">upcast<\/a><\/strong>)\u00a0\u043d\u0430\u0448\u0435\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 <strong><span style=\"color: #0000ff;\">Photo<\/span><\/strong>\u00a0\u0434\u043e <span style=\"color: #0000ff;\"><strong>NSFetchRequestResult<\/strong><\/span>. \u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0432\u044b\u0431\u043e\u0440\u043a\u0438 \u0442\u0438\u043f\u0430 \u00a0<span style=\"color: #0000ff;\"><strong>NSFetchRequestResult<\/strong><\/span>, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u0432\u0440\u0435\u043c\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u043c \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c <strong><span style=\"color: #0000ff;\">Photo<\/span><\/strong> \u0432 \u043c\u0435\u0442\u043e\u0434\u0435 <strong><span style=\"color: #0000ff;\">cellForRowAt<\/span>\u00a0<\/strong>\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439\u00a0&#171;\u0440\u043e\u0431\u043e\u0442&#187;\u00a0\u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e &#8212; \u00a0&#171;<span style=\"text-decoration: underline;\"><em>\u043a\u0430\u0441\u0442\u0438\u043d\u0433 \u0442\u0438\u043f\u0430&#187; \u0412\u041d\u0418\u0417 (<\/em><\/span><a href=\"https:\/\/developer.apple.com\/library\/content\/documentation\/Swift\/Conceptual\/Swift_Programming_Language\/TypeCasting.html#\/\/apple_ref\/doc\/uid\/TP40014097-CH22-ID338\"><strong>downcast<\/strong><\/a><span style=\"text-decoration: underline;\"><em>)<\/em><\/span>\u00a0&#8212; \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #0000ff;\">as?<\/span> <\/strong>(<span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>) :<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6272 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM.png\" alt=\"screen-shot-2016-11-26-at-10-27-43-pm\" width=\"1262\" height=\"510\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM.png 1262w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM-300x121.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM-768x310.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM-1024x414.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-26-at-10.27.43-PM-500x202.png 500w\" sizes=\"auto, (max-width: 1262px) 100vw, 1262px\" \/><\/a><\/p>\n<p>\u0422\u0430\u043a \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c <strong><span style=\"color: #0000ff;\">CoreDataTableViewController\u00a0<\/span><\/strong>\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u043e. \u0412\u0430\u043c \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0438\u043b\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u0442\u044c.<\/p>\n<p><span style=\"text-decoration: underline;\">7. <strong>Swift 3<\/strong>\u00a0\u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441\u0430 <strong><span style=\"color: #0000ff; text-decoration: underline;\">#selector<\/span> <\/strong>c<strong><span style=\"color: #0000ff; text-decoration: underline;\"> getter:<\/span><\/strong> \u0438 <strong><span style=\"color: #0000ff; text-decoration: underline;\">setter:<\/span><\/strong> \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u0434\u043b\u044f\u00a0\u00a0<strong>Objective-C<\/strong>\u00a0\u0441\u0432\u043e\u0439\u0441\u0442\u0432.<\/span><\/p>\n<p>\u041a\u043e\u0433\u0434\u0430 \u0432\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0435\u0442\u0435 \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 <strong><span style=\"color: #0000ff; text-decoration: underline;\">#selector<\/span><\/strong>, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u0439\u0441\u044f \u043a <strong>Objective-C<\/strong> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c, \u0438\u043c\u0435\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u0432\u0432\u0438\u0434\u0443 \u00a0<strong>setter<\/strong> \u0438\u043b\u0438 <strong>getter<\/strong>.<\/p>\n<p>\u0422\u0430\u043a \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u043d\u0430 <strong>Swift<\/strong>, \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0449\u0438\u0445 \u0441 <strong>Core<\/strong> <strong>Data<\/strong>, \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0430 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435<strong> public API<\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <strong><span style=\"color: #0000ff;\">var coreDataStack<\/span><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6275 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM.png\" alt=\"screen-shot-2016-11-27-at-10-21-29-am\" width=\"1036\" height=\"232\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM.png 1036w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM-300x67.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM-768x172.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM-1024x229.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.21.29-AM-500x112.png 500w\" sizes=\"auto, (max-width: 1036px) 100vw, 1036px\" \/><\/a><\/p>\n<p>\u042d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u044e \u0432 <strong><span style=\"color: #0000ff;\">AppDelegate<\/span><\/strong> \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c &#8212; \u0447\u0435\u0440\u0435\u0437<strong> Objective-C<\/strong>\u00a0<strong>setter<\/strong>\u00a0\u00a0<strong><span style=\"color: #0000ff;\">setCoreDataStack<\/span><\/strong>\u00a0\u0434\u043b\u044f\u00a0<strong>Swift<\/strong> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <strong><span style=\"color: #0000ff;\">coreDataStack<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">. \u042d\u0442\u043e\u0442 \u0441\u043f\u043e\u0441\u043e\u0431 \u044f \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u043b\u0430 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u0432\u0438\u0434\u0435\u043e \u043d\u0430 \u0441\u0430\u0439\u0442\u0435\u00a0<\/span><\/span><strong><a href=\"https:\/\/www.raywenderlich.com\/\">raywenderlich.com<\/a><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6276 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM.png\" alt=\"screen-shot-2016-11-27-at-10-38-30-am\" width=\"1198\" height=\"110\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM.png 1198w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM-300x28.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM-768x71.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM-1024x94.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-10.38.30-AM-500x46.png 500w\" sizes=\"auto, (max-width: 1198px) 100vw, 1198px\" \/><\/a><\/p>\n<p>\u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u043b\u044e\u0431\u043e\u043f\u044b\u0442\u043d\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0441\u0435\u043b\u0435\u043a\u0442\u043e\u0440 \u043d\u0430 \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">setCoreDataStack<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u0432\u043d\u043e \u043d\u0435\u0442 \u0432 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438. \u042d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0442\u0430\u043a \u0438 \u043e\u0441\u0442\u0430\u043b\u0441\u044f, \u043f\u043e\u043a\u0430 \u044f \u043d\u0435 \u0440\u0435\u0448\u0438\u043b\u0430 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 <strong>Swift 3<\/strong>. \u041a\u0430\u043a\u043e\u0433\u043e \u0436\u0435 \u0431\u044b\u043b\u043e \u043c\u043e\u0435 \u0443\u0434\u0438\u0432\u043b\u0435\u043d\u0438\u0435, \u043a\u043e\u0433\u0434\u0430 \u044f \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b\u0430, \u043a\u0430\u043a \u0434\u0435\u043b\u0438\u043a\u0430\u0442\u043d\u043e \u043e\u0431\u043e\u0448\u0435\u043b\u0441\u044f \u0441 \u044d\u0442\u0438\u043c \u043a\u043e\u0434\u043e\u043c \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; &#8212; \u043e\u043d \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044e <strong><span style=\"color: #0000ff;\">#selector<\/span><\/strong> \u0441 \u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c \u0434\u043b\u044f \u043c\u0435\u043d\u044f \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c <span style=\"color: #0000ff;\"><strong>setter<\/strong><\/span>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6277 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM.png\" alt=\"screen-shot-2016-11-27-at-11-01-56-am\" width=\"1208\" height=\"104\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM.png 1208w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM-300x26.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM-768x66.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM-1024x88.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-27-at-11.01.56-AM-500x43.png 500w\" sizes=\"auto, (max-width: 1208px) 100vw, 1208px\" \/><\/a><\/p>\n<p>\u041c\u043d\u0435 \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u0443\u0437\u043d\u0430\u0442\u044c \u043e <strong><span style=\"color: #0000ff;\">#selector<\/span><\/strong> \u0438 \u043d\u0430\u0448\u043b\u0430 \u0437\u0430\u043c\u0435\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0441\u0442\u0430\u0442\u044c\u044e <strong><a href=\"https:\/\/www.bignerdranch.com\/blog\/hannibal-selector\/\">&#171;Hannibal #selector&#187;<\/a><\/strong>.<\/p>\n<p><span style=\"text-decoration: underline;\">\u00a08. \u0412 <strong>Swift 3<\/strong> \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 \u043d\u0435\u00a0<strong><span style=\"color: #0000ff; text-decoration: underline;\">Void<\/span><\/strong>\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412<strong>\u00a0Swift 2<\/strong>\u00a0\u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u043d\u0435\u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u00a0\u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043d\u0435<strong><span style=\"color: #0000ff;\">\u00a0Void<\/span><\/strong>. \u041d\u0438\u043a\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u043e\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435 \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u043b\u043e. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u043e\u043b\u0443\u0447\u0430\u043b \u0442\u0430\u043a\u043e\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435 \u043e\u0442 \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430, \u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u00a0<span style=\"color: #0000ff;\"><strong><code>@warn_unused_result<\/code><\/strong>\u00a0<\/span>\u043f\u0435\u0440\u0435\u0434 \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u042d\u0442\u043e \u043a\u0430\u0441\u0430\u043b\u043e\u0441\u044c, \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c, \u043c\u0435\u0442\u043e\u0434\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u0435\u043d\u044f\u044e\u0442 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<strong><span style=\"color: #0000ff;\">sortInPlace<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u00a0<strong>Swift 3<\/strong>\u00a0\u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044f \u043f\u043e\u043c\u0435\u043d\u044f\u043b\u0430\u0441\u044c \u043d\u0430 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u043f\u043e\u043b\u043e\u0436\u043d\u0443\u044e. \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435\u0433\u0434\u0430, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 \u043b\u044e\u0431\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0441 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u00a0\u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435. \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0432\u00a0<strong>Swift 3<\/strong>\u00a0\u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u00a0\u00a0<strong><span style=\"color: #0000ff;\"><code>@discardableResult<\/code>\u00a0<\/span><\/strong>\u00a0\u043f\u0435\u0440\u0435\u0434 \u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0446\u0438\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u00a0<strong>Swift 2.3<\/strong>\u00a0\u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 \u0431\u0435\u0437 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6192 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM.png\" alt=\"screen-shot-2016-11-21-at-4-16-52-pm\" width=\"1038\" height=\"156\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM.png 1038w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM-300x45.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM-768x115.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM-1024x154.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.16.52-PM-500x75.png 500w\" sizes=\"auto, (max-width: 1038px) 100vw, 1038px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u043e \u043f\u043e\u0441\u043b\u0435 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e &#171;\u0440\u043e\u0431\u043e\u0442\u0430&#187; \u0432\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u0435 \u0432 \u044d\u0442\u043e\u043c \u043a\u043e\u0434\u0435 \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6193 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM.png\" alt=\"screen-shot-2016-11-21-at-4-24-44-pm\" width=\"1104\" height=\"118\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM.png 1104w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM-300x32.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM-768x82.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM-1024x109.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.24.44-PM-500x53.png 500w\" sizes=\"auto, (max-width: 1104px) 100vw, 1104px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u0432\u0430\u043c, \u0447\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<strong><span style=\"color: #0000ff;\">\u00a0[UIViewController]?<\/span><\/strong>\u00a0\u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0431\u0440\u0430\u0442\u044c \u044d\u0442\u043e \u043f\u0440\u0435\u0434\u0443\u043f\u0440\u0435\u0436\u0434\u0435\u043d\u0438\u0435, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u0430\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443 \u042f\u0412\u041d\u041e, \u0447\u0442\u043e \u0432\u044b \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u0443\u0435\u0442\u0435\u0441\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0438\u043c\u0432\u043e\u043b\u0430<strong><span style=\"color: #0000ff;\">\u00a0_<\/span>\u00a0<\/strong>(\u043f\u043e\u0434\u0447\u0435\u0440\u043a\u0438\u0432\u0430\u043d\u0438\u044f):<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-6194 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM.png\" alt=\"screen-shot-2016-11-21-at-4-28-15-pm\" width=\"1032\" height=\"148\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM.png 1032w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM-300x43.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM-768x110.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM-1024x147.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/10\/Screen-Shot-2016-11-21-at-4.28.15-PM-500x72.png 500w\" sizes=\"auto, (max-width: 1032px) 100vw, 1032px\" \/><\/a><\/p>\n<p><strong>\u0412\u042b\u0412\u041e\u0414\u042b.<\/strong><\/p>\n<p>\u041f\u0435\u0440\u0435\u0432\u043e\u0434 \u043a\u043e\u0434\u0430 \u0438\u0437 <span style=\"text-decoration: underline;\"><strong>Swift 2<\/strong><\/span> \u043d\u0430<strong><span style=\"text-decoration: underline;\"> Swift 3<\/span><\/strong> &#8212; \u043e\u0447\u0435\u043d\u044c \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0437\u0430\u043d\u044f\u0442\u0438\u0435. \u041c\u043e\u0436\u043d\u043e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0438\u0441\u0445\u043e\u0434\u043d\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0442\u0435, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u043f\u043e\u0441\u0442\u0430, \u0430 \u043c\u043e\u0436\u043d\u043e \u0438 \u0431\u043e\u043b\u0435\u0435 \u0440\u0430\u043d\u043d\u0438\u0435, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0435. \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430<strong><span style=\"text-decoration: underline;\"> Swift 2.0<\/span><\/strong>. \u0422\u0430\u043a \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 &#171;\u0440\u043e\u0431\u043e\u0442&#187; \u0432 <strong>Xcode 8.1<\/strong> \u0438 <strong>8.2<\/strong> \u0434\u043b\u044f \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u0437\u043d\u0430\u043d\u0438\u0439 \u043e <span style=\"text-decoration: underline;\"><strong>Swift 3<\/strong><\/span>.\u00a0\u00a0\u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u0432\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u043c \u043d\u0430\u00a0<span style=\"text-decoration: underline;\"><strong>Swift 3,<\/strong><\/span> \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043a\u0443\u0441\u043a\u0438 \u043a\u043e\u0434\u0430, \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u043e\u0433\u043e \u043d\u0430\u00a0<strong><span style=\"text-decoration: underline;\">Swift 2<\/span><\/strong>, \u0442\u043e \u0442\u0430\u043a\u0436\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u00ab\u0440\u043e\u0431\u043e\u0442\u00bb. \u041d\u0430\u0434\u0435\u044e\u0441\u044c, \u043e\u043d \u0432\u0430\u0441 \u043d\u0435 \u043f\u043e\u0434\u0432\u0435\u0434\u0435\u0442.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0423\u0436\u0435 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0447\u0442\u043e Xcode 8.2 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u043c \u0440\u0435\u043b\u0438\u0437\u043e\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043d\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e Swift 2.3.\u00a0\u0421\u0435\u0439\u0447\u0430\u0441 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0432\u0435\u0440\u0441\u0438\u0435\u0439\u00a0Swift 3.0 \u0438 Apple \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 Swift \u0434\u043e \u0432\u0435\u0440\u0441\u0438\u0438 3.1 \u0432\u0435\u0441\u043d\u043e\u0439 2017 \u0433., \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u044f\u0437\u044b\u043a\u0430, \u0443\u043b\u0443\u0447\u0448\u0438\u0442 \u0440\u0430\u0431\u043e\u0442\u0443 Swift Package Manager \u0438 Swift \u043d\u0430 &hellip; <a href=\"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,14],"tags":[31,38],"class_list":["post-6174","post","type-post","status-publish","format-standard","hentry","category-ios-10","category-swift","tag-swift","tag-swift-3"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"tatiana.kornilova@gmail.com\"\/>\n\t<meta name=\"keywords\" content=\"swift 3,swift 3.1,\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f c swift 2 \u043d\u0430 swift 3,coredatatableviewcontroller,xcode 8,@discardableresult,sorted,sortinplace,sort,nsfetchrequestresult,dispatchqueue,qos,open,fileprivate\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-12-12T20:41:48+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-12-18T06:06:40+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#article\",\"name\":\"\\u041f\\u0435\\u0440\\u0435\\u0445\\u043e\\u0434\\u0438\\u043c \\u043d\\u0430 Swift 3 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e \\u0430\\u0432\\u0442\\u043e\\u043c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0432 Xcode 8.2 | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"headline\":\"\\u041f\\u0435\\u0440\\u0435\\u0445\\u043e\\u0434\\u0438\\u043c \\u043d\\u0430 Swift 3 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e \\u0430\\u0432\\u0442\\u043e\\u043c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0432 Xcode 8.2\",\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/Screen-Shot-2016-11-23-at-6.17.44-PM.png\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#articleImage\",\"width\":1390,\"height\":858},\"datePublished\":\"2016-12-12T20:41:48+00:00\",\"dateModified\":\"2016-12-18T06:06:40+00:00\",\"inLanguage\":\"ru-RU\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#webpage\"},\"articleSection\":\"iOS 10, Swift, Swift, Swift 3\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"name\":\"Swift\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"position\":2,\"name\":\"Swift\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#listItem\",\"name\":\"\\u041f\\u0435\\u0440\\u0435\\u0445\\u043e\\u0434\\u0438\\u043c \\u043d\\u0430 Swift 3 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e \\u0430\\u0432\\u0442\\u043e\\u043c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0432 Xcode 8.2\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#listItem\",\"position\":3,\"name\":\"\\u041f\\u0435\\u0440\\u0435\\u0445\\u043e\\u0434\\u0438\\u043c \\u043d\\u0430 Swift 3 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e \\u0430\\u0432\\u0442\\u043e\\u043c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0432 Xcode 8.2\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/swift\\\/#listItem\",\"name\":\"Swift\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#webpage\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/\",\"name\":\"\\u041f\\u0435\\u0440\\u0435\\u0445\\u043e\\u0434\\u0438\\u043c \\u043d\\u0430 Swift 3 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e \\u0430\\u0432\\u0442\\u043e\\u043c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u0432 Xcode 8.2 | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u041c\\u0438\\u0433\\u0440\\u0430\\u0446\\u0438\\u0438 \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439, \\u0441\\u0432\\u044f\\u0437\\u0430\\u043d\\u043d\\u044b\\u0445 \\u0441\\u043e \\u0441\\u0442\\u044d\\u043d\\u0444\\u043e\\u0440\\u0434\\u0441\\u043a\\u0438\\u043c \\u043a\\u0443\\u0440\\u0441\\u043e\\u043c \\\"Developing iOS 9 Apps with Swift\\\" \\u0441\\u043e Swift 2.2 \\u043d\\u0430 Switf 3.0\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/osobennosti-migratsii-s-swift-2-v-swift-3\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"datePublished\":\"2016-12-12T20:41:48+00:00\",\"dateModified\":\"2016-12-18T06:06:40+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/\",\"name\":\"\\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u0420\\u0443\\u0441\\u0441\\u043a\\u0438\\u0439 \\u043d\\u0435\\u0430\\u0432\\u0442\\u043e\\u0440\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u044b\\u0439 \\u043a\\u043e\\u043d\\u0441\\u043f\\u0435\\u043a\\u0442 \\u043b\\u0435\\u043a\\u0446\\u0438\\u0439 \\u0421\\u0442\\u044d\\u043d\\u0444\\u043e\\u0440\\u0434\\u0441\\u043a\\u043e\\u0433\\u043e \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0438\\u0442\\u0435\\u0442\\u0430 \\\" \\u0420\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0430 iOS \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \\u0438 2026 \\u0433\\u0433., \\u0441\\u043e\\u043f\\u0440\\u043e\\u0432\\u043e\\u0436\\u0434\\u0430\\u0435\\u043c\\u044b\\u0439 \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0439 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438, \\u0441\\u0432\\u044f\\u0437\\u0430\\u043d\\u043d\\u044b\\u043c\\u0438 \\u0441 \\u0430\\u0434\\u0430\\u043f\\u0442\\u0430\\u0446\\u0438\\u0435\\u0439 \\u043a\\u0443\\u0440\\u0441\\u043e\\u0432 \\u043a \\u043d\\u043e\\u0432\\u044b\\u043c \\u0432\\u0435\\u0440\\u0441\\u0438\\u044f\\u043c Swift, Objective-C \\u0438 iOS.\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c \"Developing iOS 9 Apps with Swift\" \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0","canonical_url":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"swift 3,swift 3.1,\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f c swift 2 \u043d\u0430 swift 3,coredatatableviewcontroller,xcode 8,@discardableresult,sorted,sortinplace,sort,nsfetchrequestresult,dispatchqueue,qos,open,fileprivate","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#article","name":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","headline":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2","author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2016\/11\/Screen-Shot-2016-11-23-at-6.17.44-PM.png","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#articleImage","width":1390,"height":858},"datePublished":"2016-12-12T20:41:48+00:00","dateModified":"2016-12-18T06:06:40+00:00","inLanguage":"ru-RU","mainEntityOfPage":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#webpage"},"isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#webpage"},"articleSection":"iOS 10, Swift, Swift, Swift 3"},{"@type":"BreadcrumbList","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","position":1,"name":"Home","item":"https:\/\/bestkora.com\/IosDeveloper","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","name":"Swift"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","position":2,"name":"Swift","item":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#listItem","name":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2"},"previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#listItem","position":3,"name":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2","previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/#listItem","name":"Swift"}}]},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/#person","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author","url":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"WebPage","@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#webpage","url":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/","name":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c \"Developing iOS 9 Apps with Swift\" \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#website"},"breadcrumb":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/#breadcrumblist"},"author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"creator":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"datePublished":"2016-12-12T20:41:48+00:00","dateModified":"2016-12-18T06:06:40+00:00"},{"@type":"WebSite","@id":"https:\/\/bestkora.com\/IosDeveloper\/#website","url":"https:\/\/bestkora.com\/IosDeveloper\/","name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \" \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"}}]},"og:locale":"ru_RU","og:site_name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","og:type":"article","og:title":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","og:description":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0","og:url":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/","article:published_time":"2016-12-12T20:41:48+00:00","article:modified_time":"2016-12-18T06:06:40+00:00","twitter:card":"summary","twitter:title":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","twitter:description":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0"},"aioseo_meta_data":{"post_id":"6174","title":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2 | #site_title","description":"\u041c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u043e \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u043c \u043a\u0443\u0440\u0441\u043e\u043c &quot;Developing iOS 9 Apps with Swift&quot; \u0441\u043e Swift 2.2 \u043d\u0430 Switf 3.0","keywords":[{"label":"Swift 3","value":"Swift 3"},{"label":"Swift 3.1","value":"Swift 3.1"},{"label":"\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f c Swift 2 \u043d\u0430 Swift 3","value":"\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f c Swift 2 \u043d\u0430 Swift 3"},{"label":"CoreDataTableViewController","value":"CoreDataTableViewController"},{"label":"Xcode 8","value":"Xcode 8"},{"label":"@discardableResult","value":"@discardableResult"},{"label":"sorted","value":"sorted"},{"label":"sortInPlace","value":"sortInPlace"},{"label":"sort","value":"sort"},{"label":"NSFetchRequestResult","value":"NSFetchRequestResult"},{"label":"DispatchQueue","value":"DispatchQueue"},{"label":"qos","value":"qos"},{"label":"open","value":"open"},{"label":"fileprivate","value":"fileprivate"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 06:35:49","updated":"2026-02-22 19:56:42","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/\" title=\"Swift\">Swift<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bestkora.com\/IosDeveloper"},{"label":"Swift","link":"https:\/\/bestkora.com\/IosDeveloper\/category\/swift\/"},{"label":"\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 Swift 3 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0430\u0432\u0442\u043e\u043c\u0438\u0433\u0440\u0430\u0446\u0438\u0438 \u0432 Xcode 8.2","link":"https:\/\/bestkora.com\/IosDeveloper\/osobennosti-migratsii-s-swift-2-v-swift-3\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/6174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/comments?post=6174"}],"version-history":[{"count":36,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/6174\/revisions"}],"predecessor-version":[{"id":6319,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/6174\/revisions\/6319"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=6174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=6174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=6174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}