{"id":415132,"date":"2024-06-30T00:10:49","date_gmt":"2024-06-30T00:10:49","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=415132"},"modified":"-0001-11-30T00:00:00","modified_gmt":"2024-06-30T00:10:49","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=415132","title":{"rendered":"<span>AppCode 2021.2: \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 Swift, \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439, \u043e\u043a\u043d\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u044b\u0437\u043e\u0432\u043e\u0432 \u0434\u043b\u044f Swift \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e<\/span>"},"content":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!\u00a0<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435, \u043a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043e \u043d\u043e\u0432\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 AppCode. \u0412\u0441\u0435\u043c, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/144\/835\/158\/1448351585ec64280caf647f6d8e90d0.png\" alt=\"\" title=\"\" width=\"1600\" height=\"800\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/144\/835\/158\/1448351585ec64280caf647f6d8e90d0.png\"\/><figcaption><\/figcaption><\/figure>\n<h3>Swift<\/h3>\n<h4>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u044f\u0437\u044b\u043a\u0430<\/h4>\n<p>\u041a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Swift \u0432 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043b\u0438 \u0440\u0430\u0437\u043d\u043e\u0435 \u043d\u043e\u0432\u043e\u0435:\u00a0<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md\"><u>SE-0289<\/u><\/a>: Result builders<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0295-codable-synthesis-for-enums-with-associated-values.md\"><u>SE-0295<\/u><\/a>: Codable synthesis for enums with associated values<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0296-async-await.md\"><u>SE-0296<\/u><\/a>: Async\/await<\/p>\n<\/li>\n<\/ul>\n<h4>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445:\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/681\/cdb\/da0\/681cdbda044503cdeadd593ec990fda3.png\" alt=\"\" title=\"\" width=\"1620\" height=\"604\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/681\/cdb\/da0\/681cdbda044503cdeadd593ec990fda3.png\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u0410\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/h4>\n<p><code>\u21e7\u2318\u23ce<\/code>, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d, \u043a\u0430\u043a <code>\u2303Space<\/code>, \u043d\u043e \u0437\u0430\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0431\u0438\u0442\u044c \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0439 <code>if<\/code> \u0438\u043b\u0438 <code>while<\/code>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/316\/97d\/df3\/31697ddf374c15546b1e4451935d3405.gif\" alt=\"\" title=\"\" width=\"1600\" height=\"597\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/316\/97d\/df3\/31697ddf374c15546b1e4451935d3405.gif\"\/><figcaption><\/figcaption><\/figure>\n<h4>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0432\u044b\u0437\u043e\u0432\u043e\u0432<\/h4>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u043e\u0431\u0438\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0438\u0442\u0435\u0442 \u043f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c \u043c\u0435\u0436\u0434\u0443 \u044f\u0437\u044b\u043a\u0430\u043c\u0438 \u2014 \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043b\u0438 <strong>Call Hierarchy<\/strong>:\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/004\/016\/bb8\/004016bb871801112b8c8ae8d173166f.png\" alt=\"\" title=\"\" width=\"1600\" height=\"741\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/004\/016\/bb8\/004016bb871801112b8c8ae8d173166f.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0444\u0438\u0447\u0430, \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u2014 \u0437\u0434\u043e\u0440\u043e\u0432\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: \u043f\u043e\u043a\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e \u043e\u043a\u043d\u043e, \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043a\u0443\u0447\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.\u00a0<\/p>\n<h3>Swift Package Manager<\/h3>\n<h4>\u0421\u0431\u043e\u0440\u043a\u0430 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u0438<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c SPM-\u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u043e\u0442\u043b\u0430\u0434\u0438\u0442\u044c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u0438 (\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u043d\u0435\u043b\u044c\u0437\u044f).\u00a0<\/p>\n<h4>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 SPM<\/h4>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 <code>headerSearchPath<\/code>, <code>define<\/code>, <code>linkLibrary<\/code> \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0431\u043e\u0440\u043a\u0438, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 <a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0238-package-manager-build-settings.md\"><u>SE-0238<\/u><\/a>:\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/eb5\/4d4\/965\/eb54d496564ecfaa5f5b4b5caaf3b088.png\" alt=\"\" title=\"\" width=\"1600\" height=\"873\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/eb5\/4d4\/965\/eb54d496564ecfaa5f5b4b5caaf3b088.png\"\/><figcaption><\/figcaption><\/figure>\n<h3>\u041f\u043b\u0430\u0433\u0438\u043d Kotlin Multiplatform Mobile \u0434\u043b\u044f AppCode<\/h3>\n<p>\u041c\u044b \u0442\u0443\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c <a href=\"https:\/\/kotlinlang.org\/lp\/mobile\/ecosystem\/\"><u>\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/u><\/a> \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c \u041a\u043e\u0442\u043b\u0438\u043d\u0435, \u0438 \u0432\u043e\u0442 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/17098-kotlin-multiplatform-mobile-for-appcode\"><u>\u043d\u043e\u0432\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d<\/u><\/a>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f6f\/ca9\/def\/f6fca9def36a9e22318537393a159fc5.gif\" alt=\"\" title=\"\" width=\"1620\" height=\"1010\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/f6f\/ca9\/def\/f6fca9def36a9e22318537393a159fc5.gif\"\/><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043b\u044e\u0441\u044b \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Objective-C\/Swift\/Kotlin, \u0438\u043c\u0435\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b IDE \u0434\u043b\u044f \u043d\u0438\u0445, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 Xcode-\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 Gradle. \u0422\u0443\u0442, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u0441\u0442\u043e\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0443: \u044d\u0442\u043e\u0442 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d \u0441\u043a\u043e\u0440\u0435\u0435 \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430 KMM, \u0438 \u0443 \u043d\u0430\u0441 \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 Xcode-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 Gradle DSL \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430.\u00a0<\/p>\n<h3>Preview Tab \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430<\/h3>\n<p>\u0420\u0430\u043d\u044c\u0448\u0435 \u043f\u0440\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u0443\u0447\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c: \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <a href=\"https:\/\/www.jetbrains.com\/help\/objc\/2021.2\/using-code-editor.html#preview-tab\"><u>Preview tab<\/u><\/a>:<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/185\/674\/37d\/18567437dce7952f4e42f80a2d430202.gif\" alt=\"\" title=\"\" width=\"1620\" height=\"1010\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/185\/674\/37d\/18567437dce7952f4e42f80a2d430202.gif\"\/><figcaption><\/figcaption><\/figure>\n<h3>\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0432 Local History<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d \u0435\u0441\u0442\u044c:\u00a0<\/p>\n<figure class=\"full-width\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/habrastorage.org\/r\/w1560\/getpro\/habr\/upload_files\/59b\/a91\/f82\/59ba91f82948fc75003b652c404c442b.png\" alt=\"\" title=\"\" width=\"1600\" height=\"998\" data-src=\"https:\/\/habrastorage.org\/getpro\/habr\/upload_files\/59b\/a91\/f82\/59ba91f82948fc75003b652c404c442b.png\"\/><figcaption><\/figcaption><\/figure>\n<p>\u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u041a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u2014 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u044b\u0435 \u0442\u0435\u043c\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/p>\n<p><em>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 AppCode<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/573126\/\"> https:\/\/habr.com\/ru\/articles\/573126\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div><!--[--><!--]--><\/div>\n<div id=\"post-content-body\">\n<div>\n<div class=\"article-formatted-body article-formatted-body article-formatted-body_version-2\">\n<div xmlns=\"http:\/\/www.w3.org\/1999\/xhtml\">\n<p>\u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440!\u00a0<\/p>\n<p>\u0412 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0435, \u043a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430, \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0435\u043c \u043e \u043d\u043e\u0432\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 AppCode. \u0412\u0441\u0435\u043c, \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u2014 \u0434\u043e\u0431\u0440\u043e \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u0430\u0442.\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>Swift<\/h3>\n<h4>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u044f\u0437\u044b\u043a\u0430<\/h4>\n<p>\u041a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 Swift \u0432 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0430\u043b\u0438 \u0440\u0430\u0437\u043d\u043e\u0435 \u043d\u043e\u0432\u043e\u0435:\u00a0<\/p>\n<ul>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0289-result-builders.md\"><u>SE-0289<\/u><\/a>: Result builders<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0295-codable-synthesis-for-enums-with-associated-values.md\"><u>SE-0295<\/u><\/a>: Codable synthesis for enums with associated values<\/p>\n<\/li>\n<li>\n<p><a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/main\/proposals\/0296-async-await.md\"><u>SE-0296<\/u><\/a>: Async\/await<\/p>\n<\/li>\n<\/ul>\n<h4>\u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f<\/h4>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b\u0438 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043a\u043b\u044e\u0447\u0435\u0432\u044b\u0445 \u0441\u043b\u043e\u0432 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445:\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h4>\u0410\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0439<\/h4>\n<p><code>\u21e7\u2318\u23ce<\/code>, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043d\u0435 \u0442\u0430\u043a \u0448\u0438\u0440\u043e\u043a\u043e \u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043d, \u043a\u0430\u043a <code>\u2303Space<\/code>, \u043d\u043e \u0437\u0430\u0442\u043e \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0431\u0438\u0442\u044c \u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0439 <code>if<\/code> \u0438\u043b\u0438 <code>while<\/code>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h4>\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0432\u044b\u0437\u043e\u0432\u043e\u0432<\/h4>\n<p>\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0434\u043e\u0431\u0438\u0432\u0430\u0442\u044c \u043f\u0430\u0440\u0438\u0442\u0435\u0442 \u043f\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c \u043c\u0435\u0436\u0434\u0443 \u044f\u0437\u044b\u043a\u0430\u043c\u0438 \u2014 \u0432 \u044d\u0442\u043e\u043c \u0440\u0435\u043b\u0438\u0437\u0435 \u0434\u043e\u0434\u0435\u043b\u0430\u043b\u0438 <strong>Call Hierarchy<\/strong>:\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u0444\u0438\u0447\u0430, \u0430 \u043d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u2014 \u0437\u0434\u043e\u0440\u043e\u0432\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u0441\u0442 \u043d\u0430 \u0431\u044b\u0441\u0442\u0440\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435: \u043f\u043e\u043a\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u044d\u0442\u043e \u043e\u043a\u043d\u043e, \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u043b\u0438 \u043a\u0443\u0447\u0443 \u043f\u0440\u043e\u0431\u043b\u0435\u043c.\u00a0<\/p>\n<h3>Swift Package Manager<\/h3>\n<h4>\u0421\u0431\u043e\u0440\u043a\u0430 \u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u0438<\/h4>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c SPM-\u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438 \u043e\u0442\u043b\u0430\u0434\u0438\u0442\u044c \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u0446\u0438\u0438 (\u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043a\u0430 \u043d\u0435\u043b\u044c\u0437\u044f).\u00a0<\/p>\n<h4>\u041f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0431\u043e\u0440\u043a\u0438 \u0434\u043b\u044f \u0446\u0435\u043b\u0435\u0439 SPM<\/h4>\n<p>\u0414\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0443 <code>headerSearchPath<\/code>, <code>define<\/code>, <code>linkLibrary<\/code> \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441\u0431\u043e\u0440\u043a\u0438, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0445 \u0432 <a href=\"https:\/\/github.com\/apple\/swift-evolution\/blob\/master\/proposals\/0238-package-manager-build-settings.md\"><u>SE-0238<\/u><\/a>:\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>\u041f\u043b\u0430\u0433\u0438\u043d Kotlin Multiplatform Mobile \u0434\u043b\u044f AppCode<\/h3>\n<p>\u041c\u044b \u0442\u0443\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u044f\u0442\u044c <a href=\"https:\/\/kotlinlang.org\/lp\/mobile\/ecosystem\/\"><u>\u044d\u043a\u043e\u0441\u0438\u0441\u0442\u0435\u043c\u0443<\/u><\/a> \u0434\u043b\u044f \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u043d\u0430 \u043c\u0443\u043b\u044c\u0442\u0438\u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0435\u043d\u043d\u043e\u043c \u041a\u043e\u0442\u043b\u0438\u043d\u0435, \u0438 \u0432\u043e\u0442 \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0432\u044b\u043f\u0443\u0441\u0442\u0438\u043b\u0438 <a href=\"https:\/\/plugins.jetbrains.com\/plugin\/17098-kotlin-multiplatform-mobile-for-appcode\"><u>\u043d\u043e\u0432\u044b\u0439 \u043f\u043b\u0430\u0433\u0438\u043d<\/u><\/a>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u041f\u043b\u044e\u0441\u044b \u2014 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 Objective-C\/Swift\/Kotlin, \u0438\u043c\u0435\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b IDE \u0434\u043b\u044f \u043d\u0438\u0445, \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 Xcode-\u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0432 Gradle. \u0422\u0443\u0442, \u0432\u043f\u0440\u043e\u0447\u0435\u043c, \u0441\u0442\u043e\u0438\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0433\u043e\u0432\u043e\u0440\u043a\u0443: \u044d\u0442\u043e\u0442 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u0439 \u0440\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u043d \u0441\u043a\u043e\u0440\u0435\u0435 \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u044b \u043d\u0430 KMM, \u0438 \u0443 \u043d\u0430\u0441 \u0432 \u043f\u043b\u0430\u043d\u0430\u0445 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0443\u0436\u0435 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 Xcode-\u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0432 Gradle DSL \u0431\u0435\u0437 \u043f\u0435\u0440\u0435\u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u043f\u0440\u043e\u0435\u043a\u0442\u0430.\u00a0<\/p>\n<h3>Preview Tab \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430<\/h3>\n<p>\u0420\u0430\u043d\u044c\u0448\u0435 \u043f\u0440\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0435 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u0443\u0447\u0443 \u0444\u0430\u0439\u043b\u043e\u0432 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435, \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0435\u0441\u0442\u044c: \u043d\u0430\u0434\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u0445 <a href=\"https:\/\/www.jetbrains.com\/help\/objc\/2021.2\/using-code-editor.html#preview-tab\"><u>Preview tab<\/u><\/a>:<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<h3>\u0422\u0435\u043a\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u043e\u0438\u0441\u043a \u0432 Local History<\/h3>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043e\u043d \u0435\u0441\u0442\u044c:\u00a0<\/p>\n<figure class=\"full-width\"><figcaption><\/figcaption><\/figure>\n<p>\u0410 \u043d\u0430 \u044d\u0442\u043e\u043c \u0432\u0441\u0435. \u041a\u0430\u043a \u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u2014 \u0431\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b \u043f\u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043d\u0430 \u043b\u044e\u0431\u044b\u0435 \u0442\u0435\u043c\u044b \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!<\/p>\n<p><em>\u041a\u043e\u043c\u0430\u043d\u0434\u0430 AppCode<\/em><\/p>\n<\/div>\n<\/div>\n<\/div>\n<p><!----><!----><\/div>\n<p><!----><!----><br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/articles\/573126\/\"> https:\/\/habr.com\/ru\/articles\/573126\/<\/a><br \/><\/br><\/br><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-415132","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415132","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415132"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/415132\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415132"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415132"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415132"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}