{"id":13502,"date":"2020-12-14T14:59:45","date_gmt":"2020-12-14T14:59:45","guid":{"rendered":"https:\/\/bestkora.com\/IosDeveloper\/?p=13502"},"modified":"2021-01-02T17:46:22","modified_gmt":"2021-01-02T17:46:22","slug":"zadanie-3-stanford-cs-193p-spring-2020-igra-set-reshenie-obyazatelnyh-punktov","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-3-stanford-cs-193p-spring-2020-igra-set-reshenie-obyazatelnyh-punktov\/","title":{"rendered":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 3 Stanford CS 193P Spring 2020. \u0418\u0433\u0440\u0430 Set."},"content":{"rendered":"\n<h1 class=\"wp-block-heading\" style=\"font-size:23px\">\u0420\u0435\u0448\u0435\u043d\u0438\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432.<\/h1>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Var2.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Var2.gif\" alt=\"\" class=\"wp-image-13820\" width=\"598\" height=\"725\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0426\u0435\u043b\u044c \u044d\u0442\u043e\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0432\u0430\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u0435 \u043f\u0435\u0440\u0432\u043e\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0441 &#171;\u043d\u0443\u043b\u044f&#187; \u0438 \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u041e\u043d\u043e \u043f\u043e\u0445\u043e\u0436\u0435 \u043d\u0430 \u043f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 \u0417\u0430\u0434\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043c\u043e\u0433\u043b\u043e \u043e\u0431\u0440\u0435\u0441\u0442\u0438 \u0432\u0430\u043c \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u043d\u043e \u0438  \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043e\u0442\u043b\u0438\u0447\u0430\u044e\u0449\u0435\u0435\u0441\u044f, \u0447\u0442\u043e\u0431\u044b \u0434\u0430\u0442\u044c \u0432\u0430\u043c \u043f\u043e\u043b\u043d\u0443\u044e \u0441\u0432\u043e\u0431\u043e\u0434\u0443 \u0434\u043b\u044f \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u044f \u043e\u043f\u044b\u0442\u0430!<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0430\u043a \u043a\u0430\u043a \u0446\u0435\u043b\u044c \u044d\u0442\u043e\u0433\u043e \u0417\u0430\u0434\u0430\u043d\u0438\u044f &#8212; \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0441 &#171;\u043d\u0443\u043b\u044f&#187;,<b>&nbsp;\u0442\u043e \u043d\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u0439\u0442\u0435 \u0441 \u043a\u043e\u0434\u0430 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2, \u043d\u0430\u0447\u0438\u043d\u0430\u0439\u0442\u0435 \u0441 New \u2192 Project \u0432 Xcode. <\/b> <\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043a\u0441\u0442 \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3 \u043d\u0430 \u0430\u043d\u0433\u043b\u0438\u0439\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043d\u0430&nbsp;&nbsp;\u0441\u0430\u0439\u0442\u0435 <strong><a href=\"https:\/\/cs193p.sites.stanford.edu\/\">Stanford CS193P (Lecture 6 Assignment 3)<\/a>.<\/strong>&nbsp;\u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0438 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0417\u0430\u0434\u0430\u043d\u0438\u0435 3 <strong><a href=\"https:\/\/docs.google.com\/document\/d\/1mS3PRNdq6ujTfpEmvCkhlaKkElyvKw2DbsXbivvJNtc\/edit?usp=sharing\">\u0437\u0434\u0435\u0441\u044c<\/a><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u044b, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u043e\u0441\u0432\u0435\u0436\u0438\u0442\u044c \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0438\u0433\u0440\u044b <\/span><strong><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D1%82_(%D0%B8%D0%B3%D1%80%D0%B0)\">Set<\/a>.<\/strong><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3&nbsp;\u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043d\u0430 <a href=\"https:\/\/github.com\/BestKora\/Set-Game\"><strong>Github<\/strong><\/a>&nbsp;&nbsp;\u0434\u043b\u044f <strong>iOS 14<\/strong>&nbsp;\u0438 Xcode 12.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041f\u0443\u043d\u043a\u0442\u044b 1, 2 \u0438 6 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435<\/h2>\n\n\n<blockquote>\n<p><span data-rich-text-format-boundary=\"true\">1. \u0420\u0435\u0430\u043b\u0438\u0437\u0443\u0439\u0442\u0435 \u0438\u0433\u0440\u0443 <b>Set<\/b> \u0432 \u0432\u0435\u0440\u0441\u0438\u0438 \u0441\u043e\u043b\u043e (\u0434\u043b\u044f \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0433\u0440\u043e\u043a\u0430).<\/span><\/p>\n<p>2.&nbsp;\u041a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448\u0430 \u0438\u0433\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0432 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437, \u043a\u0430\u0440\u0442\u044b \u043d\u0430 \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f, \u043d\u043e \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u043d\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0435\u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e \u0441\u0434\u0430\u0442\u044c 12 \u043a\u0430\u0440\u0442, \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044f \u0438\u0445 &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0442\u044c&#187; \u0438\u0437 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430.<\/p>\n<p>6.&nbsp;\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u0434\u043e 3 \u043a\u0430\u0440\u0442, \u043f\u0440\u0438\u043a\u043e\u0441\u043d\u0443\u0432\u0448\u0438\u0441\u044c \u043a \u043d\u0438\u043c, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0442\u044c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u0442\u044c <b>Set <\/b>(\u0442. \u0435. 3 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 \u043a\u0430\u0440\u0442\u044b (<b>matching<\/b>) \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0438\u0433\u0440\u044b <a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D1%82_(%D0%B8%D0%B3%D1%80%D0%B0)\">Set<\/a>). \u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u044f\u0441\u043d\u043e \u0432\u0438\u0434\u043d\u043e, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0443\u0436\u0435 \u0431\u044b\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b.<\/p>\n<\/blockquote>\n\n\n<!--more-->\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u043e\u043b\u043e\u0434\u0430 \u043a\u0430\u0440\u0442&nbsp;\u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set <\/strong>\u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 81 \u043a\u0430\u0440\u0442\u044b, \u043d\u0430 \u043a\u0430\u0436\u0434\u043e\u0439 \u0438\u0437 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u044b \u043e\u0434\u0438\u043d, \u0434\u0432\u0430 \u0438\u043b\u0438 \u0442\u0440\u0438 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0430 (\u0440\u043e\u043c\u0431\u0430, \u043e\u0432\u0430\u043b\u0430 \u0438\u043b\u0438 \u0432\u043e\u043b\u043d\u044b) \u043e\u0434\u043d\u043e\u0433\u043e \u0438 \u0442\u043e\u0433\u043e \u0436\u0435 \u0446\u0432\u0435\u0442\u0430 (\u043a\u0440\u0430\u0441\u043d\u043e\u0433\u043e, \u0437\u0435\u043b\u0451\u043d\u043e\u0433\u043e \u0438\u043b\u0438 \u0444\u0438\u043e\u043b\u0435\u0442\u043e\u0432\u043e\u0433\u043e) \u0438 \u043e\u0434\u043d\u043e\u0439 \u0438 \u0442\u043e\u0439 \u0436\u0435 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b (\u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0435, \u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043b\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043a\u043e\u043d\u0442\u0443\u0440). \u041e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435 \u043d\u0435\u0442.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-10-at-8.59.47-PM.png\" alt=\"\"\/><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u0439 \u0438\u0433\u0440\u0435 \u0435\u0441\u0442\u044c \u043f\u043e\u043d\u044f\u0442\u0438\u0435&nbsp;<i>\u0441\u0435\u0442\u0430 <strong>Set<\/strong><\/i>. \u0421\u0435\u0442 <strong>Set<\/strong> \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u0440\u0451\u0445 \u043a\u0430\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0442&nbsp;<b>\u0432\u0441\u0435\u043c<\/b>&nbsp;\u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e \u0436\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0438\u043c\u0432\u043e\u043b \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0430;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u0443 \u0436\u0435 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0443 \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0446\u0432\u0435\u0442 \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u0430.<\/span><\/li><\/ul>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041e\u0434\u0438\u043d \u0438\u0437 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432&nbsp;<i>\u0441\u0435\u0442\u0430 <strong>Set<\/strong><\/i>&nbsp;\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0440\u0438\u0441\u0443\u043d\u043a\u0435 \u0432\u044b\u0448\u0435.<\/span><\/p>\n\n\n\n<h2 class=\"has-normal-font-size wp-block-heading\"><span style=\"font-weight: 400;\">\u0425\u043e\u0434 \u0418\u0413\u0420\u042b<\/span><\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418\u0437 \u0442\u0449\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0435\u0440\u0435\u0442\u0430\u0441\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u043a\u043e\u043b\u043e\u0434\u044b \u043d\u0430 \u0438\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u043e\u043b \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 12 \u043a\u0430\u0440\u0442 \u043b\u0438\u0446\u043e\u043c \u0432\u0432\u0435\u0440\u0445. <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-12.38.54.png\"><img loading=\"lazy\" decoding=\"async\" width=\"524\" height=\"558\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-12.38.54.png\" alt=\"\" class=\"wp-image-13526\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-12.38.54.png 524w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-12.38.54-282x300.png 282w\" sizes=\"auto, (max-width: 524px) 100vw, 524px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0438\u0433\u0440\u043e\u043a \u0443\u0432\u0438\u0434\u0435\u043b \u0441\u0435\u0442 <strong>Set<\/strong> \u0441\u0440\u0435\u0434\u0438 \u0432\u044b\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442, \u043e\u043d \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u00ab\u0421\u0435\u0442!\u00bb. \u0415\u0441\u043b\u0438 \u0441\u0435\u0442 <strong>Set<\/strong> \u043d\u0430\u0439\u0434\u0435\u043d \u0432\u0435\u0440\u043d\u043e, \u043d\u0430\u0448\u0435\u0434\u0448\u0438\u0439 \u0435\u0433\u043e \u0438\u0433\u0440\u043e\u043a \u0437\u0430\u0431\u0438\u0440\u0430\u0435\u0442 \u044d\u0442\u0438 \u0442\u0440\u0438 \u043a\u0430\u0440\u0442\u044b \u0441\u0435\u0431\u0435 \u0438 \u043a\u043b\u0430\u0434\u0451\u0442 \u0438\u0445 \u043d\u0430 \u0441\u0442\u043e\u043b \u0440\u0443\u0431\u0430\u0448\u043a\u043e\u0439 \u0432\u0432\u0435\u0440\u0445. \u041b\u0435\u0436\u0430\u0449\u0438\u0435 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u0442\u0440\u0435\u043c\u044f \u043d\u043e\u0432\u044b\u043c\u0438 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b. \u0418\u0433\u0440\u0430 \u0442\u0443\u0442 \u0436\u0435 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u0442\u0441\u044f.<br>\u0415\u0441\u043b\u0438 \u0441\u0440\u0435\u0434\u0438 12 \u043a\u0430\u0440\u0442 \u043d\u0435 \u0443\u0434\u0430\u0435\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0430 \u044d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0441\u043b\u0443\u0447\u0438\u0442\u044c\u0441\u044f \u0441 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c\u044e 3%, \u0442\u043e \u043d\u0430 \u0438\u0433\u0440\u0430\u043b\u044c\u043d\u044b\u0439 \u0441\u0442\u043e\u043b \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0435\u0449\u0451 3 \u043a\u0430\u0440\u0442\u044b \u0438 \u043a\u0430\u0440\u0442 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f 15. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0441\u0435\u0442 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0439\u0434\u0435\u043d \u0438 \u0442\u0440\u0438 \u043a\u0430\u0440\u0442\u044b \u0437\u0430\u0431\u0440\u0430\u043d\u044b \u0438\u0433\u0440\u043e\u043a\u043e\u043c, \u043d\u0430 \u0441\u0442\u043e\u043b\u0435 \u043e\u0441\u0442\u0430\u043d\u0435\u0442\u0441\u044f 12 \u043a\u0430\u0440\u0442, \u0438 \u0438\u0433\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e.<br>\u0415\u0441\u043b\u0438 \u0436\u0435 \u0438 \u0441\u0440\u0435\u0434\u0438 15 \u043a\u0430\u0440\u0442, \u043d\u0435 \u0443\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b \u0435\u0449\u0451 3 \u043a\u0430\u0440\u0442\u044b. \u0415\u0441\u043b\u0438 \u043e\u043f\u044f\u0442\u044c \u043d\u0435 \u0443\u0434\u0430\u0451\u0442\u0441\u044f \u043d\u0430\u0439\u0442\u0438 \u0441\u0435\u0442, \u0442\u043e \u0441\u043d\u043e\u0432\u0430 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b 3 \u043a\u0430\u0440\u0442\u044b, \u043f\u043e\u0441\u043b\u0435 \u0447\u0435\u0433\u043e \u0441\u0442\u043e\u043b\u0435 \u0431\u0443\u0434\u0435\u0442 21 \u043a\u0430\u0440\u0442\u0430. \u0421\u0440\u0435\u0434\u0438 21 \u043a\u0430\u0440\u0442\u044b \u0441\u0435\u0442 \u0435\u0441\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430! <\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041f\u043b\u0430\u043d \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0434\u0432\u0435 \u0437\u0430\u0434\u0430\u0447\u0438:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-weight: 400;\">\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u041c\u043e\u0434\u0435\u043b\u0438 \u0434\u043b\u044f \u043a\u0430\u0440\u0442\u044b \u0438 \u043a\u043e\u043b\u043e\u0434\u044b \u043a\u0430\u0440\u0442 \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b <strong>Set<\/strong>.<\/span><\/li><li><span style=\"font-weight: 400;\">\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u041c\u043e\u0434\u0435\u043b\u044c \u043b\u043e\u0433\u0438\u043a\u0438 \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0440\u0442\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u044e\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong><span style=\"color: #680ea1;\">choose<\/span><\/strong>, \u0438 \u0441\u0442\u0430\u043d\u043e\u0432\u044f\u0442\u0441\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438 <strong><span style=\"color: #680ea1;\">isSelected<\/span><\/strong>, \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u043c\u0438 <strong><span style=\"color: #680ea1;\">isMatched<\/span><\/strong> \u0438\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u043c\u0438 <strong><span style=\"color: #680ea1;\">isNotMatched<\/span><\/strong>. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0432 <strong>SwiftUI<\/strong> \u0445\u043e\u0434\u0430 \u0438\u0433\u0440\u044b, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0440\u0442\u044b \u0441\u0434\u0430\u044e\u0442\u0441\u044f, \u043a\u0430\u0440\u0442\u044b \u0443\u0445\u043e\u0434\u044f\u0442 \u0441 \u0438\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0430 \u043f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0441\u0435\u0442\u0430 Set \u0438 \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u0432\u044b\u0435 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b \u043a\u0430\u0440\u0442, \u0441\u0434\u0430\u044e\u0442\u0441\u044f \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b \u0438 \u0442.\u0434..<\/span><\/li><\/ul>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u0438\u0433\u0440\u0430 <strong>Set<\/strong> &#8212; \u044d\u0442\u043e \u0441\u0432\u043e\u0435\u043e\u0431\u0440\u0430\u0437\u043d\u0430\u044f \u0438\u0433\u0440\u0430 &#171;\u043d\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435&#187; \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u0440\u0442, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043e\u0441\u043e\u0431\u043e \u043e\u0433\u043e\u0432\u043e\u0440\u0435\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u0438\u0435 &#171;\u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435&#187;. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u044b \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0442\u043e\u0439 \u0430\u0440\u0445\u0438\u0442\u0435\u043a\u0442\u0443\u0440\u043e\u0439 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0430 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440\u043e\u043c \u0434\u043b\u044f \u0438\u0433\u0440\u044b&nbsp;<strong>Memorize&nbsp;<\/strong>&#171;\u043d\u0430 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435&#187; \u043a\u0430\u0440\u0442 \u0441 \u044d\u043c\u043e\u0434\u0436\u0438&nbsp;<strong><a href=\"https:\/\/bestkora.com\/IosDeveloper\/lektsiya-4-cs193p-spring-2020-grid-perechisleniya-enum-optionals\/\">\u0432 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u041b\u0435\u043a\u0446\u0438\u0438 4<\/a><\/strong>. <\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0435\u0451 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0438\u0433\u0440\u0435 <strong>Memorize<\/strong> \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 2 \u043a\u0430\u0440\u0442\u044b \u0432\u043c\u0435\u0441\u0442\u043e 3-\u0445 \u043a\u0430\u0440\u0442 \u0432 \u0438\u0433\u0440\u0435 <strong>Set<\/strong>, \u0432 \u0438\u0433\u0440\u0435 <strong>Memorize<\/strong> \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0435\u043d\u0438\u0435 2-\u0445 \u043a\u0430\u0440\u0442,&nbsp; \u0430 \u0432 \u0438\u0433\u0440\u0435 <strong>Set<\/strong> \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u0434\u0431\u043e\u0440\u043a\u0430 3-\u0445 \u043a\u0430\u0440\u0442, \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0449\u0438\u0445 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c, \u0432 \u0438\u0433\u0440\u0435&nbsp; <strong>Memorize<\/strong> \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u0435\u0442 \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u043f\u0430\u0440 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442, \u0430 \u0432 \u0438\u0433\u0440\u0435 <strong>Set<\/strong> &#8212; \u0446\u0435\u043b\u0430\u044f \u043a\u043e\u043b\u043e\u0434\u0430 \u043a\u0430\u0440\u0442 \u0441 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u043c\u0435\u043d\u044b.&nbsp;<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043a\u0430\u043a \u043d\u0430\u043c \u0438 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043e, \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u043d\u043e\u0432\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0441 <strong>File<\/strong> -&gt; <strong>New<\/strong> -&gt; <strong>Project<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1230\" height=\"542\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42.png\" alt=\"\" class=\"wp-image-13515\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42.png 1230w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42-300x132.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42-768x338.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42-1024x451.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.04.42-500x220.png 500w\" sizes=\"auto, (max-width: 1230px) 100vw, 1230px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <strong>iOS<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1472\" height=\"1070\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00.png\" alt=\"\" class=\"wp-image-13516\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00.png 1472w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00-300x218.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00-768x558.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00-1024x744.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.05.00-413x300.png 413w\" sizes=\"auto, (max-width: 1472px) 100vw, 1472px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 <strong>SetGame<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1476\" height=\"1072\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26.png\" alt=\"\" class=\"wp-image-13517\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26.png 1476w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26-300x218.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26-768x558.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26-1024x744.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-14.06.26-413x300.png 413w\" sizes=\"auto, (max-width: 1476px) 100vw, 1476px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0420\u0430\u0437\u043c\u0435\u0449\u0430\u0435\u043c \u0435\u0433\u043e \u0432 \u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u043c \u043c\u0435\u0441\u0442\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0440\u043e\u0435\u043a\u0442:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1354\" height=\"840\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33.png\" alt=\"\" class=\"wp-image-13520\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33.png 1354w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33-300x186.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33-768x476.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33-1024x635.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-18.58.33-484x300.png 484w\" sizes=\"auto, (max-width: 1354px) 100vw, 1354px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432\u044b \u043f\u043e\u043d\u0438\u043c\u0430\u043b\u0438 \u043e \u043a\u0430\u043a\u0438\u0445 \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u0430\u0445 \u0438\u0434\u0435\u0442 \u0440\u0435\u0447\u044c, \u043f\u0440\u043e\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043d\u0430\u0447\u0430\u0442\u044c \u0441 \u041c\u043e\u0434\u0435\u043b\u0438 \u043a\u0430\u0440\u0442\u044b \u0438 \u043a\u043e\u043b\u043e\u0434\u044b \u043a\u0430\u0440\u0442 \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set<\/strong>.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041c\u043e\u0434\u0435\u043b\u044c \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\">SetCard<\/span>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 <strong>File<\/strong>-&gt; <strong>New<\/strong> -&gt;<strong>File&nbsp;<\/strong>\u043d\u043e\u0432\u044b\u0439 \u0444\u0430\u0439\u043b <strong>Swift file<\/strong> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>SetCard.swift<\/em> \u0438 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0442\u0430\u043c \u041c\u043e\u0434\u0435\u043b\u044c \u043a\u0430\u0440\u0442\u044b \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 <strong><span style=\"color: #c31780;\">struct<\/span> <span style=\"color: #680ea1;\">SetCard<\/span><\/strong>. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u044d\u0442\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0447\u0438\u0441\u043b\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435<\/span> <span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">number<\/span><\/strong>, \u0446\u0432\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432<\/span> <span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">color<\/span><\/strong>, \u0441\u0430\u043c \u0441\u0438\u043c\u0432\u043e\u043b <strong><span style=\"color: #680ea1;\">shape<\/span><\/strong> \u0438 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0430 (\u0438\u043b\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435) \u0441\u0438\u043c\u0432\u043e\u043b\u0430<\/span> <span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">fill <\/span><\/strong>.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1220\" height=\"640\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15.png\" alt=\"\" class=\"wp-image-13528\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15.png 1220w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15-300x157.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15-768x403.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15-1024x537.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.44.15-500x262.png 500w\" sizes=\"auto, (max-width: 1220px) 100vw, 1220px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u0441\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 \u043d\u0430\u0448\u0435\u0439 \u043a\u0430\u0440\u0442\u0435 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong> \u0438\u043c\u0435\u044e\u0442 \u0422\u0418\u041f <strong><span style=\"color: #c31780;\">enum<\/span><\/strong> <strong><span style=\"color: #680ea1;\">Variant<\/span><\/strong>, \u0447\u0442\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435 \u0441 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 <strong><span style=\"color: #680ea1;\">v1<\/span><\/strong>,<strong><span style=\"color: #680ea1;\">v2<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">v3<\/span><\/strong>, \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0438 \u0446\u0435\u043b\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <strong><span style=\"color: #680ea1;\">Int<\/span><\/strong> \u0434\u043b\u044f <strong><span style=\"color: #680ea1;\">rawValue<\/span><\/strong>. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043e\u0431\u043e\u0431\u0449\u0435\u043d\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u0432 \u043d\u0430\u0448\u0435\u0439 \u041c\u043e\u0434\u0435\u043b\u0438 \u043d\u0435 \u0443\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f, \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u044b \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0446\u0432\u0435\u0442\u0430 \u0438 \u0444\u043e\u0440\u043c\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432. \u042d\u0442\u043e, \u043a\u0430\u043a \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438, \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u043d\u0435 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c &#171;\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435&#187; \u0432\u0435\u0449\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0446\u0432\u0435\u0442\u0430 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0438\u043c\u0435\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (\u0440\u043e\u043c\u0431, \u043e\u0432\u0430\u043b, \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a) \u0438 \u0432\u0438\u0434\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (\u043f\u0443\u0441\u0442\u043e\u0439, \u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0439) \u0432 \u043d\u0430\u0448\u0443 \u041c\u043e\u0434\u0435\u043b\u044c \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>. \u041d\u0430\u0448\u0430 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong> \u0434\u0430\u0435\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 \u043a\u0430\u0440\u0442\u044b \u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u0433\u043e\u0432\u043e\u0440\u0438\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u044d\u0442\u0430 \u043a\u0430\u0440\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0435\u0449\u0435 \u043e\u0434\u0438\u043d \u0444\u0430\u0439\u043b \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>SetCardDeck.swift<\/em>&nbsp;\u0434\u043b\u044f \u043a\u043e\u043b\u043e\u0434\u044b \u043a\u0430\u0440\u0442,&nbsp;\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 <strong><span style=\"color: #680ea1;\"><span style=\"color: #c31780;\">struct<\/span>&nbsp;SetCardDeck<\/span><\/strong>&nbsp;\u0441 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c \u0432 \u0432\u0438\u0434\u0435 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u043a\u0430\u0440\u0442 <strong><span style=\"color: #680ea1;\">cards<\/span><\/strong> \u0422\u0418\u041f\u0430 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1016\" height=\"962\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45.png\" alt=\"\" class=\"wp-image-13512\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45.png 1016w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45-300x284.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45-768x727.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-18-at-14.30.45-317x300.png 317w\" sizes=\"auto, (max-width: 1016px) 100vw, 1016px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <strong><span style=\"color: #680ea1;\">draw( ) <\/span><\/strong>\u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u043d\u0443\u0442\u044c \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b \u043b\u044e\u0431\u0443\u044e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">View \u0434\u043b\u044f \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0442\u0438\u043f\u0438\u0447\u043d\u0443\u044e <strong>Set<\/strong> \u043a\u0430\u0440\u0442\u0443 \u0441 \u0441\u0438\u043c\u0432\u043e\u043b\u0430\u043c\u0438 \u0432 \u0432\u0438\u0434\u0435 \u0440\u043e\u043c\u0431\u0430 <span style=\"color: #680ea1;\"><strong>Diamond<\/strong><\/span>, \u043e\u0432\u0430\u043b\u0430 <span style=\"color: #680ea1;\"><strong>Capsule<\/strong><\/span> \u0438 &#171;\u0437\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u044b&#187;&nbsp; <span style=\"color: #680ea1;\"><strong>Squiggle<\/strong><\/span> \u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0432\u0438\u0434\u0435: \u043f\u0443\u0441\u0442\u043e\u0439, \u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0438 \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0439.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u0439\u043c\u0435\u043c\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435\u043c \u043d\u0443\u0436\u043d\u044b\u0445 \u043d\u0430\u043c \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 <span style=\"color: #680ea1;\"><strong>Shape<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0432 <strong>SwiftUI<\/strong> \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e. <span style=\"color: #680ea1;\"><strong>Shape<\/strong><\/span> &#8212; \u044d\u0442\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b.&nbsp;&nbsp;\u041e\u043d \u043d\u0430\u0441\u043b\u0435\u0434\u0443\u0435\u0442 \u043e\u0442 <span style=\"color: #680ea1;\"><strong>View<\/strong><\/span>, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u0441\u0435 <span style=\"color: #680ea1;\"><strong>Shapes<\/strong><\/span> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f <span style=\"color: #680ea1;\"><strong>Views<\/strong><\/span>, \u0438&nbsp;\u0432\u044b \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u0435\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c <span style=\"color: #680ea1;\"><strong>Shape<\/strong><\/span> \u0432 <span style=\"color: #680ea1;\"><strong>ZStack<\/strong><\/span> \u0438\u043b\u0438 \u0433\u0434\u0435-\u0442\u043e \u0435\u0449\u0451. <span style=\"color: #680ea1;\"><strong>Shape<\/strong><\/span> \u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442 \u0432\u0430\u0441 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c&nbsp;\u0432\u0441\u0435\u0433\u043e \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <span style=\"color: #c3178D;\"><strong>func<\/strong><\/span> <span style=\"color: #680ea1;\"><strong>path:<\/strong><\/span> <\/span><\/p>\n\n\n\n<pre class=\"wp-block-code line-numbers\"><code>func path (in rect: CGRect) -&gt; Path {\n\n   return Path\n}<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0435 \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0435 <span style=\"color: #680ea1;\"><strong>Path<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0438\u0441\u0443\u0435\u0442 \u0432\u0441\u0451, \u0447\u0442\u043e \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435. <span style=\"color: #680ea1;\"><strong>Path<\/strong><\/span> \u0438\u043c\u0435\u0435\u0442 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f (\u0441\u043c. \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e). \u041e\u043d \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u043b\u0438\u043d\u0438\u0438, \u0434\u0443\u0433\u0438, \u043a\u0440\u0438\u0432\u044b\u0435 \u0411\u0435\u0437\u044c\u0435 \u0438 \u0442.\u0434., \u0447\u0442\u043e\u0431\u044b \u0438\u0437 \u0432\u0441\u0435\u0433\u043e \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0444\u0438\u0433\u0443\u0440\u0443.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0420\u043e\u043c\u0431 <strong><span style=\"color: #680ea1;\">Diamond<\/span><\/strong>. \u041f\u0443\u043d\u043a\u0442 14 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">14. \u0412\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0441\u0432\u043e\u044e \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 <span style=\"color: #680ea1;\"><strong>Shape<\/strong><\/span> \u0434\u043b\u044f \u0440\u043e\u043c\u0431\u0430 (diamond).<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d <strong>Swift file<\/strong> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>Diamond.swift \u0438 \u043f<\/em>\u043e\u043b\u0443\u0447\u0438\u043c \u0440\u043e\u043c\u0431 <span style=\"color: #680ea1;\"><strong>Diamond<\/strong><\/span> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u0445 \u043b\u0438\u043d\u0438\u0439:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1132\" height=\"706\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16.png\" alt=\"\" class=\"wp-image-13523\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16.png 1132w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16-300x187.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16-768x479.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16-1024x639.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-19-at-21.42.16-481x300.png 481w\" sizes=\"auto, (max-width: 1132px) 100vw, 1132px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u043e\u0442 \u0440\u043e\u043c\u0431 <span style=\"color: #680ea1;\"><strong>Diamond<\/strong><\/span> \u043f\u0440\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043f\u0443\u0441\u0442\u043e\u0439, \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0439 \u0438 \u0437\u0430\u0442\u0435\u043d\u0435\u043d\u043d\u044b\u0439):<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1594\" height=\"1366\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17.png\" alt=\"\" class=\"wp-image-13529\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17.png 1594w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17-300x257.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17-768x658.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17-1024x878.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-15.51.17-350x300.png 350w\" sizes=\"auto, (max-width: 1594px) 100vw, 1594px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">&#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u0430&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong>. \u041f\u0443\u043d\u043a\u0442 2 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043f\u0440\u043e\u0435\u043a\u0442 \u0435\u0449\u0435 \u043e\u0434\u0438\u043d <strong>Swift file<\/strong> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c&nbsp;<em>Squiggle.swift<\/em> \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u043c &#171;\u0437\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u0443&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong>&nbsp;\u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0431\u043e\u043b\u0435\u0435 \u0441\u043b\u043e\u0436\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u044f \u043a \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044e \u043a\u0440\u0438\u0432\u044b\u0435 \u0411\u0435\u0437\u044c\u0435. &#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u0443&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong> \u0440\u0438\u0441\u0443\u0435\u043c \u043a\u0430\u043a \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u044e 3-\u0445&nbsp;<strong><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%9A%D1%80%D0%B8%D0%B2%D0%B0%D1%8F_%D0%91%D0%B5%D0%B7%D1%8C%D0%B5\">\u043a\u0443\u0431\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043a\u0440\u0438\u0432\u044b\u0445 \u0411\u0435\u0437\u044c\u0435<\/a><\/strong>&nbsp;\u0438 \u043a\u043e\u043f\u0438\u0438 \u044d\u0442\u043e\u0439 \u0436\u0435 \u043a\u0440\u0438\u0432\u043e\u0439, \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0439 \u0430\u0444\u0444\u0438\u043d\u043d\u044b\u043c\u0438 \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f\u043c\u0438 \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u0430 (<strong><span style=\"color: #680ea1;\">rotatedBy<\/span><\/strong>) \u043d\u0430 180\u00ba \u0438 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f (<strong><span style=\"color: #680ea1;\">translatedBy<\/span><\/strong>) \u0432\u043d\u0438\u0437:<\/span><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1112\" height=\"556\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM.png\" alt=\"\" class=\"wp-image-9317\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM.png 1112w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM-300x150.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM-768x384.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM-1024x512.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2018\/03\/Screen-Shot-2018-03-11-at-5.46.16-PM-500x250.png 500w\" sizes=\"auto, (max-width: 1112px) 100vw, 1112px\" \/><\/a><\/figure><\/div>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u043e\u0434 \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0439 &#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u044b&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17-1000x1024.png\" alt=\"\" class=\"wp-image-13531\" width=\"620\" height=\"634\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17-1000x1024.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17-293x300.png 293w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17-768x786.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-16.10.17.png 1252w\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442&nbsp;&#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u044b&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong> \u043f\u0440\u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u0445 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f (\u043f\u0443\u0441\u0442\u043e\u0439, \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0439 \u0438 \u0437\u0430\u0442\u0435\u043d\u0435\u043d\u043d\u044b\u0439):<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1526\" height=\"1362\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28.png\" alt=\"\" class=\"wp-image-13535\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28.png 1526w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28-300x268.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28-768x685.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28-1024x914.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.54.28-336x300.png 336w\" sizes=\"auto, (max-width: 1526px) 100vw, 1526px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u0441\u0442\u0430\u0442\u0438, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u0430\u044f &#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u0430&#187; <strong><span style=\"color: #680ea1;\">Squiggle<\/span><\/strong> ( <strong><span style=\"color: #680ea1;\">fill( )<\/span><\/strong>  ) \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043c\u0435\u043d\u044c\u0448\u0435 \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043e\u0431\u0432\u043e\u0434\u043a\u0430 ( <strong><span style=\"color: #680ea1;\">stroke()<\/span><\/strong> ), \u0442\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0438\u0433\u0443\u0440\u044b, \u0430 \u043e\u0431\u0432\u043e\u0434\u043a\u0430 \u0441\u043d\u0430\u0440\u0443\u0436\u0438. \u0414\u043b\u044f \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u044f, \u043f\u043e-\u0432\u0438\u0434\u0438\u043c\u043e\u043c\u0443, \u0441\u0442\u043e\u0438\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u0447\u0435\u0442\u0430\u043d\u0438\u0435 \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u0438 \u043e\u0431\u0432\u043e\u0434\u043a\u0438, \u043d\u043e \u043e\u0431 \u044d\u0442\u043e\u043c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0437\u0436\u0435.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0414\u043b\u044f \u043e\u0432\u0430\u043b\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0444\u0438\u0433\u0443\u0440\u044b <strong><span style=\"color: #680ea1;\">Capsule<\/span><\/strong>. <\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0438\u0433\u0443\u0440\u044b &#171;\u041e\u0432\u0430\u043b&#187; \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <strong><span style=\"color: #680ea1;\">Capsule<\/span><\/strong>.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0428\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0430 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0444\u0438\u0433\u0443\u0440\u044b <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0415\u0449\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0443\u0447\u0438\u0442\u044c\u0441\u044f &#171;\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u0442\u044c&#187; \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0438\u0433\u0443\u0440\u044b <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c &#171;\u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u044b\u0439&#187; \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a <strong><span style=\"color: #680ea1;\">StripedRect<\/span><\/strong> \u0438 \u043d\u0430\u0443\u0447\u0438\u043c\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0434\u043b\u044f \u0448\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0438 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1286\" height=\"602\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28.png\" alt=\"\" class=\"wp-image-13534\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28.png 1286w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28-300x140.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28-768x360.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28-1024x479.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-18.11.28-500x234.png 500w\" sizes=\"auto, (max-width: 1286px) 100vw, 1286px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong><span style=\"color: #680ea1;\">StripedRect<\/span><\/strong> \u0434\u043b\u044f \u0448\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0438 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong> (\u043d\u0430 \u0440\u0438\u0441\u0443\u043d\u043a\u0435 \u043d\u0438\u0436\u0435 &#8212; \u044d\u0442\u043e \u0440\u043e\u043c\u0431 <strong><span style=\"color: #680ea1;\">Diamond<\/span><\/strong>):<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"306\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07.png\" alt=\"\" class=\"wp-image-13679\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07.png 1142w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07-300x80.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07-1024x274.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07-768x206.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-12.39.07-500x134.png 500w\" sizes=\"auto, (max-width: 1142px) 100vw, 1142px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1726\" height=\"1370\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01.png\" alt=\"\" class=\"wp-image-13537\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01.png 1726w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01-300x238.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01-768x610.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01-1024x813.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-20-at-19.00.01-378x300.png 378w\" sizes=\"auto, (max-width: 1726px) 100vw, 1726px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0448\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0438, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0433\u043e \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u044f \u0441 \u043e\u0431\u0432\u043e\u0434\u043a\u043e\u0439. \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u0447\u0443\u0442\u044c \u0432\u044b\u0448\u0435,&nbsp; \u0438 \u0437\u0430\u0442\u0443\u0448\u0451\u0432\u044b\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u0443\u043f\u0440\u043e\u0437\u0440\u0430\u0447\u043d\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong> \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435 <strong><span style=\"color: #c3178d;\">extension<\/span><\/strong> \u0434\u043b\u044f <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong> (\u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435 <em>Shape+Extensions.swift)<\/em>:<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"810\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23.png\" alt=\"\" class=\"wp-image-13780\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23.png 1012w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23-300x240.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23-768x615.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-09.48.23-375x300.png 375w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u0448\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0443, \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e\u0435 \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0437\u0430\u0442\u0443\u0448\u0451\u0432\u044b\u0432\u0430\u043d\u0438\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 <strong><span style=\"color: #680ea1;\">Shape<\/span><\/strong> \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code language = Swift\"><code> VStack {\n            Squiggle().blur(5)\/\/stroke(lineWidth: 5)\n            Squiggle().fillAndBorder(5)\n            Squiggle().stripe(5)\n        }.padding()<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418 \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u0440\u0430\u0432\u043d\u044b\u0435 &#171;\u0417\u0430\u0433\u043e\u0433\u0443\u043b\u0438\u043d\u044b&#187;:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-1024x810.png\" alt=\"\" class=\"wp-image-13682\" width=\"614\" height=\"485\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-1024x810.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-300x237.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-768x608.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-1536x1215.png 1536w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58-379x300.png 379w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-15.15.58.png 1714w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0423 \u043d\u0430\u0441 \u0432\u0441\u0435 \u0433\u043e\u0442\u043e\u0432\u043e \u0434\u043b\u044f \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0444\u0438\u0433\u0443\u0440 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51-1024x675.png\" alt=\"\" class=\"wp-image-13684\" width=\"614\" height=\"404\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51-1024x675.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51-300x198.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51-768x506.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51-455x300.png 455w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-18.16.51.png 1408w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044e \u0441\u0430\u043c\u043e\u0439 \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442<strong> SwiftUI file<\/strong> \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>SetCardView.swift<\/em>.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><strong><span style=\"color: #680ea1;\">View<\/span><\/strong> \u0434\u043b\u044f <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong> &#8212; <strong><span style=\"color: #680ea1;\">SetCardView<\/span><\/strong>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0432\u0438\u0436\u0443\u0449\u0435\u0439 \u0441\u0438\u043b\u043e\u0439 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f <strong><span style=\"color: #680ea1;\">View<\/span><\/strong> \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0441\u0430\u043c\u0430 \u043a\u0430\u0440\u0442\u0430 <strong><span style=\"color: #680ea1;\">card<\/span><\/strong> \u0438 \u043c\u0430\u0441\u0441\u0438\u0432 \u0446\u0432\u0435\u0442\u043e\u0432 <strong><span style=\"color: #680ea1;\">colorsShapes<\/span><\/strong> \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043a\u0430\u0440\u0442\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0438\u0433\u0443\u0440\u044b <strong><span style=\"color: #680ea1;\">Diamond()<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">Capsule()<\/span><\/strong> \u0438 <strong><span style=\"color: #680ea1;\">Squiggle()<\/span><\/strong> \u0438 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0438\u0445 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f: \u043e\u0431\u0432\u043e\u0434\u043a\u0430 &#8212; <strong><span style=\"color: #680ea1;\">stroke()<\/span><\/strong>, \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u043d\u0438\u0435 \u0441 \u043e\u0431\u0432\u043e\u0434\u043a\u043e\u0439 &#8212; <strong><span style=\"color: #680ea1;\">fillBorder ()<\/span><\/strong> \u0438 \u0448\u0442\u0440\u0438\u0445\u043e\u0432\u043a\u0430 &#8212; <strong><span style=\"color: #680ea1;\">stripe()<\/span><\/strong>. <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"683\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1-683x1024.png\" alt=\"\" class=\"wp-image-13690\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1-683x1024.png 683w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1-200x300.png 200w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1-768x1152.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-19.47.50-1.png 1012w\" sizes=\"auto, (max-width: 683px) 100vw, 683px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">C \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong><span style=\"color: #680ea1;\">rawValue<\/span><\/strong> \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <strong><span style=\"color: #680ea1;\">card.number<\/span><\/strong>  \u043c\u044b \u0443\u0437\u043d\u0430\u0435\u043c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u0432 <strong><span style=\"color: #680ea1;\">VStack<\/span><\/strong>, c \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong><span style=\"color: #680ea1;\">rawValue<\/span><\/strong> \u0434\u043b\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <strong><span style=\"color: #680ea1;\">card.color<\/span><\/strong> \u043c\u044b \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u044d\u0442\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <strong><span style=\"color: #680ea1;\">card.shape<\/span><\/strong> \u043c\u044b \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a\u0438\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0438\u0433\u0443\u0440\u044b (\u0438\u043b\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044b, \u043a\u0430\u043a \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043d\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0438\u0445 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c) \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043c\u0435\u0441\u0442\u0438\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0435 \u0438, \u043d\u0430\u043a\u043e\u043d\u0435\u0446, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <strong><span style=\"color: #680ea1;\">card.fill<\/span><\/strong> \u043c\u044b \u0443\u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043d\u0430\u0448\u0438 \u0441\u0438\u043c\u0432\u043e\u043b\u044b &#8212; \u043e\u0431\u0432\u043e\u0434\u0438\u0442\u044c, \u0437\u0430\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u0438\u043b\u0438 \u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u044b\u0432\u0430\u0442\u044c. \u0412\u0441\u0435 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043b\u044e\u0431\u0443\u044e \u0438\u0437 81 \u043a\u0430\u0440\u0442\u044b \u0438\u0433\u0440\u044b <strong>Set<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-10.58.43.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-10.58.43-1024x857.png\" alt=\"\" class=\"wp-image-13781\" width=\"613\" height=\"511\"\/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-1024x857.png\" alt=\"\" class=\"wp-image-13784\" width=\"614\" height=\"513\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-1024x857.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-300x251.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-768x642.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-1536x1285.png 1536w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22-359x300.png 359w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.08.22.png 1700w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"857\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-1024x857.png\" alt=\"\" class=\"wp-image-13785\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-1024x857.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-300x251.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-768x642.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-1536x1285.png 1536w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20-359x300.png 359w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.10.20.png 1688w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418\u0442\u0430\u043a, \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 \u043d\u0430\u0448\u0435\u0433\u043e \u043f\u043b\u0430\u043d\u0430 \u043f\u043e \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u0443 \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e, \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d, \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043a\u043e \u0432\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0443\u043d\u043a\u0442\u0443 &#8212; \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044e \u041c\u043e\u0434\u0435\u043b\u0438 \u043b\u043e\u0433\u0438\u043a\u0438 \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u0438 \u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041c\u043e\u0434\u0435\u043b\u044c \u0438\u0433\u0440\u044b Set.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u043e\u0433\u0434\u0430 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u041c\u043e\u0434\u0435\u043b\u0438&nbsp;\u043a\u0430\u0440\u0442\u043e\u0447\u043d\u043e\u0439 \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u0442\u043e \u044f\u0441\u043d\u043e, \u0447\u0442\u043e \u043e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u043a\u0430\u0440\u0442\u044b \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0435&nbsp;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439&nbsp;<strong><span style=\"color: #c3178d;\">var<\/span><\/strong> <strong><span style=\"color: #680ea1;\">cards<\/span><\/strong>, \u0422\u0418\u041f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 &#8212; \u043c\u0430\u0441\u0441\u0438\u0432 <strong><span style=\"color: #680ea1;\">Array<\/span><\/strong> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong>, \u043a\u043e\u043b\u043e\u0434\u0443 \u043a\u0430\u0440\u0442 <strong><span style=\"color: #680ea1;\">deck<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0442\u0430\u043a\u0436\u0435&nbsp;\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043c\u0430\u0441\u0441\u0438\u0432\u043e\u043c&nbsp;<strong><span style=\"color: #680ea1;\">Array<\/span><\/strong> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong>, \u0447\u0438\u0441\u043b\u043e \u0441\u0434\u0430\u043d\u043d\u044b\u0445 \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u043a\u0430\u0440\u0442&nbsp;<strong><span style=\"color: #680ea1;\">numberOfCardsStart<\/span><\/strong>, \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u0440\u0442&nbsp;<strong><span style=\"color: #680ea1;\">numberOfCardsToMatch<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442  \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c, \u0438 \u043c\u0435\u0442\u043e\u0434 \u0432\u044b\u0431\u043e\u0440\u0430 \u043a\u0430\u0440\u0442\u044b&nbsp;<strong><span style=\"color: #680ea1;\">choose (card:Card)<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432\u0441\u044e \u0438\u0433\u0440\u0443 <strong>Set<\/strong>.<br>\u0412\u043e\u0442 \u043f\u0440\u043e\u0441\u0442\u0435\u0439\u0448\u0430\u044f \u0441\u0445\u0435\u043c\u0430 \u041c\u043e\u0434\u0435\u043b\u0438 \u0438\u0433\u0440\u044b <strong>Set<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49.png\"><img loading=\"lazy\" decoding=\"async\" width=\"940\" height=\"764\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49.png\" alt=\"\" class=\"wp-image-13789\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49.png 940w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49-300x244.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49-768x624.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-11.35.49-369x300.png 369w\" sizes=\"auto, (max-width: 940px) 100vw, 940px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u043a\u0438 \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u043a\u0430\u0440\u0442\u0430 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong> \u043d\u043e\u0441\u0438\u0442 \u0435\u0449\u0451 \u0431\u043e\u043b\u0435\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u044b\u0439 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440, \u0447\u0435\u043c \u043d\u0430\u0448\u0430 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u0432\u044b\u0448\u0435 \u0438 \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u043e\u0431\u0440\u0430\u0437 <strong><span style=\"color: #680ea1;\">SetCardView<\/span><\/strong>. <\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0441\u043e\u0437\u0434\u0430\u0435\u043c <strong>UI <\/strong>\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u0443\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u0442\u0430\u043a \u0447\u0442\u043e \u043d\u0430\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u041d\u0415 \u0412\u0410\u0416\u041d\u041e, \u0447\u0442\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0445 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong>. \u0421\u0432\u043e\u0439\u0441\u0442\u0432\u043e <strong><span style=\"color: #680ea1;\">content<\/span><\/strong> \u0438\u043c\u0435\u0435\u0442 \u201c\u041d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u043e\u0439\u201d \u0422\u0418\u041f, \u0438 \u044f \u043d\u0430\u0437\u043e\u0432\u0443 \u0435\u0433\u043e <strong><span style=\"color: #680ea1;\">CardContent<\/span><\/strong>. \u041c\u0435\u043d\u044f \u0442\u0443\u0442 \u0436\u0435 \u043f\u0440\u043e\u0441\u044f\u0442 \u0432\u0432\u0435\u0440\u0445\u0443 \u0432 \u0443\u0433\u043b\u043e\u0432\u044b\u0445 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 <strong><span style=\"color: #680ea1;\">&lt; &gt;<\/span><\/strong> \u0421\u041e\u041e\u0411\u0429\u0418\u0422\u042c \u041c\u0418\u0420\u0423, \u0447\u0442\u043e <strong><span style=\"color: #680ea1;\">CardContent<\/span><\/strong> \u2014 \u044d\u0442\u043e <strong>Generic<\/strong> \u0422\u0418\u041f:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"744\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05.png\" alt=\"\" class=\"wp-image-13693\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05.png 1012w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05-300x221.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05-768x565.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-21-at-22.03.05-408x300.png 408w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-black-color has-text-color has-normal-font-size\"><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0432\u044b \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u0433\u0440\u0443 <strong><span style=\"color: #680ea1;\">SetGame<\/span><\/strong>, \u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0422\u0418\u041f \u0437\u0430\u043c\u0435\u043d\u0438\u0442 <strong><span style=\"color: #680ea1;\">CardContent<\/span><\/strong>. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u043d\u0430\u0447\u043d\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u041c\u043e\u0434\u0435\u043b\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u0435 <strong><span style=\"color: #680ea1;\">SetGame<\/span><\/strong> \u043d\u0435 \u0441 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong>, \u0430 \u0441 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u043e\u0439 <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0432\u044b\u0448\u0435, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <strong><span style=\"color: #680ea1;\">SetGame&lt;SetCard&gt;<\/span><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0443\u0434\u0438\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u0441 \u201c\u041d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u0438\u043c\u0438\u201d (Generic) \u0422\u0418\u041f\u0430\u043c\u0438. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435 \u0442\u0430\u043a \u0438 \u0435\u0441\u0442\u044c \u2014 <strong><span style=\"color: #680ea1;\">SetGame<\/span><\/strong> \u043d\u0435 \u0431\u0435\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u0441\u044f \u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0445 <strong><span style=\"color: #680ea1;\">cards<\/span><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043b\u043e\u0433\u0438\u043a\u0438 \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u043f\u043e\u0447\u0442\u0438 \u043d\u0435\u0432\u0430\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">content<\/span><\/strong> \u0438 \u0442\u0435\u043c \u0431\u043e\u043b\u0435\u0435, \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u0440\u0442\u0430 (\u0432\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043a\u0430\u0440\u0442\u044b \u0432\u0430\u0436\u043d\u0430 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f \u0438\u0433\u0440\u043e\u043a\u0430), \u043d\u043e \u0434\u043b\u044f \u043d\u0435\u0435 \u0432\u0430\u0436\u043d\u043e \u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u0433\u0440\u043e\u043a\u0443 \u0432\u044b\u0431\u0438\u0440\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b, \u0442\u043e \u0435\u0441\u0442\u044c \u0434\u0435\u043b\u0430\u0442\u044c \u0438\u0445 &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438&#187; <strong><span style=\"color: #680ea1;\">isSelected<\/span><\/strong> \u0438 \u0435\u0441\u043b\u0438 \u0442\u0430\u043a\u0438\u0445 &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445&#187; \u043a\u0430\u0440\u0442 \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0441\u044f 3, \u0442\u043e \u0443\u043c\u0435\u0442\u044c \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c \u0438\u0445 \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u0442\u043e\u0433\u043e, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043e\u043d\u0438 \u0441\u0435\u0442 <strong>Set<\/strong> \u0438\u043b\u0438 \u043d\u0435\u0442. \u0415\u0441\u043b\u0438 \u043a\u0430\u0440\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0443\u043c\u0435\u0442\u044c \u043f\u043e\u043c\u0435\u0442\u0438\u0442\u044c \u0438\u0445 \u043a\u0430\u043a &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; <strong><span style=\"color: #680ea1;\">isMatched<\/span><\/strong> \u0438 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c \u0448\u0430\u0433\u0435 \u0438\u0433\u0440\u044b \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0438\u0437 \u0438\u0433\u0440\u044b.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">content<\/span><\/strong> \u0432\u0441\u0451 \u0442\u0430\u043a\u0438 \u0438\u043c\u0435\u0435\u0442 \u043d\u0435 \u0441\u043e\u0432\u0441\u0435\u043c \u201c\u041d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u043e\u0439\u201d \u0422\u0418\u041f <strong><span style=\"color: #680ea1;\">CardContent<\/span><\/strong>, \u044d\u0442\u043e\u0442 \u0422\u0418\u041f \u0434\u043e\u043b\u0436\u0435\u043d \u0438\u043c\u0435\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c <strong>Set<\/strong> \u043f\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u043c\u0443 <strong><span style=\"color: #680ea1;\">content<\/span><\/strong> \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043a\u0430\u0440\u0442 ( \u0432 \u0438\u0433\u0440\u0435 Set \u043f\u043e 3-\u043c \u043a\u0430\u0440\u0442\u0430\u043c). \u0422\u0430\u043a\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043a\u0430\u0440\u0442 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong> \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u0437\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e&nbsp;&nbsp;\u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 <b>Constraints and Gains<\/b> (\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 \u0438 \u0412\u044b\u0433\u043e\u0434), \u0438\u043c\u0435\u043d\u043d\u043e \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u043f\u0440\u0438\u043d\u0446\u0438\u043f, \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0439 \u0432 \u043e\u0441\u043d\u043e\u0432\u0443 \u041f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e-\u041e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0433\u043e \u041f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f (POP). \u0414\u043b\u044f \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043c\u044b&nbsp;\u0438\u0437\u043e\u0431\u0440\u0435\u0442\u0430\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b&nbsp;<strong><span style=\"color: #680ea1;\">Matchable<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c <strong><span style=\"color: #c31780;\">static<\/span><\/strong> \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #c31780;\">func<\/span><\/strong> <strong><span style=\"color: #680ea1;\">match (cards:[SetCard]) -&gt; Bool<\/span><\/strong>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u043b\u0438 \u043a\u0430\u0440\u0442\u044b&nbsp;<strong><span style=\"color: #680ea1;\">cards<\/span><\/strong> \u0441\u0435\u0442 <strong>Set<\/strong>.&nbsp;<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"986\" height=\"140\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20.png\" alt=\"\" class=\"wp-image-13509\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20.png 986w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20-300x43.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20-768x109.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-16-at-22.11.20-500x71.png 500w\" sizes=\"auto, (max-width: 986px) 100vw, 986px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c &#171;\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435&#187; \u043d\u0430 \u201c\u041d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u043e\u0439\u201d \u0422\u0418\u041f <strong><span style=\"color: #680ea1;\">CardContent<\/span><\/strong> \u0432 \u0432\u0438\u0434\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #680ea1;\">Matchable<\/span><\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36.png\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"572\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36.png\" alt=\"\" class=\"wp-image-13710\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36.png 996w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36-300x172.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36-768x441.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-10.48.36-500x287.png 500w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042d\u0442\u043e &#171;\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0435&#187;, \u0430 &#171;\u0412\u044b\u0433\u043e\u0434\u0430&#187; \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 Generic \u0438\u0433\u0440\u0435 <strong><span style=\"color: #680ea1;\">SetGame<\/span><\/strong> \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #680ea1;\">match (cards:[SetCard]) -&gt; Bool<\/span><\/strong>, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0443\u044e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0435\u0442\u0430 <strong>Set<\/strong>, \u0438 \u043d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432\u0441\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0438\u0433\u0440\u044b.<\/span> <\/p>\n\n\n\n<p class=\"has-black-color has-text-color has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0438\u0433\u0440\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame&lt;CardContent&gt;<\/strong><\/span> \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u043a\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0422\u0418\u041f \u0437\u0430\u043c\u0435\u043d\u0438\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>CardContent<\/strong><\/span>. \u0438 \u044d\u0442\u043e\u0442 \u0422\u0418\u041f \u0434\u043e\u043b\u0436\u0435\u043d \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Matchable<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u043e\u0439 \u0432 \u0438\u0433\u0440\u0443 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span> \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Card<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u043c\u044b \u043c\u043e\u0433\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b <strong><span style=\"color: #680ea1;\">cards<\/span><\/strong> \u0432 <strong><span style=\"color: #680ea1;\">ForEach<\/span><\/strong> \u043d\u0430 <strong><span style=\"color: #680ea1;\">View<\/span><\/strong> \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b Set, \u043a\u0430\u0440\u0442\u0430 <strong><span style=\"color: #680ea1;\">Card<\/span><\/strong> \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c <strong><span style=\"color: #680ea1;\">Identifiable<\/span><\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1020\" height=\"744\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06.png\" alt=\"\" class=\"wp-image-13697\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06.png 1020w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06-300x219.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06-768x560.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-16.55.06-411x300.png 411w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u043e\u043a\u0430 \u0443 \u043d\u0430\u0441 \u043d\u0435\u0442 \u043d\u0438 \u043a\u043e\u043b\u043e\u0434\u044b \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deck<\/strong><\/span>, \u043d\u0438 \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>cards<\/strong><\/span>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0442\u043e\u0440 <span style=\"color:#c4188e\" class=\"has-inline-color\"><strong>init<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u043c &#171;\u0437\u0430\u043a\u0430\u0447\u0430\u0442\u044c&#187; \u043a\u043e\u043b\u043e\u0434\u0443 \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deck<\/strong><\/span> \u0432 \u0438\u0433\u0440\u0443 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0437\u0430\u0434\u0430\u0442\u044c \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>numberOfCardsStart<\/strong><\/span> \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0438\u0433\u0440\u044b, \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>numberOfCardsInDeck<\/strong><\/span> \u0438 \u0433\u0435\u043d\u0435\u0440\u0430\u0442\u043e\u0440 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043a\u0430\u0440\u0442\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>cardContentFa\u0441tory<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"565\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15-1024x565.png\" alt=\"\" class=\"wp-image-13698\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15-1024x565.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15-300x166.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15-768x424.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15-500x276.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-17.01.15.png 1156w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u043e \u043c\u0435\u0440\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043a\u0430\u0440\u0442\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Card<\/strong><\/span> \u043d\u0430\u043f\u043e\u043b\u043d\u044f\u044e\u0442 \u043d\u0430\u0448\u0443 \u043a\u043e\u043b\u043e\u0434\u0443 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deck<\/strong><\/span>, \u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>id<\/strong><\/span> \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u0430 \u043a\u0430\u0440\u0442\u044b \u0432 \u043a\u043e\u043b\u043e\u0434\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>i<\/strong><\/span>, \u0434\u0435\u043b\u0430\u044e\u0449\u0435\u0435 \u043a\u0430\u0440\u0442\u0443 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Card Identifiable<\/strong><\/span>. \u0417\u0430\u0442\u0435\u043c \u043a\u043e\u043b\u043e\u0434\u0430 \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deck<\/strong><\/span> \u043f\u0435\u0440\u0435\u043c\u0435\u0448\u0438\u0432\u0430\u0435\u0442\u0441\u044f.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430\u043c \u0435\u0449\u0435 \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0441\u0434\u0430\u0447\u0438 \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deal<\/strong><\/span>, \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>numberOfCards<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u043d\u043e <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>nil<\/strong><\/span>, \u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0434\u0430\u0432\u0430\u0435\u043c\u044b\u0445 \u043a\u0430\u0440\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e \u0447\u0438\u0441\u043b\u0443 \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>numberOfCardsStart<\/strong><\/span> \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0438\u0433\u0440\u044b:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"256\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53-1024x256.png\" alt=\"\" class=\"wp-image-13705\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53-1024x256.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53-300x75.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53-768x192.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53-500x125.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-22-at-18.08.53.png 1050w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042d\u0442\u0430 \u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044f <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>deal<\/strong><\/span> \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0441\u0434\u0430\u0447\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 3-\u0445 \u043a\u0430\u0440\u0442, \u0435\u0441\u043b\u0438 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442 \u0441\u0435\u0442 <strong>Set<\/strong> \u0438 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435 \u043a\u0430\u0440\u0442 \u0435\u0441\u0442\u044c \u0435\u0449\u0435 \u043a\u0430\u0440\u0442\u044b.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041e\u0441\u043d\u043e\u0432\u043d\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442 \u0432 \u0438\u0433\u0440\u0435 <strong>Set<\/strong>, \u044d\u0442\u043e \u0432\u044b\u0431\u043e\u0440 \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>choose (card:Card)<\/strong><\/span>. \u0415\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>card<\/strong><\/span> \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u043c\u043e\u043c\u0435\u043d\u0442\u0430 \u043d\u0435 \u0431\u044b\u043b\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isSelected =<\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>false<\/strong><\/span>) \u0438 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0435\u0439&#187; (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isMatched = <\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>false<\/strong><\/span>), \u0442\u043e \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0432 \u0438\u0433\u0440\u0435 Set \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442\u044c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0440\u0442 \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u0441\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>var<\/strong><\/span> <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>selectedIndices <\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"733\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17-1024x733.png\" alt=\"\" class=\"wp-image-13719\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17-1024x733.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17-300x215.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17-768x550.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17-419x300.png 419w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.07.17.png 1226w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u043c\u0435\u0442\u043e\u0434\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>choose<\/strong><\/span> \u043c\u044b \u043d\u0430\u0445\u043e\u0434\u0438\u043c \u0438\u043d\u0434\u0435\u043a\u0441 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>chooseIndex<\/strong><\/span> \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0430\u0440\u0442\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>card<\/strong><\/span>, \u0443\u0431\u0435\u0436\u0434\u0430\u0435\u043c\u0441\u044f, \u0447\u0442\u043e \u043e\u043d\u0430 \u043d\u0435 \u0431\u044b\u043b\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isSelected =<\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>false<\/strong><\/span>) \u0440\u0430\u043d\u0435\u0435 \u0438 \u043d\u0435 \u0432\u0445\u043e\u0434\u0438\u0442 \u0432 \u0441\u0435\u0442 <strong>Set<\/strong> (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isMatched =<\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>false<\/strong><\/span>) \u0438 \u0438\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u043c \u0447\u0438\u0441\u043b\u043e \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a \u044d\u0442\u043e\u043c\u0443 \u043c\u043e\u043c\u0435\u043d\u0442\u0443 \u043a\u0430\u0440\u0442 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>selectedIndices<\/strong><\/span>. \u0415\u0441\u043b\u0438 \u0438\u0445 \u0443\u0436\u0435 \u0434\u0432\u0435, \u0442\u043e \u043c\u044b \u043c\u0435\u0442\u0438\u043c &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439&#187; (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isSelected = <\/strong><\/span><span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>true<\/strong><\/span>) \u043a\u0430\u0440\u0442\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u0438 &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445&#187; \u043a\u0430\u0440\u0442 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f 3. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u043f\u0443\u043d\u043a\u0442\u043e\u043c 7 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3:<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">7. \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0431\u044b\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u044b 3 \u043a\u0430\u0440\u0442\u044b (<\/span><b>selected<\/b><span style=\"font-weight: 400;\">)<\/span><span style=\"font-weight: 400;\">, \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 \u043b\u0438 \u044d\u0442\u0438 3 \u043a\u0430\u0440\u0442\u044b (<\/span><b>match<\/b><span style=\"font-weight: 400;\">) \u0438\u043b\u0438 \u043d\u0435\u0442 (<\/span><b>mismatch<\/b><span style=\"font-weight: 400;\">). \u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u043e \u043a\u0430\u043a \u0445\u043e\u0442\u0438\u0442\u0435 (\u0446\u0432\u0435\u0442\u043e\u043c, \u0433\u0440\u0430\u043d\u0438\u0446\u0430\u043c\u0438, \u0444\u043e\u043d\u043e\u043c, \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439, \u0447\u0435\u043c \u0443\u0433\u043e\u0434\u043d\u043e). \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u044b 3 \u043a\u0430\u0440\u0442\u044b (<\/span><b>selected<\/b><span style=\"font-weight: 400;\">)<\/span><span style=\"font-weight: 400;\">, \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u044f\u0441\u043d\u043e, \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442 (<\/span><b>match<\/b><span style=\"font-weight: 400;\">) \u043e\u043d\u0438 \u0438\u043b\u0438 \u043d\u0435\u0442 (<\/span><b>mismatch<\/b><span style=\"font-weight: 400;\">) (\u0438 \u043a\u0430\u0440\u0442\u044b, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0432 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0435\u0435 \u0442\u0440\u0438\u043e, \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0438\u043d\u0430\u0447\u0435, \u0447\u0435\u043c \u043a\u0430\u0440\u0442\u044b, \u043a\u043e\u0433\u0434\u0430 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u044b\u0431\u043e\u0440\u0430 1 \u0438\u043b\u0438 2 \u043a\u0430\u0440\u0442).<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u043e\u0433\u0434\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u044b 3 \u043a\u0430\u0440\u0442\u044b, \u043c\u044b \u0432\u043f\u0440\u0430\u0432\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445&#187; \u043a\u0430\u0440\u0442 \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0441\u0435\u0442\u0430 <strong>Set<\/strong> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>static<\/strong><\/span> \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>match<\/strong><\/span> \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Matchable<\/strong><\/span>. \u0415\u0441\u043b\u0438 \u044d\u0442\u043e \u0441\u0435\u0442 <strong>Set<\/strong>, \u0442\u043e \u043c\u044b \u043c\u0435\u0442\u0438\u043c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043a\u0430\u043a &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; ( <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isMatched =<\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>true<\/strong><\/span>), \u0430 \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0442\u043e \u043c\u0435\u0442\u0438\u043c \u043a\u0430\u043a &#171;\u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; (<span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isNotMatched =<\/strong><\/span> <span style=\"color:#c3178d\" class=\"has-inline-color\"><strong>true<\/strong><\/span>), \u041c\u044b \u0432\u044b\u043d\u0443\u0436\u0434\u0435\u043d\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>isNotMatched<\/strong><\/span> \u043a \u043a\u0430\u0440\u0442\u0435 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>Card<\/strong><\/span>, \u0442\u0430\u043a \u043a\u0430\u043a \u043d\u0430\u0441 \u043f\u0440\u043e\u0441\u044f\u0442 \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 3 \u0447\u0435\u0442\u043a\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u044d\u0442\u0438 3 \u043a\u0430\u0440\u0442\u044b &#171;\u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u043b\u0438&#187;:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1004\" height=\"258\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53.png\" alt=\"\" class=\"wp-image-13720\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53.png 1004w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53-300x77.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53-768x197.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53-1000x258.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-23-at-13.22.53-500x128.png 500w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0435\u043c \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043c\u0435\u0442\u043e\u0434 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>choose<\/strong><\/span> \u0434\u043b\u044f \u0441\u043b\u0443\u0447\u0430\u044f, \u043a\u043e\u0433\u0434\u0430 \u0447\u0438\u0441\u043b\u043e \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442 \u0440\u0430\u0432\u043d\u043e <strong>0<\/strong> \u0438\u043b\u0438 <strong>1<\/strong> \u0438\u043b\u0438 <strong>3<\/strong>, \u0438 \u0437\u0434\u0435\u0441\u044c \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0440\u0443\u043a\u043e\u0432\u043e\u0434\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u0438 \u043f\u0443\u043d\u043a\u0442\u0430\u043c\u0438 <em>9<\/em> \u0438 <em>10<\/em> \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3:<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">9. \u0415\u0441\u043b\u0438 \u0432\u044b \u043a\u0430\u0441\u0430\u0435\u0442\u0435\u0441\u044c \u043b\u044e\u0431\u043e\u0439 \u043a\u0430\u0440\u0442\u044b,&nbsp; \u043a\u043e\u0433\u0434\u0430 \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u044b 3 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 <\/span><span style=\"font-weight: 400;\">(<\/span><b>matching<\/b><span style=\"font-weight: 400;\">) <\/span><span style=\"font-weight: 400;\">\u043a\u0430\u0440\u0442\u044b, \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0438\u0435 <\/span><b>Set<\/b><span style=\"font-weight: 400;\">, \u0442\u043e\u0433\u0434\u0430 \u2026<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0438\u0433\u0440\u044b <\/span><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D1%82_(%D0%B8%D0%B3%D1%80%D0%B0)\"><span style=\"font-weight: 400;\">Set<\/span><\/a><span style=\"font-weight: 400;\">, \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u044d\u0442\u0438 3 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0445 (<\/span><b>matching<\/b><span style=\"font-weight: 400;\">) <\/span><b>Set<\/b><span style=\"font-weight: 400;\"> \u043a\u0430\u0440\u0442\u044b \u043d\u043e\u0432\u044b\u043c\u0438 \u0438\u0437 \u043a\u043e\u043b\u043e\u0434\u044b&nbsp;<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 (<\/span><b>matching<\/b><span style=\"font-weight: 400;\">) \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043b\u0435\u0442\u0430\u0442\u044c (\u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439) \u0432 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u043b\u0435\u0442\u0435\u0442\u044c (\u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439) \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430 (\u0438\u043b\u0438 \u0438\u0437 &#171;\u043a\u043e\u043b\u043e\u0434\u044b&#187; \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, <\/span><a href=\"https:\/\/docs.google.com\/document\/d\/1mS3PRNdq6ujTfpEmvCkhlaKkElyvKw2DbsXbivvJNtc\/edit#bookmark=id.ru683ik5my6l\"><span style=\"font-weight: 400;\">\u0441\u043c. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b<\/span><\/a><span style=\"font-weight: 400;\">)<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0435\u0441\u043b\u0438 \u043a\u043e\u043b\u043e\u0434\u0430 \u043f\u0443\u0441\u0442\u0430, \u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u043c\u0438 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 (\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u044b), \u0434\u043e\u043b\u0436\u043d\u043e \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0434\u043b\u044f \u043e\u0441\u0442\u0430\u0432\u0448\u0438\u0445\u0441\u044f \u043a\u0430\u0440\u0442 (\u0442.\u0435. \u043e\u043d\u0438, \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0441\u0442\u0430\u043d\u0443\u0442 \u0431\u043e\u043b\u044c\u0448\u0435)<\/span><\/li>\n<li style=\"font-weight: 400;\">\u0435\u0441\u043b\u0438 \u043a\u0430\u0440\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u044b \u043a\u043e\u0441\u043d\u0443\u043b\u0438\u0441\u044c, \u043d\u0435 \u0431\u044b\u043b\u0430 \u0447\u0430\u0441\u0442\u044c\u044e \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0445 <span style=\"font-weight: 400;\">(<\/span><b style=\"font-family: Georgia, 'Bitstream Charter', serif;\">matching<\/b><span style=\"font-weight: 400;\">) <\/span><span style=\"font-weight: 400;\">\u043a\u0430\u0440\u0442, \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0438\u0445 <\/span><b style=\"font-family: Georgia, 'Bitstream Charter', serif;\">Set<\/b><span style=\"font-weight: 400;\">, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u044d\u0442\u0443 \u043a\u0430\u0440\u0442\u0443<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><span style=\"font-weight: 400;\">10. \u041a\u043e\u0433\u0434\u0430 \u0432\u044b\u0431\u0440\u0430\u043d\u0430 \u043d\u043e\u0432\u0430\u044f \u043a\u0430\u0440\u0442\u0430 \u0438 \u0435\u0441\u0442\u044c \u0443\u0436\u0435 3 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 (<\/span><b>selected<\/b><span style=\"font-weight: 400;\">) \u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0445 \u043a\u0430\u0440\u0442\u044b, \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u044d\u0442\u0438 3 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0445 \u043a\u0430\u0440\u0442\u044b \u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438 (<\/span><b>deselected<\/b><span style=\"font-weight: 400;\">), \u0430 \u043d\u043e\u0432\u0443\u044e \u043a\u0430\u0440\u0442\u0443 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439&nbsp; (<\/span><b>selected<\/b><span style=\"font-weight: 400;\">)&nbsp; (\u043d\u0435\u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e \u043e\u0442 \u0442\u043e\u0433\u043e, \u0431\u044b\u043b\u0430 \u043b\u0438 \u043e\u043d\u0430 \u0447\u0430\u0441\u0442\u044c\u044e \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0435\u0433\u043e \u0442\u0440\u0438\u043e \u043a\u0430\u0440\u0442).<\/span><\/p>\n<\/blockquote>\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"985\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1-985x1024.png\" alt=\"\" class=\"wp-image-13728\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1-985x1024.png 985w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1-289x300.png 289w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1-768x798.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.06.51-1.png 1222w\" sizes=\"auto, (max-width: 985px) 100vw, 985px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>selectedIndices.count<\/strong><\/span> \u0440\u0430\u0432\u043d\u043e <strong>0<\/strong> \u0438\u043b\u0438 <strong>1<\/strong>, \u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0435\u0442\u0438\u043c \u043a\u0430\u0440\u0442\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>card<\/strong><\/span> \u043a\u0430\u043a &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0443\u044e&#187; (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isSelected =<\/strong><\/span> <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>true<\/strong><\/span>). \u0415\u0441\u043b\u0438 \u0436\u0435 \u0443 \u043d\u0430\u0441 <strong>3<\/strong> \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442\u044b, \u0442\u043e \u043c\u044b \u043c\u0435\u043d\u044f\u0435\u043c \/ \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>changeCards()<\/strong><\/span>, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 &#171;\u0441\u043e\u0432\u043f\u0430\u043b\u0438&#187;, \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b &#171;\u043d\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438&#187; (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isSelected = <\/strong><\/span> <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>false<\/strong><\/span>) \u0438 \u043d\u0435 &#171;\u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u043c\u0438&#187; (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isNotMatched =<\/strong><\/span> <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>false<\/strong><\/span>), \u043a\u0440\u043e\u043c\u0435 \u043a\u0430\u0440\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>card<\/strong><\/span>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>onlySelectedCard<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043c\u0435\u0442\u043e\u0434 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>changeCards()<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>matchedIndices<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"637\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03-1024x637.png\" alt=\"\" class=\"wp-image-13729\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03-1024x637.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03-300x187.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03-768x478.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03-482x300.png 482w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.13.03.png 1132w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u043c\u0435\u0442\u043e\u0434\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>changeCards<\/strong><\/span> \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u0438\u043d\u0434\u0435\u043a\u0441\u0430\u043c\u0438 &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0445&#187; \u043a\u0430\u0440\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>matchedIndices<\/strong><\/span>. \u0415\u0441\u043b\u0438 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435 \u0435\u0441\u0442\u044c \u043a\u0430\u0440\u0442\u044b \u0438 \u0447\u0438\u0441\u043b\u043e \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u0440\u0430\u0432\u043d\u043e \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0443 \u043a\u0430\u0440\u0442 \u043f\u0440\u0438 \u0441\u0442\u0430\u0440\u0442\u0435 \u0438\u0433\u0440\u044b, \u043c\u044b \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u043c \u0437\u0430\u043c\u0435\u043d\u0443 \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0443\u0434\u0430\u043b\u044f\u0435\u043c \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0441 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0430.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">ViewModel \u0434\u043b\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u0439 \u0438\u0433\u0440\u044b <strong><span style=\"color: #680ea1;\">SetGame&lt;SetCard&gt;<\/span><\/strong><\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0431\u043e\u0447\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0438\u0433\u0440\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0435\u0451 \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set<\/strong> \u0441 \u043a\u0430\u0440\u0442\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCard<\/strong><\/span>, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u0432\u044b\u0448\u0435, \u0432 \u043d\u0430\u0448\u0435\u0439 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0439 <strong>ViewModel<\/strong>. <\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 <strong>Swift<\/strong> \u0444\u0430\u0439\u043b <em>SetCardGame.swift<\/em> \u0438 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0442\u0430\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u043e\u0434 : <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"963\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02-1024x963.png\" alt=\"\" class=\"wp-image-13730\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02-1024x963.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02-300x282.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02-768x722.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02-319x300.png 319w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-11.26.02.png 1144w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 \u0438\u0433\u0440\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame&lt;CardContent&gt;<\/strong><\/span> \u043c\u044b \u0442\u043e\u0447\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u043b\u0438, \u043a\u0430\u043a\u043e\u0439 \u0440\u0435\u0430\u043b\u044c\u043d\u044b\u0439 \u0422\u0418\u041f \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 &#171;\u041d\u0435 \u0432\u0430\u0436\u043d\u043e, \u043a\u0430\u043a\u043e\u0439&#187; \u0422\u0418\u041f <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>CardContent<\/strong><\/span>. \u041c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u041c\u043e\u0434\u0435\u043b\u044c \u0438\u0433\u0440\u044b <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span> \u0441 \u043a\u0430\u0440\u0442\u043e\u0439 <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetCard<\/strong><\/span>, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u0438 \u0432 \u0432\u044b\u0448\u0435 \u0438 \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u043b\u0438 \u0435\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c <span style=\"color:#680ea1\" class=\"has-inline-color\"><strong>SetGame&lt;SetCard&gt;<\/strong><\/span>, \u043d\u043e \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0430 <strong><span style=\"color: #680ea1;\">Matchable<\/span><\/strong> \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439 <strong><span style=\"color: #c3178d;\">struct<\/span><\/strong>  <strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0442\u043e\u0447\u043d\u043e \u0442\u0430\u043a\u0430\u044f \u0436\u0435 <strong>ViewModel<\/strong>, \u043e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u043b \u043d\u0430 <a href=\"https:\/\/cs193p.sites.stanford.edu\/\"><strong>\u041b\u0435\u043a\u0446\u0438\u0438 3<\/strong><\/a>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e &#171;\u041e\u0431\u0435\u0440\u0442\u043a\u0438&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@Published<\/strong><\/span>  \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u041c\u043e\u0434\u0435\u043b\u044c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>model<\/strong><\/span> \u0438\u0433\u0440\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame&lt;SetCard&gt;<\/strong><\/span> \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCard<\/strong><\/span>, \u0441 \u043a\u043e\u043b\u043e\u0434\u043e\u0439 \u043a\u0430\u0440\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deck<\/strong><\/span> \u0438 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u043c \u0447\u0438\u0441\u043b\u043e\u043c \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>numberOfCardsStart<\/strong><\/span>. \u041c\u044b \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u0438\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u0438\u0442\u0435\u043b\u0435\u043c \u044d\u0442\u043e\u0439 <strong>ViewModel<\/strong>, \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u0430\u0440\u0442\u0430\u043c \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>cards<\/strong><\/span> \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>choose(card:)<\/strong><\/span>, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043c \u0441\u0434\u0430\u0432\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deal()<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c, \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0448\u0430 \u043a\u0430\u0440\u0442\u0430&nbsp;<strong><span style=\"color: #680ea1;\">SetCard<\/span><\/strong> \u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0442\u044c \u0443\u0447\u0430\u0441\u0442\u0438\u0435 \u0432 \u0438\u0433\u0440\u0435 <b>Set<\/b>&nbsp;&#171;, \u043e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c&nbsp;<strong><span style=\"color: #680ea1;\">Matchable<\/span><\/strong>, \u0430 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c&nbsp;<strong><span style=\"color: #c31780;\">static<\/span><\/strong> \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #c31780;\">func<\/span><\/strong> <strong><span style=\"color: #680ea1;\">match (cards:[SetCard]) -&gt; Bool<\/span><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #c31780;\">struct<\/span>&nbsp;<span style=\"color: #680ea1;\">SetCard&nbsp;<\/span><\/strong>\u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #680ea1;\">match<\/span><\/strong> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043b\u0435\u0433\u043a\u043e. <\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421\u0435\u0442 <strong>Set<\/strong> \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u0440\u0451\u0445 \u043a\u0430\u0440\u0442 <strong><span style=\"color: #680ea1;\">SetCard&nbsp;<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u044e\u0442&nbsp;<b>\u0432\u0441\u0435\u043c<\/b>&nbsp;\u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e \u0436\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 <strong><span style=\"color: #680ea1;\">number<\/span><\/strong> \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0441\u0438\u043c\u0432\u043e\u043b <strong><span style=\"color: #680ea1;\">shape<\/span><\/strong> \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u043c\u0432\u043e\u043b\u0430;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u0443 \u0436\u0435 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u0443 <strong><span style=\"color: #680ea1;\">fill<\/span><\/strong> \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0442\u0435\u043a\u0441\u0442\u0443\u0440\u044b;<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u0438\u043c\u0435\u044e\u0442 \u0442\u043e\u0442 \u0436\u0435 \u0446\u0432\u0435\u0442 <strong><span style=\"color: #680ea1;\">color<\/span><\/strong> \u0438\u043b\u0438 \u0436\u0435 3 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0446\u0432\u0435\u0442\u0430.<\/span><\/li><\/ul>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 4-\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 (<strong><span style=\"color: #680ea1;\">number<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">color<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">shape<\/span><\/strong> \u0438 <strong><span style=\"color: #680ea1;\">fill<\/span><\/strong>) \u043c\u044b \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c \u0441\u0443\u043c\u043c\u0443 <strong><span style=\"color: #680ea1;\">sum<\/span><\/strong> \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 <strong><span style=\"color: #680ea1;\">awValue<\/span><\/strong>r \u0434\u043b\u044f \u0432\u0441\u0435\u0445 3-\u0445 \u043a\u0430\u0440\u0442. \u0415\u0441\u043b\u0438 \u044d\u0442\u0430 \u0441\u0443\u043c\u043c\u0430 \u0434\u0435\u043b\u0438\u0442\u0441\u044f \u043d\u0430\u0446\u0435\u043b\u043e \u043d\u0430 3, \u0442\u043e \u0435\u0441\u0442\u044c&nbsp; \u043e\u043d\u0430 \u0440\u0430\u0432\u043d\u0430&nbsp; 3, 6 \u0438\u043b\u0438 9, \u0442\u043e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u0432\u0441\u0435\u0445 3-\u0445 \u043a\u0430\u0440\u0442 \u043b\u0438\u0431\u043e \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u0435 (3, 6 \u0438\u043b\u0438 9), \u043b\u0438\u0431\u043e \u0440\u0430\u0437\u043d\u044b\u0435 (6). \u0415\u0441\u043b\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 4-\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432&nbsp;(<strong><span style=\"color: #680ea1;\">number<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">color<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">shape<\/span><\/strong> \u0438 <strong><span style=\"color: #680ea1;\">fill<\/span><\/strong>) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u0441\u0443\u043c\u043c\u044b&nbsp;rawValue \u0432\u0441\u0435\u0445 3-\u0445 \u043a\u0430\u0440\u0442 \u043d\u0430\u0446\u0435\u043b\u043e \u043d\u0430 3, \u0442\u043e \u044d\u0442\u043e \u0438 \u0435\u0441\u0442\u044c \u0443\u0441\u043b\u043e\u0432\u0438\u0435 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u044d\u0442\u0438 3 \u043a\u0430\u0440\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0442 Set:<\/span><\/p>\n\n\n\n<pre class=\"wp-block-code line-numbers\"><code>static func match(cards: &#91;SetCard]) -&gt; Bool {\nguard cards.count == 3 else {return false}\nlet sum = &#91;\ncards.reduce(0, { $0 + $1.number.rawValue}),\ncards.reduce(0, { $0 + $1.color.rawValue}),\ncards.reduce(0, { $0 + $1.shape.rawValue}),\ncards.reduce(0, { $0 + $1.fill.rawValue})\n]\nreturn sum.reduce(true, { $0 &amp;&amp; ($1 % 3 == 0) })\n}<\/code><\/pre>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f \u0441\u0443\u043c\u043c <strong><span style=\"color: #680ea1;\">sum<\/span><\/strong> \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #680ea1;\">reduce<\/span><\/strong> c \u0430\u0440\u0438\u0444\u043c\u0435\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 <strong><span style=\"color: #680ea1;\">&#171;+&#187;<\/span><\/strong>, \u0430 \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u043e\u043a\u043e\u043d\u0447\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0442\u0430\u043a\u0436\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #680ea1;\">reduce<\/span><\/strong>, \u043d\u043e c \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0435\u0439 <strong><span style=\"color: #680ea1;\">&#171;&amp;&amp;&#187;<\/span><\/strong> (\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0435 &#171;\u0418&#187;). \u0417\u0430 \u0441\u0447\u0435\u0442 \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u0431\u0438\u043b\u0438\u0441\u044c \u0442\u0430\u043a\u043e\u0433\u043e \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u043a\u043e\u0434\u0430 \u0434\u043b\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong><span style=\"color: #680ea1;\">match<\/span><\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418\u0442\u0430\u043a, <strong>ViewModel<\/strong> \u0433\u043e\u0442\u043e\u0432\u0430, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u0432 <strong><span style=\"color: #680ea1;\">View<\/span><\/strong>.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><strong><span style=\"color: #680ea1;\">View<\/span><\/strong> \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong><span style=\"color: #680ea1;\">SetGame&lt;SetCard&gt;<\/span><\/strong>. <\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u0432 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u0445 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u043a\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Grid<\/strong><\/span>:<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">\u041d\u0435 \u0441\u0442\u0435\u0441\u043d\u044f\u0439\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c &#171;\u0441\u0435\u0442\u043a\u0443&#187; <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Grid<\/strong><\/span> \u0434\u043b\u044f \u0440\u0430\u0441\u043a\u043b\u0430\u0434\u043a\u0438 \u043a\u0430\u0440\u0442, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435. \u041e\u0434\u043d\u0430\u043a\u043e \u0432\u044b \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u044d\u0442\u043e\u0433\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Grid<\/strong><\/span>, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435, \u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438.<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f &#171;\u0441\u0435\u0442\u043a\u0438&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Grid<\/strong><\/span> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b  <a href=\"https:\/\/bestkora.com\/IosDeveloper\/lektsiya-4-cs193p-spring-2020-grid-perechisleniya-enum-optionals\/\">\u0438\u0437 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u041b\u0435\u043a\u0446\u0438\u0438 4<\/a>.<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"799\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26-1024x799.png\" alt=\"\" class=\"wp-image-13732\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26-1024x799.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26-300x234.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26-768x599.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26-384x300.png 384w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-24-at-14.34.26.png 1366w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0410 \u0434\u043b\u044f \u0441\u0430\u043c\u043e\u0433\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u0438\u0433\u0440\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame&lt;SetCard&gt;<\/strong><\/span> \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c <strong>SwiftUI<\/strong> \u0444\u0430\u0439\u043b \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <em>SetCardGameView.swift <\/em>\u0438 \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043c \u0432 \u043d\u0435\u043c \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043e\u0434, \u0441\u0445\u043e\u0436\u0438\u0439 \u0441 <a href=\"https:\/\/bestkora.com\/IosDeveloper\/lektsiya-4-cs193p-spring-2020-grid-perechisleniya-enum-optionals\/\"> \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u043c \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u043c \u041b\u0435\u043a\u0446\u0438\u0438 4<\/a><\/span>:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52.png\"><img loading=\"lazy\" decoding=\"async\" width=\"826\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52-826x1024.png\" alt=\"\" class=\"wp-image-13734\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52-826x1024.png 826w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52-242x300.png 242w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52-768x952.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.11.52.png 1016w\" sizes=\"auto, (max-width: 826px) 100vw, 826px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0417\u0434\u0435\u0441\u044c \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043d\u0430\u0448\u0443 <strong>ViewModel<\/strong> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@StateObject<\/strong><\/span> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>var<\/strong><\/span> <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>viewModel<\/strong><\/span>, \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0431\u0443\u0434\u0443\u0442 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u044b\u0437\u044b\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0440\u0438\u0441\u043e\u0432\u043a\u0443 \u043d\u0430\u0448\u0435\u0433\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardGameView<\/strong><\/span>, \u0432 \u043e\u0441\u043d\u043e\u0432\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043b\u0435\u0436\u0438\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 \u043a\u0430\u0440\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>viewModel.cards<\/strong><\/span>  \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0445 \u0432 \u0432\u0438\u0434\u0435 &#171;\u0441\u0435\u0442\u043a\u0438&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Grid<\/strong><\/span>. \u041c\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0433\u0440\u043e\u043a\u0443 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0432\u044b\u0431\u043e\u0440\u0430 \u043a\u0430\u0440\u0442\u044b, \u0435\u0441\u043b\u0438 \u043e\u043d \u043a\u043b\u0438\u043a\u043d\u0435\u0442 \u043d\u0430 \u043d\u0435\u0451, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e &#171;\u041d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u044f&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>viewModel.choose (card:)<\/strong><\/span> . \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>.onAppear<\/strong><\/span> \u0434\u043b\u044f &#171;\u0441\u0435\u0442\u043a\u0438&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Grid<\/strong><\/span>, \u0447\u0442\u043e\u0431\u044b &#171;\u0441\u0434\u0430\u0442\u044c&#187; \u043a\u0430\u0440\u0442\u044b \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e &#171;\u041d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u044f&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>viewModel.deal( )<\/strong><\/span><\/span>. <\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>card<\/strong><\/span>, \u043b\u0435\u0436\u0430\u0449\u0435\u0439 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u0438 \u0438\u043c\u0435\u044e\u0449\u0435\u0439 \u0422\u0418\u041f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame&lt;SetCard&gt;.Card<\/strong><\/span>, \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>CardView<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0441\u0430\u043c\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Card<\/strong><\/span> \u0432 \u0438\u0433\u0440\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span>, \u0442\u043e \u0435\u0441\u0442\u044c \u043d\u0430 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isSelected<\/strong><\/span>, <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isMatched<\/strong><\/span>, <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isNotMatched<\/strong><\/span>, \u0430 &#171;\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0443&#187; \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0433\u043e \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>card.content<\/strong><\/span> \u043c\u044b \u043e\u0442\u0434\u0430\u0435\u043c \u0443\u0436\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u043e\u043c\u0443 \u043d\u0430\u043c\u0438 \u0432\u044b\u0448\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>CardSetView<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u043d\u0430\u0448 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardGameView<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.19.29.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.19.29-1024x920.png\" alt=\"\" class=\"wp-image-13735\" width=\"615\" height=\"551\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.19.29-300x270.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-12.19.29-334x300.png 334w\" sizes=\"auto, (max-width: 615px) 100vw, 615px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0412\u0438\u0437\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0445 \u043a\u0430\u0440\u0442.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u044b \u0443\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u043a\u043b\u0438\u043a\u0430\u0442\u044c \u043d\u0430 \u043a\u0430\u0440\u0442\u0430\u0445, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c \u0438\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u0442\u044c, \u043d\u043e \u043c\u044b \u044d\u0442\u043e\u0433\u043e \u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0435\u043c. \u0414\u043b\u044f \u0431\u043e\u043b\u0435\u0435 \u044f\u0441\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u0438\u043d\u044b \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u044f\u0449\u0435\u0433\u043e c \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0441\u0430\u043c \u0444\u0430\u043a\u0442 \u0432\u044b\u0431\u043e\u0440\u0430 \u043a\u0430\u0440\u0442\u044b, \u0444\u0430\u043a\u0442 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 3 \u043a\u0430\u0440\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0438\u043b\u0438 \u041d\u0415 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0442 <strong>Set<\/strong>. \u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u043a\u0430\u0436\u0435\u043c \u044d\u0442\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430, \u043e\u0431\u0440\u0430\u043c\u043b\u044f\u044e\u0449\u0435\u0433\u043e &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u0443\u044e&#187; \u0438\u043b\u0438 &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0443\u044e \/ \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0443\u044e&#187; \u043a\u0430\u0440\u0442\u0443. \u0421\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u043b\u0435\u0433\u043a\u043e c \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>highlightColor<\/strong><\/span> \u0438 \u043e\u0431\u0440\u0430\u043c\u043b\u0435\u043d\u0438\u044f \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>overlay:<\/strong><\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1021\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-1024x1021.png\" alt=\"\" class=\"wp-image-13736\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-1024x1021.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-300x300.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-150x150.png 150w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-768x765.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38-301x300.png 301w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-25-at-14.54.38.png 1176w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0431\u043e\u043b\u0435\u0435 \u043e\u0441\u043c\u044b\u0441\u043b\u0435\u043d\u043d\u044b\u043c\u0438: &#171;\u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; \u043a\u0430\u0440\u0442\u044b \u0431\u0443\u0434\u0443\u0442 \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c\u0441\u044f \u0433\u043e\u043b\u0443\u0431\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c, &#171;\u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0432\u0448\u0438\u0435&#187; &#8212; \u043a\u0440\u0430\u0441\u043d\u044b\u043c, \u0430 \u043f\u0440\u043e\u0441\u0442\u043e &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435&#187; \u043a\u0430\u0440\u0442\u044b &#8212; \u0436\u0435\u043b\u0442\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c: <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Borders.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Borders.gif\" alt=\"\" class=\"wp-image-13738\" width=\"615\" height=\"634\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">&#171;\u041f\u043e\u043b\u0435\u0442&#187; \u043a\u0430\u0440\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Transition<\/strong><\/span>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0441\u0435\u0442\u0430 <strong>Set<\/strong>, \u043a\u043e\u0433\u0434\u0430 3 \u043a\u0430\u0440\u0442\u044b \u043e\u043a\u0440\u0430\u0448\u0438\u0432\u0430\u044e\u0442\u0441\u044f  \u0433\u043e\u043b\u0443\u0431\u044b\u043c \u0446\u0432\u0435\u0442\u043e\u043c, \u0430 \u043c\u044b \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043a\u0430\u0440\u0442\u0443, 3 \u043a\u0430\u0440\u0442\u044b, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u043d\u043e\u0432\u044b\u0435. \u041d\u043e \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u043e, \u0430 \u043d\u0430\u043c \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 3 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u044d\u0442\u0443 \u0437\u0430\u043c\u0435\u043d\u0443 \u043a\u0430\u0440\u0442 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438, \u0442\u043e \u0435\u0441\u0442\u044c \u043e\u0434\u043d\u0438 \u043a\u0430\u0440\u0442\u044b &#171;\u0443\u043b\u0435\u0442\u0430\u044e\u0442&#187; \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044b \u044d\u043a\u0440\u0430\u043d\u044b, \u0430 \u043d\u043e\u0432\u044b\u0435 &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u044e\u0442 \u043d\u0430 \u0438\u0445 \u043c\u0435\u0441\u0442\u043e.<\/span><\/p>\n\n\n<blockquote>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0449\u0438\u0435 (<\/span><b>matching<\/b><span style=\"font-weight: 400;\">) \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043b\u0435\u0442\u0430\u0442\u044c (\u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439) \u0432 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0435 \u043c\u0435\u0441\u0442\u0430 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0449\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u043b\u0435\u0442\u0435\u0442\u044c (\u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439) \u0438\u0437 \u0434\u0440\u0443\u0433\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u044b\u0445 \u043c\u0435\u0441\u0442 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430 (\u0438\u043b\u0438 \u0438\u0437 &#171;\u043a\u043e\u043b\u043e\u0434\u044b&#187; \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, <\/span><a href=\"https:\/\/docs.google.com\/document\/d\/1mS3PRNdq6ujTfpEmvCkhlaKkElyvKw2DbsXbivvJNtc\/edit#bookmark=id.ru683ik5my6l\"><span style=\"font-weight: 400;\">\u0441\u043c. \u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b<\/span><\/a><span style=\"font-weight: 400;\">)<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 3 \u043d\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u044e\u0442, \u043a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u0442\u044c &#171;\u043f\u043e\u043b\u0435\u0442&#187; \u043a\u0430\u0440\u0442 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>transition<\/strong><\/span>:<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u0432\u0430\u043c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e\u043c\u043e\u0449\u044c \u0441 &#171;\u043b\u0435\u0442\u0430\u044e\u0449\u0438\u043c\u0438&#187; \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u2026<\/span><\/p>\n<ol>\n<li><span style=\"font-weight: 400;\">\u0412\u0441\u0435 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b \u044d\u0442\u043e\u0433\u043e \u0417\u0430\u0434\u0430\u043d\u0438\u044f \u0434\u043b\u044f &#171;\u043b\u0435\u0442\u0430\u044e\u0449\u0438\u0445&#187; \u043a\u0430\u0440\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Views<\/strong><\/span>, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445 \u043a\u0430\u0440\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 &#171;\u043f\u0440\u0438\u0445\u043e\u0434\u044f\u0442 \u0438 \u0443\u0445\u043e\u0434\u044f\u0442&#187; \u0438\u0437 UI.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">&#171;\u041f\u0440\u0438\u0445\u043e\u0434\u044b \u0438 \u0443\u0445\u043e\u0434\u044b&#187; <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Views<\/strong><\/span> \u0432 <b>SwiftUI<\/b> \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>transitions<\/strong><\/span> (\u043a\u0430\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432 \u043b\u0435\u043a\u0446\u0438\u0438).<\/span><\/li>\n<li><span style=\"font-weight: 400;\">&#171;\u0423\u043b\u0435\u0442 (\u043f\u0440\u0438\u043b\u0435\u0442)&#187; &#8212; \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435. \u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u0442\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0433\u0434\u0435 \u043e\u043d\u0438 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u0431\u0443\u0434\u0443\u0442 (\u0438\u043b\u0438 \u0431\u044b\u043b\u0438) \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u0432 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0438\u043c\u0435\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u0432\u0430\u0448\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430 (\u043a\u0443\u0434\u0430 \u043a\u0430\u0440\u0442\u0430 \u043c\u043e\u0436\u0435\u0442 \u0443\u043b\u0435\u0442\u0435\u0442\u044c \u0438\u043b\u0438 \u043e\u0442\u043a\u0443\u0434\u0430 \u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0442\u044c).<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0412 <b>SwiftUI<\/b> \u0435\u0441\u0442\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>transition<\/strong><\/span>&nbsp;\u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>AnyTransition.offset(CGSize)<\/strong><\/span> (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>ViewModifier<\/strong><\/span>, \u0447\u0442\u043e \u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <b><span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>.offset<\/strong><\/span> <\/b>\u0432 <b>View<\/b>)<\/span>.<\/li>\n<li><span style=\"font-weight: 400;\">\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u0432\u044b \u043f\u043e\u043c\u0435\u0449\u0430\u0435\u0442\u0435 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>.transitions<\/strong><\/span> \u0432 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Views<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e &#171;\u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438 \u0443\u0445\u043e\u0434\u0438\u0442 \u0441 \u044d\u043a\u0440\u0430\u043d\u0430&#187;, \u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,&nbsp; \u043d\u0435 \u0432 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u0441\u0442\u0435\u043a <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Stack<\/strong><\/span>, \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u044d\u0442\u043e\u0442 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>View<\/strong><\/span>.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u041a\u0430\u0440\u0442\u044b \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 &#171;\u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438 \u0443\u0445\u043e\u0434\u0438\u0442\u044c \u0441 \u044d\u043a\u0440\u0430\u043d\u0430&#187; \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0435\u0441\u043b\u0438 \u0432\u0430\u0448\u0430 <b>Model <\/b>\u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0447\u0435\u0442\u043a\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0432 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f \u0443\u0447\u0430\u0441\u0442\u0432\u0443\u044e\u0442 \u0432 \u0438\u0433\u0440\u0435. \u041a\u0430\u0440\u0442\u0430 \u0443\u0436\u0435 \u0441\u0434\u0430\u043d\u0430? \u041a\u0430\u0440\u0442\u0430 \u0443\u0436\u0435 &#171;\u0441\u043e\u0432\u043f\u0430\u043b\u0430 \u0438 \u0441\u0431\u0440\u043e\u0448\u0435\u043d\u0430&#187;? \u041f\u043e\u0434\u043e\u0431\u043d\u044b\u0435 \u0432\u0435\u0449\u0438 \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u0433\u0434\u0435-\u0442\u043e \u0432 \u0432\u0430\u0448\u0435\u0439 <b>Model<\/b>, \u0438\u043d\u0430\u0447\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 (<b>UI<\/b>) \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0437\u043d\u0430\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0412\u0430\u0448 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>View<\/strong><\/span>, \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442 \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 <b>Model<\/b>. \u0422\u0430\u043a, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0430\u0441\u0441\u0438\u0432 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Identifiables<\/strong><\/span> \u0432 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Grid<\/strong><\/span> (\u043f\u0440\u0438 \u0443\u0441\u043b\u043e\u0432\u0438\u0438, \u0447\u0442\u043e \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>Grid<\/strong><\/span> \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0438\u0445 \u043a\u0430\u0440\u0442) \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u043a\u0430\u0440\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0435\u0449\u0451 \u043d\u0435 \u0431\u044b\u043b\u0438 \u0441\u0434\u0430\u043d\u044b \u0438\u043b\u0438 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 &#171;\u0441\u043e\u0432\u043f\u0430\u043b\u0438&#187; \u0438 \u0441\u0431\u0440\u043e\u0448\u0435\u043d\u044b.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e&nbsp;<span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>transition<\/strong><\/span> \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442, \u0435\u0441\u043b\u0438 \u0432\u044b \u043d\u0435 \u0431\u0443\u0434\u0435\u0442\u0435 \u0435\u0435 \u044f\u0432\u043d\u043e \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c. \u0422\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0432\u0430\u043c \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u043b\u044e\u0431\u044b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u044f\u0432\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043b\u0435\u0442\u0430\u044e\u0449\u0438\u0445 \u043a\u0430\u0440\u0442\u043e\u0447\u0435\u043a \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>withAnimation<\/strong><\/span> .<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0439\u0442\u0435 \u043e\u0431 <span class=\"has-inline-color\" style=\"color: #680ea1;\"><strong>.onAppear<\/strong><\/span> . \u042d\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043b\u0435\u0437\u043d\u043e \u0434\u043b\u044f \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0438\u0433\u0440\u044b, \u043a\u043e\u0433\u0434\u0430 \u0432\u0430\u0448 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441 \u0432\u043f\u0435\u0440\u0432\u044b\u0435 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435.<\/span><\/li>\n<\/ol>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">&#171;\u041f\u0440\u0438\u0445\u043e\u0434\u044b \u0438 \u0443\u0445\u043e\u0434\u044b&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Views<\/strong><\/span> \u0432 <strong>SwiftUI<\/strong> \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>transition<\/strong><\/span>  \u0438 \u044d\u0442\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 \u043e\u0442 \u0442\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430, \u0433\u0434\u0435 \u043e\u043d\u0438 \u0432 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0438\u0442\u043e\u0433\u0435 \u0431\u0443\u0434\u0443\u0442 (\u0438\u043b\u0438 \u0431\u044b\u043b\u0438) \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435, \u0432 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430. \u0422\u0430\u043a \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0434\u0432\u0435 \u043f\u0440\u043e\u0441\u0442\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>flyTo<\/strong><\/span> \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>flyFrom<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u044e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043a\u0430\u0440\u0442\u044b \u0437\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u0430\u043c\u0438 \u044d\u043a\u0440\u0430\u043d\u0430, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0430 &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u0435\u0442&#187; \u0438\u043b\u0438 &#171;\u0443\u043b\u0435\u0442\u0430\u0435\u0442&#187;. \u0414\u043b\u044f \u044d\u0442\u0438\u0445 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u043d\u0430\u043c \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>GeometryReader<\/strong><\/span> .\u0412 <strong>SwiftUI<\/strong> \u0435\u0441\u0442\u044c \u0438\u0434\u0435\u0430\u043b\u044c\u043d\u044b\u0439 &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>transition<\/strong><\/span> \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u043f\u043e\u0434 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>AnyTransition.offset (CGSize)<\/strong><\/span> :<\/span><\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">\u0418 \u0432\u043e\u0442 \u043d\u0430\u0448 \u043a\u043e\u0434:<span><\/span><\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58.png\"><img loading=\"lazy\" decoding=\"async\" width=\"949\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58-949x1024.png\" alt=\"\" class=\"wp-image-13743\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58-949x1024.png 949w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58-278x300.png 278w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58-768x828.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.23.58.png 1274w\" sizes=\"auto, (max-width: 949px) 100vw, 949px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u0430\u0441\u0441\u0438\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u044b\u0439 &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>AnyTransition.asymmetric<\/strong><\/span> \u0434\u043b\u044f \u043d\u0430\u0448\u0438\u0445 \u043a\u0430\u0440\u0442 &#8212; \u043e\u043d\u0438 &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u044e\u0442&#187; \u0438\u0437 \u043e\u0434\u043d\u043e\u0433\u043e \u043c\u0435\u0441\u0442\u0430 (\u0441\u043d\u0438\u0437\u0443), \u0430 &#171;\u0443\u043b\u0435\u0442\u0430\u044e\u0442&#187; &#8212; \u0432 \u0434\u0440\u0443\u0433\u043e\u0435 (\u043d\u0430\u0432\u0435\u0440\u0445). \u0410 \u0442\u0430\u043a\u0436\u0435  \u043c\u044b  \u0443\u0441\u0438\u043b\u0438\u043b\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441 &#171;\u043f\u043e\u043b\u0435\u0442\u043e\u043c&#187; \u043a\u0430\u0440\u0442, \u0441\u0434\u0435\u043b\u0430\u0432 &#171;\u0443\u043b\u0435\u0442\u0430\u044e\u0449\u0438\u0435&#187; \u043a\u0430\u0440\u0442\u044b \u043c\u0435\u043d\u044c\u0448\u0435\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043a \u0430\u0441\u0441\u0438\u043c\u0435\u0442\u0440\u0438\u0447\u043d\u043e\u043c\u0443 &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0443&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>removal<\/strong><\/span> &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>AnyTransition.scale (CGFloat)<\/strong><\/span>, \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u043a-\u0442\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0438\u0442\u044c, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b &#171;\u0443\u043b\u0435\u0442\u0430\u044e\u0442&#187;, \u0430 \u043a\u0430\u043a\u0438\u0435 &#8212; &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u044e\u0442&#187;:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"196\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50-1024x196.png\" alt=\"\" class=\"wp-image-13744\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50-1024x196.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50-300x57.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50-768x147.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50-500x96.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-26-at-17.40.50.png 1108w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">&#171;\u041f\u0435\u0440\u0435\u0445\u043e\u0434\u044b&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>transition<\/strong><\/span> \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c, \u0435\u0441\u043b\u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e. \u0410\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 3 \u043c\u0435\u0441\u0442\u0430: \u043b\u0438\u0431\u043e \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a \u0442\u043e\u043c\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 &#171;\u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442&#187; \u0438 &#171;\u0443\u0445\u043e\u0434\u0438\u0442&#187;, \u043b\u0438\u0431\u043e \u043a \u0435\u0433\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Parent View<\/strong><\/span>, \u043b\u0438\u0431\u043e \u043a \u0442\u0435\u043c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> &#171;\u0443\u0445\u043e\u0434\u0438\u0442\u044c&#187; \u0438 &#171;\u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u044c&#187;. \u041f\u0435\u0440\u0432\u044b\u0435 \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430 \u0441\u0432\u044f\u0437\u0430\u043d\u044b \u0441 \u043d\u0435\u044f\u0432\u043d\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439: \u0430 \u0442\u0440\u0435\u0442\u0438\u0439 &#8212; \u0441 \u044f\u0432\u043d\u043e\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439. \u041f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440 \u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u0432 \u0441\u0432\u043e\u0435\u0439 <a href=\"https:\/\/www.youtube.com\/watch?v=3krC2c56ceQ\"><strong>\u041b\u0435\u043a\u0446\u0438\u0438 6<\/strong><\/a> \u043d\u0430\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044f\u0432\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u0441 &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0430\u043c\u0438&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>transition<\/strong><\/span>, \u0438 \u043c\u044b \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0442\u0440\u0435\u0442\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u044f\u0432\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>withAnimation<\/strong><\/span>, \u043a \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044e \u043a\u0430\u0440\u0442 \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>.onAppear<\/strong><\/span> \u0438 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u043a\u0430\u0440\u0442\u044b \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0436\u0435\u0441\u0442\u0430 <strong>Tap<\/strong>. \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u044e\u0442\u0441\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0437\u0430\u043b\u043e\u0436\u0438\u043b\u0438 \u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>withAnimation<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Transition.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Transition.gif\" alt=\"\" class=\"wp-image-13745\" width=\"602\" height=\"618\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043a\u0430\u0440\u0442\u044b &#171;\u0443\u043b\u0435\u0442\u0430\u044e\u0442&#187; \u0438 &#171;\u043f\u0440\u0438\u043b\u0435\u0442\u0430\u044e\u0442&#187; \u043f\u0440\u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u0438 \u0441\u0435\u0442\u0430 <strong>Set<\/strong>. \u041e\u043d\u0438 \u0442\u0430\u043a\u0436\u0435 \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u044e\u0442 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b, \u043d\u043e \u043e\u043d\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0432\u0441\u0435 \u0441\u0440\u0430\u0437\u0443, \u0430 \u043d\u0430\u043c \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c &#171;\u0441\u0434\u0430\u0447\u0443&#187; \u043a\u0430\u0440\u0442, \u043a\u043e\u0433\u0434\u0430 \u043e\u043d\u0438 \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043e\u0434\u043d\u0430 \u0437\u0430 \u0434\u0440\u0443\u0433\u043e\u0439 \u0441 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439.<\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0421\u0434\u0430\u0447\u0430 \u043a\u0430\u0440\u0442.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u043e\u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0438\u043c\u0438\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0430\u0437\u0434\u0430\u0447\u0443 \u043a\u0430\u0440\u0442 \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0440\u0442\u044b \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u043e\u0434\u043d\u0430 \u0437\u0430 \u0434\u0440\u0443\u0433\u043e\u0439. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u043d\u0430 \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e \u043f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>cardTransitionDelay<\/strong><\/span>, \u043f\u0440\u0438\u0447\u0435\u043c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0432 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0434\u043e\u043b\u0436\u043d\u0430 \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u0430\u0440\u0442\u044b \u0438 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0441\u0434\u0430\u0447\u0438 \u043a\u0430\u0440\u0442, \u0430 \u043d\u0435 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0437\u0430\u043c\u0435\u043d\u044b \u043a\u0430\u0440\u0442, \u043e\u0431\u0440\u0430\u0437\u0443\u044e\u0449\u0438\u0445 \u0441\u0435\u0442 <strong>Set<\/strong>.  \u0422\u0430\u043a \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@State<\/strong><\/span> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <span style=\"color: #c3178D;\" class=\"has-inline-color\"><strong>var<\/strong><\/span> <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay: Bool<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u0435\u043c, \u043a\u043e\u0433\u0434\u0430 \u043d\u0430\u043c \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u043a\u0430\u0440\u0442, \u0435\u0451 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0432\u043d\u043e <span style=\"color: #c3178D;\" class=\"has-inline-color\"><strong>true<\/strong><\/span>, \u0442\u0430\u043a \u043a\u0430\u043a \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u0438\u0433\u0440\u044b \u0438\u0434\u0435\u0442 \u0441\u0434\u0430\u0447\u0430 \u043a\u0430\u0440\u0442, \u0442\u0440\u0435\u0431\u0443\u044e\u0449\u0438\u0445 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438. \u041a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0434\u0430\u0447\u0430 \u043a\u0430\u0440\u0442 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f, \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay<\/strong><\/span> \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0432 <span style=\"color: #c3178D;\" class=\"has-inline-color\"><strong>false<\/strong><\/span>. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043c\u044b \u0443\u0436\u0435 \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044f\u0432\u043d\u0443\u044e \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u043d\u0430 \u0432\u0441\u0435 \u043a\u0430\u0440\u0442\u044b \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u043e, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u043d\u0435\u044f\u0432\u043d\u0430\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044f, \u0442\u0430\u043a \u043a\u0430\u043a \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0431\u0443\u0434\u0435\u0442 \u0441\u0432\u043e\u044f \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0430:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"990\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18-990x1024.png\" alt=\"\" class=\"wp-image-13747\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18-990x1024.png 990w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18-290x300.png 290w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18-768x795.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-27-at-15.04.18.png 1326w\" sizes=\"auto, (max-width: 990px) 100vw, 990px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0442\u043e \u0443\u0432\u0438\u0434\u0438\u043c, \u0447\u0442\u043e \u043d\u0438\u043a\u0430\u043a\u043e\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u043f\u0440\u0438 \u0441\u0434\u0430\u0447\u0438 \u043a\u0430\u0440\u0442 \u043d\u0435 \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/NoAnimation.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/NoAnimation.gif\" alt=\"\" class=\"wp-image-13748\" width=\"620\" height=\"637\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u0447\u0451\u043c \u0434\u0435\u043b\u043e?<br>\u0410 \u0434\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u043c\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u043a\u043e\u0434 &#171;\u0441\u0434\u0430\u0447\u0438&#187; \u043a\u0430\u0440\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>.onAppear<\/strong><\/span>, \u0442\u043e \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay<\/strong><\/span>  \u0432 <span style=\"color: #c3178D;\" class=\"has-inline-color\"><strong>false<\/strong><\/span>, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u0432 \u043d\u0435\u043f\u043e\u0434\u0445\u043e\u0434\u044f\u0449\u0435\u0435 \u0432\u0440\u0435\u043c\u044f :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28.png\"><img loading=\"lazy\" decoding=\"async\" width=\"882\" height=\"178\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28.png\" alt=\"\" class=\"wp-image-13750\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28.png 882w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28-300x61.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28-768x155.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-10.59.28-500x101.png 500w\" sizes=\"auto, (max-width: 882px) 100vw, 882px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0445\u043e\u0442\u0438\u043c \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043d\u0430\u0448 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f \u0435\u0433\u043e \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435, \u0432\u044b\u0437\u0432\u0430\u043d\u043d\u043e\u0435 \u0441\u043e \u0441\u0434\u0430\u0447\u0435\u0439 \u043a\u0430\u0440\u0442. \u041d\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay<\/strong><\/span> \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u0438 \u043d\u0435 \u0434\u0430\u0435\u0442 \u0441\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0435. \u041d\u0443\u0436\u043d\u043e \u043f\u043e\u0434\u043e\u0436\u0434\u0430\u0442\u044c, \u043f\u043e\u043a\u0430 \u0432\u0441\u0451 \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u0441\u044f. \u0422\u0430\u043a \u0447\u0442\u043e \u044f \u043d\u0435 \u0431\u0443\u0434\u0443 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay<\/strong><\/span>  \u0432 <span style=\"color: #c3178D;\" class=\"has-inline-color\"><strong>false<\/strong><\/span> \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0443 \u0443\u0432\u0435\u0440\u0435\u043d\u0430, \u0447\u0442\u043e \u043c\u043e\u0439 <strong>UI <\/strong>\u0443\u0436\u0435 \u043e\u0431\u043d\u043e\u0432\u0438\u043b\u0441\u044f.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042f \u0441\u043e\u0431\u0438\u0440\u0430\u044e\u0441\u044c \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>DispatchQueue.main.async<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58.png\"><img loading=\"lazy\" decoding=\"async\" width=\"900\" height=\"208\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58.png\" alt=\"\" class=\"wp-image-13752\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58.png 900w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58-300x69.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58-768x177.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-11.13.58-500x116.png 500w\" sizes=\"auto, (max-width: 900px) 100vw, 900px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u043e\u0431\u0449\u0435\u0433\u043e \u0441 \u043c\u043d\u043e\u0433\u043e\u043f\u043e\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e. \u041c\u044b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0434\u0435\u043b\u0430\u0435\u043c \u0432 \u0444\u043e\u043d\u043e\u0432\u043e\u043c (<em>background<\/em>) \u043f\u043e\u0442\u043e\u043a\u0435. \u041f\u0440\u043e\u0441\u0442\u043e \u044f \u043f\u0440\u043e\u0448\u0443 <strong>main queue<\/strong> \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u044d\u0442\u043e \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435, \u043e\u043d\u0430 \u0432\u043d\u0435\u0441\u0435\u0442 \u0435\u0433\u043e \u0432 \u0441\u0432\u043e\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0438 \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0430 <strong>main queue<\/strong> \u043f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0434\u0430\u0436\u0435 \u043f\u0440\u0438 \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0438 \u043c\u043e\u0438\u0445 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Views<\/strong><\/span>, <strong>main queue<\/strong> \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442 \u0434\u0435\u043b\u0430\u0442\u044c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043c\u043e\u0435\u0433\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span>, \u0430 \u043f\u043e\u0442\u043e\u043c \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0441\u044f \u043a \u0441\u0432\u043e\u0435\u0439 \u043e\u0447\u0435\u0440\u0435\u0434\u0438 \u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435, \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435, \u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u043e\u0451 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0435, \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442 \u0435\u0433\u043e.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u043e \u0441\u0443\u0442\u0438, \u044d\u0442\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0447\u0442\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c: \u201c\u0421\u0434\u0435\u043b\u0430\u0439 \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0432\u0441\u0435 \u0443\u043b\u044f\u0436\u0435\u0442\u0441\u044f\u201d.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u043f\u043e\u043c\u043e\u0433\u043b\u0438 \u043d\u0430\u043c \u044d\u0442\u043e \u0441 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u043a\u0430\u0440\u0442 \u043f\u0440\u0438 &#171;\u0441\u0434\u0430\u0447\u0435&#187;:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Delay-1.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Delay-1.gif\" alt=\"\" class=\"wp-image-13753\" width=\"618\" height=\"625\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430, \u0432\u0441\u0451 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418 \u0432\u044b\u0434\u0435\u043b\u0438\u043c &#171;\u0441\u0434\u0430\u0447\u0443&#187; \u043a\u0430\u0440\u0442 \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044f <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deal( )<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"526\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23-1024x526.png\" alt=\"\" class=\"wp-image-13754\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23-1024x526.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23-300x154.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23-768x394.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23-500x257.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-13.49.23.png 1286w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>body<\/strong><\/span> \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0449\u0435 :<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"628\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52-1024x628.png\" alt=\"\" class=\"wp-image-13755\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52-1024x628.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52-300x184.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52-768x471.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52-489x300.png 489w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-15.00.52.png 1288w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0434\u0435\u043c \u0435\u0449\u0451 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0435 \u0443\u043f\u0440\u043e\u0449\u0435\u043d\u0438\u0435 \u043a\u043e\u0434\u0430 \u043d\u0430\u0448\u0435\u0433\u043e <strong>UI<\/strong> \u0432 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0443\u0441\u043b\u043e\u0436\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0435\u0433\u043e UI, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043c \u043d\u0430\u0448 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>asymmetric transition<\/strong><\/span>  \u0432 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>static<\/strong><\/span>  \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>AnyTransition<\/strong><\/span>  \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043d\u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>.transition<\/strong><\/span>  \u043d\u0430\u0448\u0435\u0433\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>CardView<\/strong><\/span> , \u044d\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u0435\u0442 \u043a\u043e\u0434 \u0431\u043e\u043b\u0435\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u044b\u043c \u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442 \u043d\u0430\u0448 \u0430\u0440\u0441\u0435\u043d\u0430\u043b &#171;\u043f\u0435\u0440\u0435\u0445\u043e\u0434\u043e\u0432&#187; :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"652\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42-1024x652.png\" alt=\"\" class=\"wp-image-13757\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42-1024x652.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42-300x191.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42-768x489.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42-471x300.png 471w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-16.47.42.png 1178w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0440\u0430\u0437\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u044d\u0442\u043e\u0442 \u043a\u043e\u0434 \u0432 \u0444\u0430\u0439\u043b\u0435 <em>Transition+Extensions.swft <\/em>\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>body<\/strong><\/span>  \u043d\u0430\u0448\u0435\u0439 \u0438\u0433\u0440\u044b \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0435\u0449\u0451 \u043f\u0440\u043e\u0449\u0435 :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"837\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18-1024x837.png\" alt=\"\" class=\"wp-image-13758\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18-1024x837.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18-300x245.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18-768x628.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18-367x300.png 367w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.01.18.png 1192w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u0421\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0440\u0442 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432 \u043a\u043e\u043b\u043e\u0434\u0435, \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0435\u0449\u0451 3 \u043a\u0430\u0440\u0442\u044b \u0438 \u043d\u043e\u0432\u0430\u044f \u0438\u0433\u0440\u0430.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043d\u0430 \u043d\u0430\u0448 <strong>UI<\/strong> \u043c\u0435\u0442\u043a\u0443, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043a\u0430\u0440\u0442 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0432 \u043a\u043e\u043b\u043e\u0434\u0435, \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u043b\u044f \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f 3-\u0445 \u043a\u0430\u0440\u0442 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0441\u0442\u043e\u043b \u0438 \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0439 \u0438\u0433\u0440\u044b. \u041d\u043e \u043f\u0440\u0435\u0436\u0434\u0435 \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0432 \u043d\u0430\u0448\u0435\u043c <strong>ViewModel<\/strong> \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u041c\u043e\u0434\u0435\u043b\u0438 \u0438 &#171;\u041d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u0435&#187; (<strong>Intent<\/strong>) :<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20.png\"><img loading=\"lazy\" decoding=\"async\" width=\"864\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20-864x1024.png\" alt=\"\" class=\"wp-image-13759\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20-864x1024.png 864w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20-253x300.png 253w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20-768x910.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-17.44.20.png 1190w\" sizes=\"auto, (max-width: 864px) 100vw, 864px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430 <strong>UI<\/strong> \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Text<\/strong><\/span>  \u0441 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e\u043c \u043a\u0430\u0440\u0442 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435, \u043a\u043d\u043e\u043f\u043a\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Button<\/strong><\/span> &#171;Deal+3&#187; \u0434\u043b\u044f \u0441\u0434\u0430\u0447\u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 3-\u0445 \u043a\u0430\u0440\u0442 \u0438 \u043a\u043d\u043e\u043f\u043a\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Button<\/strong><\/span> &#171;New Game&#187; \u0434\u043b\u044f \u043d\u043e\u0432\u043e\u0439 \u0438\u0433\u0440\u044b:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"748\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34-1024x748.png\" alt=\"\" class=\"wp-image-13760\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34-1024x748.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34-300x219.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34-768x561.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34-411x300.png 411w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-28-at-21.11.34.png 1202w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043e\u043a &#171;Deal+3&#187; \u0438 &#171;New Game&#187;, \u043e\u0444\u043e\u0440\u043c\u043b\u044f\u044e\u0442\u0441\u044f \u0432 \u0432\u0438\u0434\u0435 \u0432\u0441\u043f\u043e\u043c\u043e\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deal3()<\/strong><\/span> \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>newGame()<\/strong><\/span>, \u043d\u0430 \u043f\u043e\u0434\u043e\u0431\u0438\u0435  \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deal()<\/strong><\/span>  :<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"638\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42-1024x638.png\" alt=\"\" class=\"wp-image-13761\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42-1024x638.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42-300x187.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42-768x478.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42-482x300.png 482w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-09.51.42.png 1134w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043e\u0441\u0442\u0430\u0432\u0448\u0435\u0435\u0441\u044f \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u043a\u0430\u0440\u0442 \u0432 \u043a\u043e\u043b\u043e\u0434\u0435, \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c 3 \u043a\u0430\u0440\u0442\u044b \u0432 \u0438\u0433\u0440\u0443 \u0438 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0438\u0433\u0440\u0443:<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/newGame-1.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/newGame-1.gif\" alt=\"\" class=\"wp-image-13762\" width=\"621\" height=\"637\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>GameView<\/strong><\/span>.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0435\u0449\u0451 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u043c \u043d\u0430\u0448 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> &#8212; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardGameView<\/strong><\/span>. \u0422\u0430\u043a \u043a\u0430\u043a \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0438\u043c\u0435\u0442\u044c \u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u0438\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span>, \u0442\u043e \u0432\u044b\u0434\u0435\u043b\u0438\u043c \u0432\u0441\u0451, \u0447\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0441\u044f \u043a &#171;\u0441\u0435\u0442\u043a\u0435&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Grid<\/strong><\/span>, \u0432 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"885\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36-1024x885.png\" alt=\"\" class=\"wp-image-13766\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36-1024x885.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36-300x259.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36-768x664.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36-347x300.png 347w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-10.45.36.png 1296w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430\u0437\u043e\u0432\u0435\u043c \u043d\u043e\u0432\u044b\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View &#8212; GameView<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"584\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23-1024x584.png\" alt=\"\" class=\"wp-image-13768\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23-1024x584.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23-300x171.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23-768x438.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23-500x285.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-12.22.23.png 1056w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u043d\u043e\u0432\u044b\u0439 <strong>GameView<\/strong> \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043d\u0441\u0442\u0430\u043d\u0442\u044b \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>viewModel<\/strong><\/span> \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shouldDelay<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0435\u043c \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u0447\u0442\u043e\u0431\u044b \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 (<em>single source of truth<\/em>):<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"643\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10-1024x643.png\" alt=\"\" class=\"wp-image-13769\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10-1024x643.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10-300x189.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10-768x483.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10-477x300.png 477w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-16.36.10.png 1184w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>.onAppear( )<\/strong><\/span> \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043c \u043d\u0430\u0437\u0430\u0434 \u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardGameView<\/strong><\/span>. \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 (<em>single source of truth<\/em>) \u0432 &#171;\u0434\u043e\u0447\u0435\u0440\u043d\u0435\u043c&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0437\u0430\u043c\u0435\u043d\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@StateObject<\/strong><\/span> \u043d\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@ObservedObject<\/strong><\/span> \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@State<\/strong><\/span> \u043d\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>@Binding<\/strong><\/span>.<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-gallery columns-1 is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\"><ul class=\"blocks-gallery-grid\"><li class=\"blocks-gallery-item\"><figure><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"870\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1-870x1024.png\" alt=\"\" data-id=\"13773\" data-full-url=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1.png\" data-link=\"https:\/\/bestkora.com\/IosDeveloper\/zadanie-3-stanford-cs-193p-spring-2020-igra-set-reshenie-obyazatelnyh-punktov\/screenshot-2020-12-29-at-17-47-13-1\/\" class=\"wp-image-13773\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1-870x1024.png 870w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1-255x300.png 255w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1-768x904.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-29-at-17.47.13-1.png 1188w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/a><\/figure><\/li><\/ul><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0438 \u043b\u043e\u0433\u0438\u043a\u0430 \u0438\u0433\u0440\u044b, \u043d\u0438 <strong>UI<\/strong> \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0438\u0441\u044c, \u043d\u043e \u0432 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardGameView<\/strong><\/span> \u043a\u043e\u0434 \u0441\u0442\u0430\u043b \u0431\u043e\u043b\u0435\u0435 \u043b\u0430\u043a\u043e\u043d\u0438\u0447\u043d\u044b\u043c, \u0447\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043d\u0430\u043c \u0440\u0430\u0437\u043c\u0435\u0449\u0430\u0442\u044c \u0438 \u0434\u0440\u0443\u0433\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b <strong>UI<\/strong> \u0438\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3. \u0418\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 3 \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c \u043f\u0443\u043d\u043a\u0442 8, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e&#187; \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c\u0438, \u043a\u0430\u043a\u0438\u0435 \u043a\u0430\u0440\u0442\u044b, \u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0442 <strong>Set<\/strong>. <\/span><\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">\u041c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \u0441 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c\u0438 Hints.<\/h2>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041f\u0443\u043d\u043a\u0442\u044b 8 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439.<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">8. \u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u0442\u0432\u043e&#187; \u0432 \u0441\u0432\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0415\u0441\u043b\u0438 \u0432\u044b \u043d\u0430\u043f\u0438\u0448\u0435\u0442\u0435 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u0438\u044f <\/span><b>Sets<\/b><span style=\"font-weight: 400;\">, \u0442\u043e \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0443\u044e&#187; \u043a\u043d\u043e\u043f\u043a\u0443 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u044b\u0442\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u0442\u0440\u0443\u0434\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0441\u043c\u043e\u0433 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0435 \u0434\u043b\u044f \u043d\u0430\u0445\u043e\u0436\u0434\u0435\u043d\u0438\u044f <\/span><b>Set<\/b><span style=\"font-weight: 400;\">!<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0418\u043c\u0435\u044f \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>cards<\/strong><\/span>, \u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u0442\u044c, \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043b\u0438 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>numberOfCardsToMatch<\/strong><\/span> \u043a\u0430\u0440\u0442\u044b \u0441\u0435\u0442\u043e\u043c <strong>Set<\/strong>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>match<\/strong><\/span>, \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u043e\u0447\u0435\u043d\u044c \u043b\u0435\u0433\u043a\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0441\u0435 \u0441\u0435\u0442\u044b <strong>Set<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043b\u0435\u0436\u0430\u0442 \u043d\u0430 \u0441\u0442\u043e\u043b\u0435, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0435\u043c\u043e\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>var<\/strong><\/span> <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hints: [[Int]]<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438\u043d\u0434\u0435\u043a\u0441\u044b \u043a\u0430\u0440\u0442. \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0445, &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435&#187; \u0441\u0435\u0442\u044b <strong>Set<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"504\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43-1024x504.png\" alt=\"\" class=\"wp-image-13790\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43-1024x504.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43-300x148.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43-768x378.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43-500x246.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-18.44.43.png 1222w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u0430\u043a \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u044d\u0442\u0438 &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435&#187; \u0441\u0435\u0442\u044b Set, \u0435\u0441\u043b\u0438 \u043e\u043d \u043e\u0442\u0447\u0430\u0435\u0442\u0441\u044f \u0441\u0430\u043c \u043d\u0430\u0439\u0442\u0438 \u0438\u0445?<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041d\u0430 <strong>UI<\/strong> \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442  \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u0430\u044f \u043a\u043d\u043e\u043f\u043a\u0430, \u043a\u043b\u0438\u043a\u043d\u0443\u0432 \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u0443\u044e, \u043c\u044b \u043d\u0430 \u043e\u0447\u0435\u043d\u044c \u043a\u043e\u0440\u043e\u0442\u043a\u043e\u0435 \u0432\u0440\u0435\u043c\u044f &#171;\u043c\u0438\u0433\u043d\u0435\u043c&#187; \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0442\u0435\u043c\u0438 \u043a\u0430\u0440\u0442\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u0435\u0442 <strong>Set<\/strong>. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e  \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043c\u0435\u0442\u044c \u0432\u044b\u0434\u0435\u043b\u044f\u0442\u044c \u043a\u0430\u0440\u0442\u044b, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0435 \u0432 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u043f\u043e &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c&#187; \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hints<\/strong><\/span>. \u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043a \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0441\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Card<\/strong><\/span>  \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isHint<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52.png\"><img loading=\"lazy\" decoding=\"async\" width=\"982\" height=\"394\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52.png\" alt=\"\" class=\"wp-image-13791\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52.png 982w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52-300x120.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52-768x308.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.08.52-500x201.png 500w\" sizes=\"auto, (max-width: 982px) 100vw, 982px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u042f\u0441\u043d\u043e, \u0447\u0442\u043e &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445&#187; \u0441\u0435\u0442\u043e\u0432 <strong>Set<\/strong> \u043c\u043e\u0436\u0435\u0442 \u0432\u043e\u043e\u0431\u0449\u0435 \u043d\u0435 \u0431\u044b\u0442\u044c, \u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u0433\u043e\u0434\u043d\u043e. \u0418 \u043c\u044b \u0445\u043e\u0442\u0438\u043c &#171;\u043f\u0440\u043e\u0439\u0442\u0438\u0441\u044c&#187; \u043f\u043e \u0432\u0441\u0435\u043c \u044d\u0442\u0438\u043c &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c&#187; \u0441\u0435\u0442\u0430\u043c <strong>Set<\/strong>, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u0438\u0445 \u0438\u0433\u0440\u043e\u043a\u0443 \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>var<\/strong><\/span> <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>numberHint<\/strong><\/span> \u043d\u043e\u043c\u0435\u0440 \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e&#187; \u0441\u0435\u0442\u0430 <strong>Set<\/strong>, \u0442\u043e \u0435\u0441\u0442\u044c \u0442\u043e\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u044b \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e: <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48.png\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48.png\" alt=\"\" class=\"wp-image-13792\" width=\"614\" height=\"163\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48.png 1014w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48-300x80.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48-768x204.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-30-at-21.36.48-500x133.png 500w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0423 \u043d\u0430\u0441 \u0431\u0443\u0434\u0443\u0442 \u0434\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u041e\u0434\u043d\u0430 &#8212; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hint()<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isHint<\/strong><\/span> \u043a\u0430\u0440\u0442, \u0432\u0445\u043e\u0434\u044f\u0449\u0438\u0445 \u0432 \u0442\u0435\u043a\u0443\u0449\u0438\u0439 &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439&#187; \u0441\u0435\u0442 <strong>Set<\/strong>, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>true<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11-1024x300.png\" alt=\"\" class=\"wp-image-13795\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11-1024x300.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11-300x88.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11-768x225.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11-500x146.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.31.11.png 1106w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0440\u0443\u0433\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f &#8212; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>deHint()<\/strong><\/span>, \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isHint<\/strong><\/span> \u0432\u0441\u0435\u0445 \u043a\u0430\u0440\u0442, \u043b\u0435\u0436\u0430\u0449\u0438\u0445 \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>false<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23.png\"><img loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"254\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23.png\" alt=\"\" class=\"wp-image-13796\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23.png 972w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23-300x78.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23-768x201.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.55.23-500x131.png 500w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u044b\u0437\u043e\u0432 \u044d\u0442\u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u043e\u0439 \u0438 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0438\u0442 &#171;\u043c\u0438\u0433\u0430\u043d\u0438\u0435&#187; &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445&#187; \u0441\u0435\u0442\u043e\u0432 <strong>Set<\/strong>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hint( )<\/strong><\/span>, \u043f\u0440\u0438 \u043a\u0430\u0436\u0434\u043e\u043c \u0435\u0451 \u0432\u044b\u0437\u043e\u0432\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0446\u0438\u043a\u043b\u0438\u0447\u0435\u0441\u043a\u0438 \u043f\u0440\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u043f\u043e \u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u043c&#187; \u0441\u0435\u0442\u0430\u043c <strong>Set<\/strong>, \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 0-\u0433\u043e \u0441\u0435\u0442\u0430, \u0434\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hints.count<\/strong><\/span> \u0441\u0435\u0442\u0430 \u0438 \u043e\u043f\u044f\u0442\u044c \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c\u0441\u044f \u043a 0-\u043e\u043c\u0443 \u0441\u0435\u0442\u0443 \u0438 \u043e\u043f\u044f\u0442\u044c \u0438\u0434\u0442\u0438 \u0434\u043e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hints.count<\/strong><\/span>. \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437, \u043a\u043e\u0433\u0434\u0430 \u043a\u0430\u0440\u0442\u044b \u0437\u0430\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f \u0438\u043b\u0438 \u0443\u0434\u0430\u043b\u044f\u044e\u0442\u0441\u044f, \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>numberHint<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"590\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27-1024x590.png\" alt=\"\" class=\"wp-image-13797\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27-1024x590.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27-300x173.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27-768x443.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27-500x288.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-13.59.27.png 1100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0432 <strong>ViewModel<\/strong> &#171;\u041d\u0430\u043c\u0435\u0440\u0435\u043d\u0438\u0435&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>hint( )<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"941\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42-1024x941.png\" alt=\"\" class=\"wp-image-13798\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42-1024x941.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42-300x276.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42-768x705.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42-327x300.png 327w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.19.42.png 1056w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">&#8230; \u0438 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>numberHint<\/strong><\/span> \u043e \u0442\u043e\u043c, \u043a\u0430\u043a\u043e\u0439 &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439&#187; Set \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043b\u044f \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430:<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1006\" height=\"482\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06.png\" alt=\"\" class=\"wp-image-13799\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06.png 1006w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06-300x144.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06-768x368.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-14.34.06-500x240.png 500w\" sizes=\"auto, (max-width: 1006px) 100vw, 1006px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u044b \u0432\u0438\u0434\u0438\u0442\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0443 \u043c\u0435\u0436\u0434\u0443 \u0432\u044b\u0437\u043e\u0432\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>model.hint()<\/strong><\/span>  \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>model.deHint()<\/strong><\/span> \u0432 1 \u043c\u0438\u043b\u043b\u0438\u0441\u0435\u043a\u0443\u043d\u0434\u0443, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>DispatchQueue.main,asyncAfter<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>View<\/strong><\/span> \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430\u043c\u0438 \u043e &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445&#187; \u0441\u0435\u0442\u0430\u0445 <strong>Set<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13-1024x640.png\" alt=\"\" class=\"wp-image-13800\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13-1024x640.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13-300x187.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13-768x480.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13-480x300.png 480w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.21.13.png 1236w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0446\u0432\u0435\u0442 \u0444\u043e\u043d\u0430 \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>CardView<\/strong><\/span>  \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u044b\u043c \u043e\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043a\u0430\u0440\u0442\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isHint<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33-1024x494.png\" alt=\"\" class=\"wp-image-13801\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33-1024x494.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33-300x145.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33-768x370.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33-500x241.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-17.23.33.png 1178w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u043c \u043d\u0430\u043c\u043d\u043e\u0433\u043e \u043b\u0435\u0433\u0447\u0435 \u0438\u0433\u0440\u0430\u0442\u044c \u0432 \u0438\u0433\u0440\u0443 <strong>Set<\/strong>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Hints.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Hints.gif\" alt=\"\" class=\"wp-image-13802\" width=\"613\" height=\"601\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\"><span style=\"font-weight: 400;\">\u041e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u0438 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f 3-\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u0440\u0442.<\/span><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 3 \u0443\u043a\u0430\u0437\u0430\u043d\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u0435 \u0443\u0441\u043b\u043e\u0432\u0438\u044f \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 \u0441\u0434\u0430\u0447\u0438 3-\u0445 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043a\u0430\u0440\u0442:<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">11. \u0412\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0442\u0430\u043a\u0436\u0435 \u0438\u043c\u0435\u0442\u044c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;Deal 3 More Cards&#187; (\u0421\u0434\u0430\u0439 \u0435\u0449\u0435 3 \u043a\u0430\u0440\u0442\u044b) (\u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c \u0438\u0433\u0440\u044b <\/span><a href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A1%D0%B5%D1%82_(%D0%B8%D0%B3%D1%80%D0%B0)\"><span style=\"font-weight: 400;\">Set<\/span><\/a><span style=\"font-weight: 400;\">).<\/span><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u043f\u0440\u0438 \u043a\u0430\u0441\u0430\u043d\u0438\u0438 \u044d\u0442\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0438 \u0437\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 <\/span><b>Set <\/b><span style=\"font-weight: 400;\">(\u0441 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0435\u0439 \u043f\u0440\u0438\u043b\u0435\u0442\u0430 \/\u0443\u043b\u0435\u0442\u0430, \u043a\u0430\u043a \u043e\u043f\u0438\u0441\u0430\u043d\u043e \u0432\u044b\u0448\u0435)<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u0438\u043b\u0438, \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u0430\u0440\u0442\u044b \u043d\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 <\/span><b>Set <\/b><span style=\"font-weight: 400;\">&nbsp;(\u0438\u043b\u0438 \u0435\u0441\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u043d\u043e \u043c\u0435\u043d\u0435\u0435 3 \u043a\u0430\u0440\u0442, \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0438 \u043d\u0438 \u043e\u0434\u043d\u043e\u0439), \u043e\u0440\u0433\u0430\u043d\u0438\u0437\u0443\u0439\u0442\u0435 \u043f\u0440\u0438\u043b\u0435\u0442 (\u0442. \u0435. \u0430\u043d\u0438\u043c\u0438\u0440\u0443\u0439\u0442\u0435 \u043f\u0440\u0438\u0431\u044b\u0442\u0438\u0435) 3 \u043d\u043e\u0432\u044b\u0445 \u043a\u0430\u0440\u0442\u044b, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438\u0441\u043e\u0435\u0434\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u043a \u0443\u0436\u0435 \u0438\u043c\u0435\u044e\u0449\u0438\u043c\u0441\u044f \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 (\u0438 \u043d\u0435 \u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0438\u0445 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438 (<\/span><b>selected<\/b><span style=\"font-weight: 400;\">))<\/span><\/li>\n<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\">\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u044d\u0442\u0443 \u043a\u043d\u043e\u043f\u043a\u0443, \u0435\u0441\u043b\u0438 \u043a\u043e\u043b\u043e\u0434\u0430 \u043f\u0443\u0441\u0442\u0430.<\/span><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u0434\u0430\u0442\u044c 3 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 3 \u043a\u0430\u0440\u0442\u044b, \u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438 \u043e\u0442 \u0442\u043e\u0433\u043e, \u0438\u043c\u0435\u0435\u043c \u043b\u0438 \u043c\u044b \u043d\u0430 \u0438\u0433\u0440\u043e\u0432\u043e\u043c \u0441\u0442\u043e\u043b\u0435 \u0441\u0435\u0442 <strong>Set<\/strong> \u0438\u043b\u0438 \u043d\u0435\u0442:<\/span> <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46.png\"><img loading=\"lazy\" decoding=\"async\" width=\"916\" height=\"260\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46.png\" alt=\"\" class=\"wp-image-13804\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46.png 916w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46-300x85.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46-768x218.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Screenshot-2020-12-31-at-20.13.46-500x142.png 500w\" sizes=\"auto, (max-width: 916px) 100vw, 916px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u0443 \u043d\u0430\u0441 \u0441\u0435\u0442 <strong>Set<\/strong>, \u0442\u043e \u043c\u044b \u043f\u0440\u043e\u0441\u0442\u043e \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u043c \u043a\u0430\u0440\u0442\u044b, \u0435\u0441\u043b\u0438 \u043d\u0435\u0442 &#8212; \u0442\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 3 \u043a\u0430\u0440\u0442\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0441\u043b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e \u0441\u0435\u0442\u0430 <strong>Set<\/strong> \u0443\u0439\u0434\u0443\u0442 \u0441 \u0438\u0433\u0440\u043e\u0432\u043e\u0433\u043e \u0441\u0442\u043e\u043b\u0430:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Deal3.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/12\/Deal3.gif\" alt=\"\" class=\"wp-image-13805\" width=\"618\" height=\"606\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 \u043a\u043e\u043b\u043e\u0434\u0430 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u0435\u0442\u0441\u044f, \u0442\u043e \u043c\u044b \u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043a\u043d\u043e\u043f\u043a\u0443 &#171;Deal+3&#187; \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0434\u0430:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"716\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40-1024x716.png\" alt=\"\" class=\"wp-image-13807\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40-1024x716.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40-300x210.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40-768x537.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40-429x300.png 429w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.03.40.png 1244w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u044d\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 \u0432 \u043a\u043e\u043d\u0446\u0435 \u0438\u0433\u0440\u044b:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Disable.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Disable.gif\" alt=\"\" class=\"wp-image-13808\" width=\"613\" height=\"533\"\/><\/a><\/figure>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\">&#171;\u041e\u0442\u043c\u0435\u043d\u0430 \u0432\u044b\u0431\u043e\u0440\u0430&#187; (deselection) \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b.<\/h2>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">8. \u041f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0442\u0435 &#171;\u043e\u0442\u043c\u0435\u043d\u0443 \u0432\u044b\u0431\u043e\u0440\u0430&#187; (&#171;<\/span><b>deselection<\/b><span style=\"font-weight: 400;\">&#171;<\/span><span style=\"font-weight: 400;\">), \u043f\u0443\u0442\u0435\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0433\u043e \u043a\u0430\u0441\u0430\u043d\u0438\u044f \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442 (\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0435\u0441\u043b\u0438 \u0432 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u044b\u0431\u0440\u0430\u043d\u044b 1 \u0438\u043b\u0438 2 \u043a\u0430\u0440\u0442\u044b (\u043d\u0435 3)).<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u043c \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043c\u0435\u0442\u043e\u0434 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>choose(card:Card)<\/strong><\/span>  \u0432 \u043d\u0430\u0448\u0435\u0439 \u041c\u043e\u0434\u0435\u043b\u0438 \u0438\u0433\u0440\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetGame<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1006\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51-1024x1006.png\" alt=\"\" class=\"wp-image-13809\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51-1024x1006.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51-300x295.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51-768x754.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51-305x300.png 305w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-12.20.51.png 1226w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0442\u043e\u0434\u0443 \u043f\u043e \u0441\u0443\u0442\u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432\u0441\u044f \u043b\u043e\u0433\u0438\u043a\u0430 \u0438\u0433\u0440\u044b <strong>Set<\/strong>, \u0438 \u0442\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e &#171;\u043e\u0442\u043c\u0435\u043d\u044b \u0432\u044b\u0431\u043e\u0440\u0430&#187; \u0434\u043b\u044f \u0443\u0436\u0435 \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0445 \u043a\u0430\u0440\u0442:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Deselect.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Deselect.gif\" alt=\"\" class=\"wp-image-13810\" width=\"610\" height=\"530\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size\"><span style=\"font-weight: 400;\">\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u0432\u0441\u0435 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0432\u0435\u0449\u0438 \u0432 <strong>ViewModel<\/strong>.<\/span><\/p>\n\n\n<blockquote>\n<p><span style=\"font-weight: 400;\">8 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430. \u0412\u0435\u0440\u043e\u044f\u0442\u043d\u043e, \u0431\u044b\u043b\u043e \u0431\u044b \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0434\u0438\u0437\u0430\u0439\u043d\u043e\u043c <\/span><b>MVVM<\/b><span style=\"font-weight: 400;\"> \u043d\u0435 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c &#171;\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435&#187; \u0432\u0435\u0449\u0438, \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u0446\u0432\u0435\u0442\u0430 \u0438\u043b\u0438 \u0434\u0430\u0436\u0435 \u0438\u043c\u0435\u043d\u0430 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (\u0440\u043e\u043c\u0431, \u043e\u0432\u0430\u043b, \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u0438\u043a) \u0438 \u0432\u0438\u0434\u043e\u0432 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 (\u043f\u0443\u0441\u0442\u043e\u0439, \u0437\u0430\u0448\u0442\u0440\u0438\u0445\u043e\u0432\u0430\u043d\u043d\u044b\u0439, \u0437\u0430\u043a\u0440\u0430\u0448\u0435\u043d\u043d\u044b\u0439) \u0432 \u0432\u0430\u0448\u0443 <\/span><b>Model<\/b><span style=\"font-weight: 400;\">. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u044c\u0442\u0435, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0435\u043c\u044b \u0434\u043b\u044f \u0438\u0433\u0440\u044b <\/span><b>Set<\/b><span style=\"font-weight: 400;\">, \u043a\u0430\u043a \u0438 \u0434\u043b\u044f <\/span><b>Memorize<\/b><span style=\"font-weight: 400;\">. \u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u0432\u0430\u0448\u0430 <\/span><b>Model <\/b><span style=\"font-weight: 400;\">\u043f\u043e\u0447\u0442\u0438 \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u0435 \u0437\u043d\u0430\u0435\u0442 \u043e \u0442\u043e\u043c, \u043a\u0430\u043a \u0438\u0433\u0440\u0430 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e. \u041f\u043e\u0447\u0435\u043c\u0443 \u0431\u044b \u043d\u0435 <\/span><b>Set <\/b><span style=\"font-weight: 400;\">\u043a\u0430\u0440\u0442 \u0441 \u043f\u0438\u043d\u0433\u0432\u0438\u043d\u0430\u043c\u0438?<\/span><\/p>\n<\/blockquote>\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>struct<\/strong><\/span> \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Setting<\/strong><\/span> \u0438 \u0434\u0432\u0430 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>enum<\/strong><\/span> <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>FillInSet<\/strong><\/span> \u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>ShapesInSet<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"816\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13-1024x816.png\" alt=\"\" class=\"wp-image-13811\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13-1024x816.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13-300x239.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13-768x612.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13-376x300.png 376w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-01-at-14.34.13.png 1074w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Setting<\/strong><\/span> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><span style=\"font-weight: 400;\">\u043d\u0430\u0431\u043e\u0440 \u0446\u0432\u0435\u0442\u043e\u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>colorsShapes<\/strong><\/span> \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0432 \u0438\u0433\u0440\u0435 <strong>Set<\/strong>,<\/span><\/li><li><span style=\"font-weight: 400;\">\u043d\u0430\u0431\u043e\u0440 \u0446\u0432\u0435\u0442\u043e\u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>colorsBorder<\/strong><\/span> \u0434\u043b\u044f  \u0440\u0430\u043c\u043e\u043a \u043a\u0430\u0440\u0442, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f &#171;\u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u043c\u0438&#187; (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isSelected<\/strong><\/span>), \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0432\u0445\u043e\u0434\u044f\u0442 \u0432 \u0441\u0435\u0442 <strong>Set<\/strong> (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isMatched<\/strong><\/span>) \u0438 \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u043d\u0435 \u0432\u0445\u043e\u0434\u044f\u0442 \u0432 \u0441\u0435\u0442 <strong>Set<\/strong> (<span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>isNotMatched<\/strong><\/span>),<\/span><\/li><li><span style=\"font-weight: 400;\">\u0446\u0432\u0435\u0442 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>colorHint<\/strong><\/span> \u0434\u043b\u044f &#171;\u043f\u043e\u0434\u0441\u0432\u0435\u0442\u043a\u0438&#187; &#171;\u043c\u043e\u0448\u0435\u043d\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445&#187; \u0441\u0435\u0442\u043e\u0432 <strong>Set<\/strong> \u043f\u0440\u0438 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0435,<\/span><\/li><li><span style=\"font-weight: 400;\">\u043d\u0430\u0431\u043e\u0440 \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>shapes<\/strong><\/span> \u0434\u043b\u044f \u0438\u0433\u0440\u044b <strong>Set<\/strong>,<\/span><\/li><li><span style=\"font-weight: 400;\">\u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>fillShapes<\/strong><\/span> <\/span><\/li><\/ul>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 \u043d\u0430\u0448\u0435\u0439 <strong>ViewModel<\/strong> \u0431\u0443\u0434\u0435\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f <span style=\"color: #c3178d;\" class=\"has-inline-color\"><strong>var<\/strong><\/span>  <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>setting<\/strong><\/span>  \u0422\u0418\u041f\u0430 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>Setting<\/strong><\/span>  <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"497\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13-1024x497.png\" alt=\"\" class=\"wp-image-13812\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13-1024x497.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13-300x145.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13-768x372.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13-500x242.png 500w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.16.13.png 1060w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">&#8230; \u0438 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0451 \u0434\u043b\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>CardView<\/strong><\/span> :<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1012\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30-1012x1024.png\" alt=\"\" class=\"wp-image-13813\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30-1012x1024.png 1012w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30-297x300.png 297w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30-768x777.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.17.30.png 1192w\" sizes=\"auto, (max-width: 1012px) 100vw, 1012px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0438 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardView<\/strong><\/span>:<\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40.png\"><img loading=\"lazy\" decoding=\"async\" width=\"784\" height=\"1024\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40-784x1024.png\" alt=\"\" class=\"wp-image-13814\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40-784x1024.png 784w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40-230x300.png 230w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40-768x1003.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40-1176x1536.png 1176w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Screenshot-2021-01-02-at-12.25.40.png 1202w\" sizes=\"auto, (max-width: 784px) 100vw, 784px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0412 <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>SetCardView<\/strong><\/span> \u043c\u044b \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u0438\u0440\u043e\u0432\u0430\u043b\u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0438\u0433\u0443\u0440\u044b (\u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 &#171;\u0434\u043e\u0436\u0434\u0435\u0432\u0443\u044e \u043a\u0430\u043f\u043b\u044e&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>RainDrop<\/strong><\/span>) \u0438 \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u0435 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0444\u0438\u0433\u0443\u0440 ( \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 &#171;\u0437\u0430\u0442\u0443\u0448\u0435\u0432\u044b\u0432\u0430\u043d\u0438\u0435&#187; <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>blur()<\/strong><\/span>). \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043d\u0430 \u043d\u0443\u0436\u043d\u044b\u0435 \u0433\u0435\u043e\u043c\u0435\u0442\u0440\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0444\u0438\u0433\u0443\u0440\u044b \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0445 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>setting<\/strong><\/span>.<\/span><\/p>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a <span style=\"color: #680ea1;\" class=\"has-inline-color\"><strong>setting<\/strong><\/span> \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0438\u0433\u0440\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0438\u0433\u0440\u0443 <strong>Set<\/strong>, \u043d\u043e \u0438 \u0432 \u0441\u0442\u0438\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0443\u044e \u0438\u0433\u0440\u0443 <strong>Set<\/strong> \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0446\u0432\u0435\u0442\u0430\u043c\u0438, \u0444\u0438\u0433\u0443\u0440\u0430\u043c\u0438 \u0442\u0438\u043f\u0430 &#171;\u0434\u043e\u0436\u0434\u0435\u0432\u043e\u0439 \u043a\u0430\u043f\u043b\u0438&#187; \u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438 \u0437\u0430\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u0442\u0438\u043f\u0430 &#171;\u0437\u0430\u0442\u0435\u043d\u0435\u043d\u0438\u0435&#187;:  <\/span><\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Another.gif\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Another.gif\" alt=\"\" class=\"wp-image-13815\" width=\"612\" height=\"478\"\/><\/a><\/figure>\n\n\n\n<p class=\"has-normal-font-size\"><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430<strong> <a href=\"https:\/\/github.com\/BestKora\/Set-Game\">Github<\/a><\/strong>.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u042d\u0442\u043e &#171;\u0440\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u043e\u0435&#187;, &#171;\u0434\u0435\u043a\u043b\u0430\u0440\u0430\u0442\u0438\u0432\u043d\u043e\u0435&#187; \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. Model  \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u0442\u0441\u044f, \u0430 View \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0431\u044a\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u0430\u043a \u043d\u0435\u0447\u0442\u043e, \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0441\u043d\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438 Model (\u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 View, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0435\u0442 \u0447\u0435\u0440\u0435\u0437 ViewModel). <a href=\"https:\/\/bestkora.com\/IosDeveloper\/zadanie-3-stanford-cs-193p-spring-2020-igra-set-reshenie-obyazatelnyh-punktov\/\">\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":13808,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,55,63,54,4],"tags":[69,70,56,30],"class_list":["post-13502","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-assignment","category-ios-13","category-stanford-cs-193p-ios-13","category-swiftui","category-domashnee-zadanie","tag-cs193p","tag-ios-14","tag-swiftui","tag-domashnee-zadanie"],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2021\/01\/Disable.gif","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13502","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=13502"}],"version-history":[{"count":5,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13502\/revisions"}],"predecessor-version":[{"id":13829,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13502\/revisions\/13829"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media\/13808"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=13502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=13502"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=13502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}