{"id":13309,"date":"2020-10-05T12:57:46","date_gmt":"2020-10-05T12:57:46","guid":{"rendered":"https:\/\/bestkora.com\/IosDeveloper\/?p=13309"},"modified":"2020-10-17T10:45:36","modified_gmt":"2020-10-17T10:45:36","slug":"lektsiya-10-cs193p-spring-2020-modalnoe-predstavlenie-i-navigatsiya","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/lektsiya-10-cs193p-spring-2020-modalnoe-predstavlenie-i-navigatsiya\/","title":{"rendered":"\u041b\u0435\u043a\u0446\u0438\u044f 10 CS193P Spring 2020 \u2014 \u041c\u043e\u0434\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0438 \u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u044f."},"content":{"rendered":"<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-13314 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52.png\" alt=\"\" width=\"1782\" height=\"1344\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52.png 1782w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52-300x226.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52-768x579.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52-1024x772.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2020\/10\/Screenshot-2020-10-06-at-15.06.52-398x300.png 398w\" sizes=\"auto, (max-width: 1782px) 100vw, 1782px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430 \u041b\u0435\u043a\u0446\u0438\u0438 10 \u043a\u0443\u0440\u0441\u0430 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0430\u00a0\u00a0<strong><a href=\"https:\/\/cs193p.sites.stanford.edu\">CS193p &#8212; &#171;Developing\u00a0 Application for iOS&#187;<\/a><\/strong>\u00a0(&#171;\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f iOS&#187;) \u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u00a0\u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u043c\u0430\u043c, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u043c\u0441\u044f \u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong> \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u043c\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c. <strong><span style=\"color: #680ea1;\">ForEach<\/span><\/strong> \u0432\u044b\u0432\u043e\u0434\u0438\u0442 <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong> \u043d\u0430 \u044d\u043a\u0440\u0430\u043d \u0438 \u0443\u0431\u0438\u0440\u0430\u0435\u0442 \u0441 \u044d\u043a\u0440\u0430\u043d\u0430. \u0410 \u0442\u0430\u043a\u0436\u0435 <span style=\"color: #680ea1;\"><strong>if-elses<\/strong><\/span> \u0432\u043d\u0443\u0442\u0440\u0438 <strong><span style=\"color: #680ea1;\">@ViewBuilders<\/span><\/strong> \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 <span style=\"color: #680ea1;\"><strong>Views<\/strong><\/span> \u043f\u043e\u044f\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0438 \u0443\u0445\u043e\u0434\u0438\u0442\u044c \u0441 \u044d\u043a\u0440\u0430\u043d\u0430. \u041d\u043e \u043d\u0430 \u041b\u0435\u043a\u0446\u0438\u0438 10 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c \u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0433\u0440\u0443\u043f\u043f\u0438\u0440\u043e\u0432\u043a\u0430\u0445 <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong>, <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0437\u0430\u043d\u044f\u0442\u044c \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e, <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u043c\u0438 <b>MVVM<\/b>s. \u041c\u044b \u0435\u0449\u0435 \u043d\u0435 \u0432\u0438\u0434\u0435\u043b\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0443 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u043c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e <strong>ViewModels<\/strong>. \u041d\u043e, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c \u0438\u043c\u0435\u044e\u0442 \u043c\u043d\u043e\u0433\u043e <strong>ViewModels<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043c\u044b \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 10:<\/span><\/p>\n<ul>\n<li><strong><span style=\"color: #680ea1;\">.sheet<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #680ea1;\">.popover<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #680ea1;\">TextField<\/span><\/strong><\/li>\n<li><strong><span style=\"color: #680ea1;\">Form<\/span><\/strong><\/li>\n<li><span style=\"font-weight: 400;\">\u0411\u043e\u043b\u044c\u0448\u0435 \u043e\u0431 \u201c\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u0445 \u0438 \u0412\u044b\u0433\u043e\u0434\u0430\u0445\u201d (<strong>Constraints and Gains<\/strong>) \u0447\u0435\u0440\u0435\u0437 \u0443\u043b\u0443\u0447\u0448\u0435\u043d\u0438\u0435 <strong><span style=\"color: #680ea1;\">Grid<\/span><\/strong>.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u0441 \u044d\u043a\u0440\u0430\u043d\u0430 \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong> \u0447\u0435\u0440\u0435\u0437 <strong><span style=\"color: #680ea1;\">@Binding<\/span><\/strong>.<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u041c\u043d\u043e\u0436\u0435\u0441\u0442\u0432\u043e <strong>MVVM<\/strong> \u0432 \u043e\u0434\u043d\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438.<\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">Hashable<\/span><\/strong> \u0438 <strong><span style=\"color: #680ea1;\">Equatable<\/span><\/strong><\/span><\/li>\n<li><span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">NavigationView<\/span><\/strong> + <strong><span style=\"color: #680ea1;\">NavigationLink <\/span><\/strong>+ <strong><span style=\"color: #680ea1;\">.navigationBarTitle<\/span><\/strong> \/ <strong><span style=\"color: #680ea1;\">Items<\/span><\/strong><\/span><\/li>\n<li><strong><span style=\"color: #680ea1;\">Alerts<\/span><\/strong><\/li>\n<li><span style=\"font-weight: 400;\">\u0423\u043d\u0438\u0447\u0442\u043e\u0436\u0435\u043d\u0438\u0435 \u0432 <strong><span style=\"color: #680ea1;\">ForEach<\/span><\/strong> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong><span style=\"color: #680ea1;\">.onDelete<\/span><\/strong><\/span><\/li>\n<li><strong><span style=\"color: #680ea1;\">EditButton<\/span><\/strong><\/li>\n<li><span style=\"font-weight: 400;\"><strong><span style=\"color: #680ea1;\">EditMode<\/span><\/strong>\u00a0<strong><span style=\"color: #680ea1;\">@Environment<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f (<strong><span style=\"color: #680ea1;\">@Binding<\/span><\/strong>)<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 <strong><span style=\"color: #680ea1;\">@Environment<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u00a0<\/span><\/li>\n<li><strong><span style=\"color: #680ea1;\">.zIndex<\/span><\/strong><\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0430\u0447\u0438\u043d\u0430\u0435\u0442\u0441\u044f \u043b\u0435\u043a\u0446\u0438\u044f \u0441 \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u0430: &#171;\u041a\u0430\u043a \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c <strong><span style=\"color: #680ea1;\">@State<\/span> <\/strong>\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e?&#187; \u042d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441 \u0432 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430\u0445 \u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0435\u0442\u0441\u044f \u0432 <strong><a href=\"https:\/\/stackoverflow.com\/questions\/56691630\/swiftui-state-var-initialization-issue\">StackOver<\/a> <\/strong>\u0438 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440 \u0434\u0430\u0435\u0442 \u043d\u0430\u043c \u0434\u0432\u0430 \u043e\u0442\u0432\u0435\u0442\u0430 \u043d\u0430 \u044d\u0442\u043e\u0442 \u0432\u043e\u043f\u0440\u043e\u0441.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f <\/span><strong><span style=\"color: #680ea1;\">.popover\u00a0<\/span><\/strong><span style=\"font-weight: 400;\">\u0438 \u0435\u0433\u043e \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u044f \u043d\u0430 iPhone. \u0412\u00a0<strong><span style=\"color: #680ea1;\">.popover<\/span><\/strong><span style=\"color: #680ea1;\"><span style=\"color: #000000;\"> \u043e\u0442\u043b\u0438\u0447\u043d\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 <span style=\"color: #680ea1;\"><strong>@Binding<\/strong><\/span>, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e &#171;\u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c&#187; <strong><span style=\"color: #680ea1;\">@State<\/span><\/strong>, \u0438 \u0441 <strong><span style=\"color: #680ea1;\">@EnvironmentObject<\/span><\/strong>, \u0435\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u0442\u044c <strong>ViewModel<\/strong>. \u041f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u043e\u0434\u0430\u043b\u044c\u043d\u044b\u0435 <strong><span style=\"color: #680ea1;\">Views<\/span><\/strong> \u0442\u0438\u043f\u0430\u00a0<span style=\"color: #680ea1;\"><strong>.popover\u00a0<\/strong><\/span>\u0438\u043b\u0438\u00a0<\/span><\/span><\/span><strong><span style=\"color: #680ea1;\">.sheet\u00a0<\/span><\/strong><span style=\"font-weight: 400;\"><span style=\"color: #680ea1;\"><span style=\"color: #000000;\">\u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442\u00a0\u0441\u0432\u043e\u0439 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u041c\u0438\u0440 \u0434\u043b\u044f \u201c\u0436\u0438\u0437\u043d\u0438\u201d \u0438 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432 \u044d\u0442\u043e\u0442 \u041c\u0438\u0440 ViewModel \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437\u00a0<span style=\"color: #680ea1;\"><strong>@EnvironmentObject<\/strong><\/span>.<\/span><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441 <strong><span style=\"color: #680ea1;\">TextField <\/span><\/strong> \u043e\u043f\u044f\u0442\u044c \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u00a0<span style=\"color: #680ea1;\"><strong>@State<\/strong><\/span>\u00a0\u0441\u00a0<span style=\"color: #680ea1;\"><strong>@Binding<\/strong><\/span>, \u043d\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0440\u0435\u0448\u0430\u0442\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u00a0<span style=\"color: #680ea1;\"><strong>@State<\/strong><\/span>\u00a0, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u0430\u043d\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u043e\u0434\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u0430 <strong><span style=\"color: #680ea1;\">.onAppear<\/span><\/strong>, \u043d\u043e \u043c\u043e\u0436\u0435\u0442 \u0440\u0435\u0448\u0430\u0442\u044c\u0441\u044f \u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u043c \u0432 \u043d\u0430\u0447\u0430\u043b\u0435 \u041b\u0435\u043a\u0446\u0438\u0438 10 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u043b\u0435\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u043e\u0440\u043c\u044b <strong><span style=\"color: #680ea1;\">Form<\/span><\/strong>, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u0435\u043b\u043e \u043a \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043d\u0430\u0448\u0435\u0439 &#171;\u0441\u0435\u0442\u043a\u0438&#187; <strong><span style=\"color: #680ea1;\">Grid<\/span><\/strong>\u00a0\u043d\u0430 \u0442\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0441 <strong><span style=\"color: #680ea1;\">Identifiable<\/span><\/strong>. \u042d\u0442\u043e \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u043c\u00a0\u201c\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f\u0445 \u0438 \u0412\u044b\u0433\u043e\u0434\u0430\u0445\u201d (<strong>Constraints and Gains<\/strong>), \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0441 <strong>Generic<\/strong>, \u043d\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0430\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0432 \u0432\u0438\u0434\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044f\u043c \u044d\u0442\u0438\u0445\u00a0<strong>Generic<\/strong>.\u00a0\u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c \u043b\u0435\u043a\u0446\u0438\u0438.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043c\u0430 \u041d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u0432 \u043b\u0435\u043a\u0446\u0438\u0438 \u0438\u0437\u043b\u043e\u0436\u0435\u043d\u0430 \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u043d\u044f\u0442\u043d\u043e \u0438 \u043a\u0440\u0430\u0442\u043a\u043e.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u0430\u043c\u0430\u044f \u0441\u043d\u043e\u0433\u0441\u0448\u0438\u0431\u0430\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0432 \u043f\u0440\u044f\u043c\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u0442\u0435\u043c\u0430 &#8212; \u044d\u0442\u043e\u00a0<strong><span style=\"color: #680ea1;\">@Environment<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0438 \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438 \u0442\u0430\u043a\u0430\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u0430\u044f\u00a0<strong><span style=\"color: #680ea1;\">@Environment<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043a\u0430\u043a <strong><span style=\"color: #680ea1;\">editMode<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f<strong><span style=\"color: #680ea1;\"> Binding\u00a0&lt;EditMode&gt;<\/span><\/strong> \u0438 \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u0442\u044c \u0440\u0435\u0436\u0438\u043c \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f <strong><span style=\"color: #680ea1;\">View<\/span><\/strong>. \u041d\u0430 \u043b\u0435\u043a\u0446\u0438\u0438 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u044b \u0432\u0441\u0435 \u043d\u044e\u0430\u043d\u0441\u044b \u0435\u0451 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u044b \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u043d\u0438 \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u043d\u0438 \u0432 \u043a\u0430\u043a\u0438\u0445 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445 \u043a\u0443\u0440\u0441\u0430\u0445.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0443 \u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0435 \u0441\u043f\u0430\u0441\u0438\u0431\u043e \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440\u0443 \u0437\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f <strong><a href=\"https:\/\/cs193p.sites.stanford.edu\/wwdc\">Emoji Art \u0434\u043b\u044f SwiftUI 2.0<\/a><\/strong> \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e- \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 <strong><span style=\"color: #680ea1;\">DocGroup<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u0434\u043b\u044f \u041b\u0435\u043a\u0446\u0438\u0438 10 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0441\u0430\u0439\u0442\u0435<strong><a href=\"https:\/\/cs193p.sites.stanford.edu\"> \u043a\u0443\u0440\u0441\u0430 CS193P<\/a> <\/strong>\u0438 \u043d\u0430<a href=\"https:\/\/github.com\/BestKora\/Demo-Winter-2017\"><strong>\u00a0<\/strong><\/a><a href=\"https:\/\/github.com\/BestKora\/CS193P-Spring-2020-DEMO\"><strong>Github<\/strong><\/a>\u00a0\u0434\u043b\u044f <strong>iOS 13<\/strong>\u00a0\u0432 \u043f\u0430\u043f\u043a\u0435 Memorize\u00a0<strong>L10<\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0420\u0443\u0441\u0441\u043a\u043e\u044f\u0437\u044b\u0447\u043d\u044b\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u041b\u0435\u043a\u0446\u0438\u0438 10, \u0445\u0440\u043e\u043d\u043e\u043c\u0435\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0447\u0435\u0440\u0435\u0437 \u043a\u0430\u0436\u0434\u044b\u0435 5 \u043c\u0438\u043d\u0443\u0442, \u0438 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 \u0432 \u0432\u0438\u0434\u0435\u00a0<strong>PDF<\/strong>-\u0444\u0430\u0439\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c offline, \u0430 \u0442\u0430\u043a\u0436\u0435 \u0432 \u0444\u043e\u0440\u043c\u0430\u0442\u0435\u00a0<strong>Google Doc<\/strong>\u00a0\u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u043d\u0430<strong>\u00a0<a title=\"\u0414\u043e\u0441\u0442\u0443\u043f \u043a 2-\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 (\u043b\u0435\u043a\u0446\u0438\u0438 6-10) iOS 13\" href=\"https:\/\/bestkora.com\/IosDeveloper\/dostup-k-2-oj-chasti-lektsii-6-10-ios-13\/\">\u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u043e\u0441\u043d\u043e\u0432\u0435<\/a>.<\/strong><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u041b\u0435\u043a\u0446\u0438\u0438 10 \u043a\u0443\u0440\u0441\u0430 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0430\u00a0\u00a0CS193p &#8212; &#171;Developing\u00a0 Application for iOS&#187;\u00a0(&#171;\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0434\u043b\u044f iOS&#187;) \u041f\u043e\u043b \u0425\u044d\u0433\u0435\u0440\u0442\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u00a0\u043e\u0447\u0435\u043d\u044c \u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0439 \u043f\u0440\u0438\u043c\u0435\u0440, \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043f\u043e\u0441\u0432\u044f\u0449\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u043c\u0430\u043c, \u043e\u0442\u043d\u043e\u0441\u044f\u0449\u0438\u043c\u0441\u044f \u043a \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044e Views \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435.\u00a0 \u0412 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0441\u043c\u044b\u0441\u043b\u0435 \u043c\u044b \u0443\u0436\u0435 \u0437\u043d\u0430\u0435\u043c, \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c. ForEach &hellip; <a href=\"https:\/\/bestkora.com\/IosDeveloper\/lektsiya-10-cs193p-spring-2020-modalnoe-predstavlenie-i-navigatsiya\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55,63,62,54],"tags":[58,65,56,66,64],"class_list":["post-13309","post","type-post","status-publish","format-standard","hentry","category-ios-13","category-stanford-cs-193p-ios-13","category-swift-5","category-swiftui","tag-ios-13","tag-swift-5-2","tag-swiftui","tag-xcode-11","tag-lektsii-ios-13"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13309","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=13309"}],"version-history":[{"count":4,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13309\/revisions"}],"predecessor-version":[{"id":13315,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/13309\/revisions\/13315"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=13309"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=13309"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=13309"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}