{"id":14652,"date":"2022-12-28T07:21:40","date_gmt":"2022-12-28T07:21:40","guid":{"rendered":"https:\/\/bestkora.com\/IosDeveloper\/?p=14652"},"modified":"2022-12-30T17:21:46","modified_gmt":"2022-12-30T17:21:46","slug":"kak-prevratit-edinstvennyj-kontejner-v-dropdestination-dlya-neskolkih-transferable-tipov","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/kak-prevratit-edinstvennyj-kontejner-v-dropdestination-dlya-neskolkih-transferable-tipov\/","title":{"rendered":"\u041a\u0430\u043a \u043f\u0440\u0435\u0432\u0440\u0430\u0442\u0438\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0432 dropDestination \u0434\u043b\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 Transferable \u0442\u0438\u043f\u043e\u0432 ?"},"content":{"rendered":"<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screen-Recording-2022-12-28-at-14.38.32.gif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14659 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screen-Recording-2022-12-28-at-14.38.32.gif\" alt=\"\" width=\"594\" height=\"452\"><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong><span style=\"color: #680da1;\">Transferable <\/span> <\/strong>\u0431\u044b\u043b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0430 <strong><a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2022\/10062\/\">WWDC 2022<\/a><\/strong> \u0438 \u043f\u0440\u0438\u0437\u0432\u0430\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0443\u0441\u0438\u043b\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 (<strong>Copy &amp; Paste<\/strong>), a \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0438 \u201c\u0441\u0431\u0440\u043e\u0441\u0430\u201d (<strong>Drag &amp; Drop<\/strong>) \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">&nbsp;\u041e\u043d \u043f\u0440\u0438\u0448\u0435\u043b \u043d\u0430 \u0437\u0430\u043c\u0435\u043d\u0443 \u043a\u043b\u0430\u0441\u0441\u0443 <strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong> \u0432 iOS 16+, macOS 13+ (Ventura \u0438 \u043d\u043e\u0432\u0435\u0435), watchOS 9.0+ \u0438 tvOS 16+. \u041f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0430\u0441\u043f\u0435\u043a\u0442\u0430\u043c\u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430&nbsp; <strong><span style=\"color: #680da1;\">Transferable <\/span><\/strong>\u043c\u043e\u0436\u043d\u043e \u0432 \u043f\u043e\u0441\u0442\u0430\u0445 <a href=\"https:\/\/bestkora.com\/IosDeveloper\/protokol-transferable-menyaet-pravila-igry-dlya-drag-drop-v-swiftui\/\"><b>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Transferable \u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438\u0433\u0440\u044b \u0434\u043b\u044f Drag &amp; Drop \u0432 SwiftUI <\/b><\/a><\/span><span style=\"font-weight: 400;\">\u0438 <a href=\"https:\/\/bestkora.com\/IosDeveloper\/protokol-transferable-v-swiftui-peredacha-alternativnogo-kontenta-s-pomoshhyu-proxyrepresentation\/\"><b>\u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Transferable \u0432 SwiftUI \u2014 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0430 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0433\u043e \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e ProxyRepresentation<\/b><\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0434\u043d\u0430\u043a\u043e \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b&nbsp; <strong><span style=\"color: #680da1;\">Transferable <\/span><\/strong> \u0432 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 <a href=\"https:\/\/drive.google.com\/drive\/folders\/1cxWf6sy3ltYhIG4gIMop-nDKBFsCcwBc?usp=sharing\"><strong>EmojiArt<\/strong><\/a> \u0438\u0437&nbsp; <strong><a href=\"https:\/\/cs193p.sites.stanford.edu\/\">\u043a\u0443\u0440\u0441\u0430 CS193P \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, \u0412\u0435\u0441\u043d\u0430 2021 (\u041b\u0435\u043a\u0446\u0438\u044f 9. Drag &amp;Drop)<\/a><\/strong> \u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u043a\u043b\u0430\u0441\u0441 <strong><span style=\"color: #d80a77;\">class<\/span><\/strong>&nbsp;<strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong> \u043d\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong><span style=\"color: #680da1;\">Transferable<\/span><\/strong> \u043f\u0440\u0438\u0432\u0435\u043b\u0430 \u043a \u0432\u043e\u043f\u0440\u043e\u0441\u0443 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a&nbsp;\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u201c\u0441\u0431\u0440\u043e\u0441\u201d (<strong>Drop<\/strong>) \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 <span style=\"color: #680da1;\"><strong>Transferable<\/strong><\/span> \u0422\u0418\u041f\u043e\u0432 \u0432 \u043e\u0434\u0438\u043d \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><a href=\"https:\/\/github.com\/BestKora\/CS193P-Spring-2021-iOS14\"><strong> EmojiArt<\/strong><\/a> &#8212; \u044d\u0442\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u0443\u044e &#171;\u043a\u0430\u0440\u0442\u0438\u043d\u0443&#187;, \u0437\u0430\u0439\u0434\u044f \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0438 \u0432\u044b\u0431\u0440\u0430\u0432 \u0442\u0430\u043c \u043f\u043e\u043d\u0440\u0430\u0432\u0438\u0432\u0448\u0435\u0435\u0441\u044f \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043c\u043e\u0436\u043d\u043e &#171;\u0431\u0440\u043e\u0441\u0438\u0442\u044c&#187; (<strong>Drop<\/strong>) \u043d\u0430 \u0441\u0432\u043e\u0439 <span style=\"color: #680da1;\"><strong>EmojiArtDocument<\/strong><\/span>&nbsp;\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0433\u043e \u0444\u043e\u043d\u043e\u0432\u043e\u0433\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f, \u0430 \u0437\u0430\u0442\u0435\u043c \u0434\u043e\u0431\u0430\u0432\u0438\u0432 \u043a \u043d\u0435\u043c\u0443 \u044d\u043c\u043e\u0434\u0437\u0438 (\u0441\u043c\u0430\u0439\u043b\u0438\u043a\u0438), \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0438\u0441\u043a\u0443\u0441\u0441\u0442\u0432\u0430. \u041d\u0430\u043c \u043d\u0440\u0430\u0432\u044f\u0442\u0441\u044f \u044d\u043c\u043e\u0434\u0437\u0438. \u042d\u043c\u043e\u0434\u0437\u0438 \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u043b\u044e\u0431\u043e\u0439 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043f\u0430\u043b\u0438\u0442\u0440\u044b, &#171;\u0431\u0440\u043e\u0441\u0430\u0442\u044c&#187; \u0438\u0445 \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0435\u043c\u0443\u044e \u0432\u0430\u043c\u0438 &#171;\u043a\u0430\u0440\u0442\u0438\u043d\u0443&#187; \u0438 \u043f\u0435\u0440\u0435\u0434\u0432\u0438\u0433\u0430\u0442\u044c \u0438\u0445 \u043f\u043e\u0432\u0441\u044e\u0434\u0443, \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440.&nbsp;\u0412 \u043d\u0438\u0436\u043d\u0435\u0439 \u0447\u0430\u0441\u0442\u0438 \u044d\u043a\u0440\u0430\u043d\u0430 \u0443 \u043d\u0430\u0441 \u0446\u0435\u043b\u044b\u0439 \u0441\u043f\u0435\u043a\u0442\u0440 \u043f\u0430\u043b\u0438\u0442\u0440 \u044d\u043c\u043e\u0434\u0437\u0438 \u043d\u0430 \u0440\u0430\u0437\u043d\u044b\u0435 \u0442\u0435\u043c\u044b.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u0442\u0430\u043a\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0442\u044c \u0438 &#171;\u0431\u0440\u043e\u0441\u0430\u0442\u044c&#187; (<strong>Drag &amp; Drop<\/strong>) \u0441\u0442\u0440\u043e\u043a\u0443 <strong><span style=\"color: #680da1;\">String<\/span><\/strong>, <strong><span style=\"color: #680da1;\">URL<\/span><\/strong>-\u0430\u0434\u0440\u0435\u0441 \u0438\u043b\u0438 \u0434\u0430\u043d\u043d\u044b\u0435 <strong><span style=\"color: #680da1;\">Data<\/span><\/strong> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u0430\u043d\u043d\u044b\u0435 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f) \u0432 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 <strong><span style=\"color: #680da1;\">ZStack<\/span><\/strong>. \u0418 \u0434\u043e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430&nbsp; <strong><span style=\"color: #680da1;\">Transferable <\/span><\/strong>\u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #d80a77;\">class<\/span><\/strong>&nbsp;<strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong> \u0438 <strong><span style=\"color: #680da1;\">View<\/span><\/strong> \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #680da1;\">.onDrop<\/span><\/strong>:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14664 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20.png\" alt=\"\" width=\"1240\" height=\"790\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20.png 1240w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20-300x191.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20-1024x652.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20-768x489.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-17.55.20-471x300.png 471w\" sizes=\"auto, (max-width: 1240px) 100vw, 1240px\" \/><\/a><span style=\"color: #000000;\"><strong>.&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .&nbsp; .<\/strong><\/span><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14665 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52.png\" alt=\"\" width=\"1318\" height=\"1146\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52.png 1318w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52-300x261.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52-1024x890.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52-768x668.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Screenshot-2022-12-28-at-18.07.52-345x300.png 345w\" sizes=\"auto, (max-width: 1318px) 100vw, 1318px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #680da1;\">Transferable <\/span><\/strong> \u0438 \u043d\u043e\u0432\u043e\u0433\u043e <strong><span style=\"color: #680da1;\">View<\/span><\/strong> \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #680da1;\">.dropDestination (for: action: isTargeted:)<\/span><\/strong>; \u0435\u0433\u043e \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 <strong><span style=\"color: #680da1;\">for<\/span><\/strong> \u043d\u0435 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0422\u0418\u041f\u043e\u0432 &#171;\u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c\u044b\u0445&#187; \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u043e\u0434\u043d\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u044b\u0448\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 <strong><span style=\"color: #680da1;\">View <\/span><\/strong> \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <strong><span style=\"color: #680da1;\">.onDrop (of: [.plainText, .url, .image] &#8230;)<\/span><\/strong>.<\/span><\/p>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u044f \u043f\u043e\u043f\u044b\u0442\u0430\u043b\u0430\u0441\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0442\u0440\u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #680da1;\">.dropDestination<\/span><\/strong> \u0441 \u0442\u0440\u0435\u043c\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u0422\u0418\u041f\u0430\u043c\u0438: <strong><span style=\"color: #680da1;\">String.self<\/span><\/strong>, <strong><span style=\"color: #680da1;\">URL.self<\/span><\/strong> \u0438 <span style=\"color: #680da1;\"><strong>Data.self<\/strong><\/span>:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14667 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28.jpg\" alt=\"\" width=\"1312\" height=\"1236\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28.jpg 1312w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28-300x283.jpg 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28-1024x965.jpg 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28-768x724.jpg 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-21.28-318x300.jpg 318w\" sizes=\"auto, (max-width: 1312px) 100vw, 1312px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0434\u043d\u0430\u043a\u043e, \u0435\u0441\u043b\u0438 \u044f &#171;\u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u044e&#187; <strong><span style=\"color: #680da1;\">String<\/span><\/strong>, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0430\u044e \u0437\u0435\u043b\u0435\u043d\u044b\u0439 \u0437\u043d\u0430\u0447\u043e\u043a <strong>+<\/strong>, \u043a\u0430\u043a \u0438 \u043e\u0436\u0438\u0434\u0430\u043b\u043e\u0441\u044c, \u0438 \u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u043d\u0438\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e. \u041d\u043e \u043a\u043e\u0433\u0434\u0430 \u044f \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u044e <strong><span style=\"color: #680da1;\">URL<\/span><\/strong> \u0438\u043b\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 <strong><span style=\"color: #680da1;\">Data<\/span><\/strong>, \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u0438 \u0442\u0440\u0435\u0442\u044c\u0435\u043c\u0443 \u0422\u0418\u041f\u0430\u043c, \u044f \u0432\u0438\u0436\u0443 \u0437\u043d\u0430\u0447\u043e\u043a \u043d\u0430 \u0437\u0430\u043f\u0440\u0435\u0442 \u044d\u0442\u043e\u0433\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u044f. \u0421\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u043e\u0432 <strong><span style=\"color: #680da1;\">.dropDestination <\/span><\/strong>\u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u043e \u043c\u043e\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u201c\u0441\u0431\u0440\u043e\u0441\u201d \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0422\u0418\u041f\u043e\u0432&nbsp; \u0432 \u043e\u0434\u043d\u043e\u043c <strong><span style=\"color: #680da1;\">dropDestination<\/span><\/strong>, \u0435\u0441\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 <strong><span style=\"color: #d80a77;\">enum<\/span><\/strong> <strong><span style=\"color: #680da1;\">DropItem<\/span><\/strong> \u0434\u043b\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0422\u0418\u041f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0443\u0436\u043d\u043e \u201c\u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c\u201d:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14669 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12.jpg\" alt=\"\" width=\"1276\" height=\"1450\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12.jpg 1276w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12-264x300.jpg 264w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12-901x1024.jpg 901w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-28.12.2022-at-22.12-768x873.jpg 768w\" sizes=\"auto, (max-width: 1276px) 100vw, 1276px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430&nbsp; <strong><span style=\"color: #680da1;\">Transferable <\/span><\/strong>\u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 <strong><span style=\"color: #680da1;\">ProxyRepresentation<\/span><\/strong> \u0432 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430&nbsp;<strong><span style=\"color: #d80a77;\">static<\/span><\/strong> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <strong><span style=\"color: #680da1;\">transferRepresentation<\/span><\/strong> \u0438, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 <span style=\"color: #680da1;\"><strong>UTI<\/strong> <\/span>\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f <strong><span style=\"color: #d80a77;\">extension<\/span><\/strong> \u043a\u043b\u0430\u0441\u0441\u0430 <strong><span style=\"color: #680da1;\">UTType<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0417\u0430\u0442\u0435\u043c \u0432 \u043d\u0430\u0448\u0435\u043c <strong><span style=\"color: #680da1;\">ZStack<\/span><\/strong> \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u043c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0443 <strong><span style=\"color: #680da1;\">.dropDestination<\/span><\/strong>, \u0447\u0442\u043e\u0431\u044b \u043e\u043d \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u043b \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0422\u0418\u041f\u0430 <strong><span style=\"color: #680da1;\">DropItem.self<\/span><\/strong>:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14673 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11.jpg\" alt=\"\" width=\"1256\" height=\"880\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11.jpg 1256w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11-300x210.jpg 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11-1024x717.jpg 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11-768x538.jpg 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.11-428x300.jpg 428w\" sizes=\"auto, (max-width: 1256px) 100vw, 1256px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0410 \u0432\u043d\u0443\u0442\u0440\u0438 .<strong><span style=\"color: #680da1;\">dropDestination <\/span><\/strong>\u043c\u044b \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 (<span style=\"color: #d80a77;\"><strong>case<\/strong><\/span>) \u0438\u043c\u0435\u0435\u0442 \u043c\u0435\u0441\u0442\u043e \u043f\u0440\u0438 &#171;\u0441\u0431\u0440\u043e\u0441\u0435&#187;:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14675 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26.jpg\" alt=\"\" width=\"1262\" height=\"1034\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26.jpg 1262w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26-300x246.jpg 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26-1024x839.jpg 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26-768x629.jpg 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.26-366x300.jpg 366w\" sizes=\"auto, (max-width: 1262px) 100vw, 1262px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0432\u044b \u0438 \u0434\u0430\u043b\u044c\u0448\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 <strong>iOS 16+<\/strong>, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 <strong><span style=\"color: #d80a77;\">extension<\/span><\/strong> \u043c\u0430\u0441\u0441\u0438\u0432\u0430 <strong><span style=\"color: #680da1;\">Array<\/span><\/strong> c <strong><span style=\"color: #680da1;\">NSProvider<\/span><\/strong> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u043d\u0430\u0448\u0435 \u0440\u0430\u0441\u043f\u043e\u0440\u044f\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440 <strong><a href=\"https:\/\/cs193p.sites.stanford.edu\/\">\u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u0438\u0437 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0430<\/a> <\/strong>\u0434\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043a\u043b\u0430\u0441\u0441\u043e\u043c <strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a \u043c\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u043b\u0438 \u043a\u043b\u0430\u0441\u0441 <strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong> \u043d\u0430&nbsp; \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b <strong><span style=\"color: #680da1;\">Transferable<\/span><\/strong>. \u0415\u0441\u043b\u0438 \u0436\u0435 \u0432\u0430\u0448\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 \u0432\u0435\u0440\u0441\u0438\u044f\u043c\u0438 \u043d\u0438\u0436\u0435 <strong>iOS 16<\/strong>, \u0442\u043e \u044d\u0442\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 <strong><span style=\"color: #d80a77;\">extension<\/span><\/strong> \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u044b\u043c \u043f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 \u0442\u0430\u043a\u0438\u043c \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c, \u043a\u0430\u043a <strong><span style=\"color: #d80a77;\">class<\/span><\/strong>&nbsp;<strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong>.<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14676 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57.jpg\" alt=\"\" width=\"1320\" height=\"1546\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57.jpg 1320w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57-256x300.jpg 256w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57-874x1024.jpg 874w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57-768x899.jpg 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-10.57-1311x1536.jpg 1311w\" sizes=\"auto, (max-width: 1320px) 100vw, 1320px\" \/><\/a><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u044d\u043c\u043e\u0434\u0436\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u044b \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u0435\u043c \u0438 &#171;\u0431\u0440\u043e\u0441\u0430\u0435\u043c&#187; (<strong>Drag &amp; Drop<\/strong>) \u043d\u0430 \u043d\u0430\u0448\u0443 &#171;\u043a\u0430\u0440\u0442\u0438\u043d\u0443&#187; \u043d\u0435 \u043e\u0442\u043a\u0443\u0434\u0430-\u0442\u043e \u0438\u0437\u0432\u043d\u0435, \u0430 \u0441 \u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0430\u043b\u0438\u0442\u0440 \u0432\u043d\u0443\u0442\u0440\u0438 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u044c <strong><span style=\"color: #680da1;\">View<\/span><\/strong> \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <strong><span style=\"color: #680da1;\">.onDrag<\/span><\/strong>, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f <strong><span style=\"color: #680da1;\">NSItemProvider<\/span><\/strong>, \u043d\u0430 <strong><span style=\"color: #680da1;\">View<\/span><\/strong> \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <strong><span style=\"color: #680da1;\">.draggable()<\/span><\/strong>, \u043f\u0440\u0435\u0434\u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0439 \u0434\u043b\u044f <strong><span style=\"color: #680da1;\">Transferable<\/span><\/strong> \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432:<a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-14679 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36.jpg\" alt=\"\" width=\"1364\" height=\"588\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36.jpg 1364w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36-300x129.jpg 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36-1024x441.jpg 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36-768x331.jpg 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2022\/12\/Image-29.12.2022-at-12.36-500x216.jpg 500w\" sizes=\"auto, (max-width: 1364px) 100vw, 1364px\" \/><\/a><\/span><\/p>\n<h1>\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h1>\n<p><span style=\"font-weight: 400;\">\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f <strong><span style=\"color: #d80a77;\">enum<\/span><\/strong> <strong><span style=\"color: #680da1;\">DropItem<\/span><\/strong>, \u043a\u0443\u0434\u0430 \u043c\u044b \u0432\u043a\u043b\u044e\u0447\u0438\u043b\u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u044b (\u0442\u0435\u043a\u0441\u0442 <strong><span style=\"color: #680da1;\">String<\/span><\/strong>, <strong><span style=\"color: #680da1;\">URL<\/span><\/strong>-\u0430\u0434\u0440\u0435\u0441, \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0434\u0432\u043e\u0438\u0447\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 <strong><span style=\"color: #680da1;\">Data<\/span><\/strong>), \u043d\u0430\u043c \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0432 <strong><span style=\"color: #680da1;\">SwiftUI<\/span><\/strong> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #680da1;\">Transferable<\/span><\/strong> \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0438 &#171;\u0441\u0431\u0440\u043e\u0441&#187; (<strong>Drag &amp; Drop<\/strong>) \u0432 \u043e\u0434\u0438\u043d \u0438 \u0442\u043e\u0442 \u0436\u0435 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 (\u0432 \u043d\u0430\u0448\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u044d\u0442\u043e <span style=\"color: #680da1;\"><strong>ZStack<\/strong><\/span>, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438 \u043b\u044e\u0431\u043e\u0439 \u0434\u0440\u0443\u0433\u043e\u0439) \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0422\u0418\u041f\u043e\u0432 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432. \u041f\u0440\u0438 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #680da1;\">Transferable<\/span><\/strong> \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 <strong><span style=\"color: #d80a77;\">enum<\/span><\/strong>&nbsp;<strong><span style=\"color: #680da1;\">DropItem <\/span><\/strong>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0432 &nbsp;<strong><span style=\"color: #d80a77;\">static<\/span><\/strong> \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0435 <strong><span style=\"color: #680da1;\">transferRepresentation<\/span><\/strong> <strong><span style=\"color: #680da1;\">ProxyRepresentation<\/span><\/strong> \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e &#171;\u0441\u0431\u0440\u0430\u0441\u044b\u0432\u0430\u0435\u043c\u043e\u0433\u043e&#187; \u0422\u0418\u041f\u0430<span style=\"color: #000000;\">.<\/span><\/span><\/p>\n<p>\u041a\u043e\u0434 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430<strong> <a href=\"https:\/\/github.com\/BestKora\/Transferable\">Github.com<\/a><\/strong><\/p>\n<p><strong><a href=\"https:\/\/drive.google.com\/drive\/folders\/1cxWf6sy3ltYhIG4gIMop-nDKBFsCcwBc?usp=sharing\">\u0420\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0445 \u041b\u0435\u043a\u0446\u0438\u0439 CS193P \u043f\u043e Drag &amp; Drop<\/a><\/strong><\/p>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b Transferable \u0431\u044b\u043b \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0430 WWDC 2022 \u0438 \u043f\u0440\u0438\u0437\u0432\u0430\u043d \u0437\u043d\u0430\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0441\u043e\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0443\u0441\u0438\u043b\u0438\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0441 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u044b \u0434\u043b\u044f \u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0432\u0441\u0442\u0430\u0432\u043a\u0438 (Copy &amp; Paste), a \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043a\u0438\u0432\u0430\u043d\u0438\u0435 \u0438 \u201c\u0441\u0431\u0440\u043e\u0441\u0430\u201d (Drag &amp; Drop) \u0434\u0430\u043d\u043d\u044b\u0445 \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u043b\u0438 \u043c\u0435\u0436\u0434\u0443 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 &hellip; <a href=\"https:\/\/bestkora.com\/IosDeveloper\/kak-prevratit-edinstvennyj-kontejner-v-dropdestination-dlya-neskolkih-transferable-tipov\/\">\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":[91,54,24],"tags":[94,92,56,93],"class_list":["post-14652","post","type-post","status-publish","format-standard","hentry","category-ios-16","category-swiftui","category-novosti","tag-drag-amp-drop","tag-ios-16","tag-swiftui","tag-transferable"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/14652","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=14652"}],"version-history":[{"count":5,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/14652\/revisions"}],"predecessor-version":[{"id":14698,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/14652\/revisions\/14698"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=14652"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=14652"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=14652"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}