{"id":7242,"date":"2017-03-28T13:41:33","date_gmt":"2017-03-28T13:41:33","guid":{"rendered":"http:\/\/bestkora.com\/IosDeveloper\/?p=7242"},"modified":"2017-06-02T04:10:25","modified_gmt":"2017-06-02T04:10:25","slug":"zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty","status":"publish","type":"post","link":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/","title":{"rendered":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &#171;\u0423\u043c\u043d\u044b\u0439&#187; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b."},"content":{"rendered":"<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7323 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM.png\" alt=\"\" width=\"1664\" height=\"1366\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM.png 1664w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM-300x246.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM-768x630.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM-1024x841.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM-365x300.png 365w\" sizes=\"auto, (max-width: 1664px) 100vw, 1664px\" \/><\/a><\/p>\n<h2>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435<\/h2>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043a\u0441\u0442 \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f \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\u00a0<a href=\"https:\/\/itunes.apple.com\/ru\/course\/developing-ios-10-apps-swift\/id1198467120?l=en\"><span style=\"color: #373737;\">\u00a0<\/span><strong>iTunes \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u201cProgramming: Project 2: Calculator Brain\u2033<\/strong><\/a><span style=\"color: #373737;\">.\u00a0<\/span>\u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u00a0\u0442\u0435\u043a\u0441\u0442 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2 \u0437\u0434\u0435\u0441\u044c<strong>:<p><span class=\"gdm-drivefile-embed\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ssl.gstatic.com\/docs\/doclist\/images\/icon_12_pdf_list.png\" width=\"16\" height=\"16\" \/> <a href=\"https:\/\/drive.google.com\/file\/d\/0B0jZOSo2e4NmSzhaS3BVSk5IUUk\/view?usp=drivesdk\" target=\"&quot;_blank&quot;\">\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 iOS 10.pdf<\/a><\/span><\/p><\/strong><\/span><span style=\"font-weight: 400;\">\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2\u00a0<\/span><span style=\"font-weight: 400;\">\u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e\u00a0<strong>Undo<\/strong>. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0443\u0441\u043f\u0435\u0448\u043d\u043e\u0433\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2 \u043d\u0443\u0436\u043d\u043e \u0438\u0437\u0443\u0447\u0438\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u043b\u044b \u041b\u0435\u043a\u0446\u0438\u0439 1, 2 \u0438 3.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0441\u0445\u043e\u0436\u0435\u0441\u0442\u044c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u044f \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2 \u0432 \u043a\u0443\u0440\u0441\u0435\u00a0<strong><a href=\"https:\/\/itunes.apple.com\/ru\/course\/developing-ios-10-apps-swift\/id1198467120?l=en\">&#171;Developing \u00a0iOS 10 Apps with Swift&#187;<\/a>\u00a0<\/strong>\u043d\u0430 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 \u0432 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c \u043a\u0443\u0440\u0441\u0435\u00a0<strong><a href=\"https:\/\/itunes.apple.com\/us\/course\/developing-ios-8-apps-swift\/id961180099\">\u00a0<\/a><a href=\"https:\/\/itunes.apple.com\/us\/course\/developing-ios-9-apps-swift\/id1104579961\">&#171;Developing iOS 9 Apps with Swift&#187;<\/a><\/strong>, \u0432\u0430\u043c \u043f\u0440\u0435\u0434\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u0433\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443, \u0431\u043b\u0438\u0436\u0435 \u043a \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u043c\u0443 \u0441\u0442\u0438\u043b\u044e \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0430 \u043d\u0435 \u043e\u0431\u044a\u0435\u043a\u0442\u043d\u043e-\u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u043c\u0443 \u043a\u0430\u043a \u0431\u044b\u043b\u043e \u0432 \u043f\u0440\u043e\u0448\u043b\u044b\u0439 \u0440\u0430\u0437. \u0418 \u043d\u0430\u0447\u0430\u043b\u043e \u044d\u0442\u043e\u043c\u0443 \u043f\u043e\u043b\u043e\u0436\u0435\u043d\u043e \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 1 \u0438 \u043d\u0430 \u041b\u0435\u043a\u0446\u0438\u044f\u0445 1 \u0438 2, \u043a\u043e\u0433\u0434\u0430\u00a0<strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u044c\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c \u043a\u0443\u0440\u0441\u0435 \u0431\u044b\u043b\u0430 \u00a0\u043a\u043b\u0430\u0441\u0441\u043e\u043c\u00a0<strong><span style=\"color: #0000ff;\">class<\/span><\/strong>, \u0431\u044b\u043b\u0430 \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u0430 \u043d\u0430 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443\u00a0<strong><span style=\"color: #0000ff;\">struct<\/span><\/strong>.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0412 \u044d\u0442\u043e\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u0438 \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043a\u0430\u0440\u0434\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c<strong> \u041c<\/strong>\u043e\u0434\u0435\u043b\u044c \u0432\u0430\u0448\u0435\u0433\u043e <strong>MVC<\/strong> \u0438 \u0441\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0435\u0435 \u0443\u0436\u0435 \u0438\u0437 \u0434\u0432\u0443\u0445\u00a0\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0434\u0430\u043d\u043d\u044b\u0445:\u00a0<strong><span style=\"color: #0000ff;\">struct\u00a0CalculatorBrain<\/span><\/strong>\u00a0\u0438\u00a0<strong><span style=\"color: #0000ff;\">Dictionary&lt;String : Double&gt;\u00a0variableValues\u00a0<\/span><\/strong>.\u00a0\u042d\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u043d\u043e. \u041d\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u043e, \u0447\u0442\u043e \u0432\u0430\u0448\u0430\u00a0<strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u044c\u00a0\u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.<br \/>\n\u041d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438 \u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 \u0432 \u041b\u0435\u043a\u0446\u0438\u0438 3.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0442 \u0432\u0430\u0441 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0433\u043e \u0441\u043f\u0435\u043a\u0442\u0440\u0430 \u043f\u0440\u0438\u0435\u043c\u043e\u0432 \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u043c\u0438\u00a0<strong><span style=\"color: #0000ff;\">struct<\/span><\/strong>, \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u044f\u043c\u0438\u00a0<strong><span style=\"color: #0000ff;\">enum<\/span><\/strong>, \u0441\u0435\u043c\u0430\u043d\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u043d\u0438\u0435\u00a0<strong><span style=\"color: #0000ff;\">Optional<\/span><\/strong>, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0437\u0430\u043c\u044b\u043a\u0430\u043d\u0438\u0439 \u0438 \u0442.\u0434.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u043e\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2 \u0417\u0438\u043c\u0430 2017 \u0433.\u00a0\u041d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u00a0<strong><a href=\"https:\/\/github.com\/BestKora\/Calculator-II-cs193p-2017-\">Github<\/a><\/strong>:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 <strong><a href=\"https:\/\/github.com\/BestKora\/Calculator-II-cs193p-2017-\/tree\/RequiredTasks\">Github<\/a><\/strong>.<\/span><br \/>\n<span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u0434\u043b\u044f \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 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u00a0<a href=\"https:\/\/github.com\/BestKora\/Calculator-II-cs193p-2017-\"><strong>Github<\/strong><\/a>.<\/span><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 1 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u041d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0439\u0442\u0435, \u043d\u0435 \u0443\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0438 \u043d\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u043d\u0438\u0447\u0435\u0433\u043e <b>\u0432 public API <\/b>(\u0442\u043e \u0435\u0441\u0442\u044c <strong>\u041d\u0415<\/strong>&#8212;<strong><span style=\"color: #0000ff;\">private func<\/span> <\/strong>\u0438 <strong><span style=\"color: #0000ff;\">vars<\/span><\/strong>) \u0438\u0437 \u0432\u0430\u0448\u0435\u0433\u043e <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>\u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 1, \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">undo ()<\/span><\/strong>\u0438 \u0442\u043e\u0433\u043e, \u0447\u0442\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043e \u0432 \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u0430\u0445 3 \u0438 4. \u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0439\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">Dictionary&lt;String,Operation&gt;<\/span><\/strong> \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0432 <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>.<\/span><\/p><\/blockquote>\n<h2>\u041f\u0443\u043d\u043a\u0442 2 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0412\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 (<strong>UI<\/strong>) \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0438\u043d\u0445\u0440\u043e\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u0441 \u0432\u0430\u0448\u0435\u0439 \u041c\u043e\u0434\u0435\u043b\u044c\u044e (<\/span><strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>).<\/p><\/blockquote>\n<h2>\u041f\u0443\u043d\u043a\u0442 3 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u041d\u0430\u0434\u0435\u043b\u0438\u0442\u0435 \u0432\u0430\u0448 <strong><span style=\"color: #0000ff;\">CalculatorBrain <\/span><\/strong> \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c\u044e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d. \u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u044d\u0442\u043e \u043f\u0443\u0442\u0435\u043c \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0433\u043e <strong>API<\/strong> \u0432 \u0432\u0430\u0448\u0435\u043c <strong><span style=\"color: #0000ff;\"> CalculatorBrain<\/span><\/strong> &#8230;<\/span><\/p>\n<p><span style=\"color: #0000ff;\"><strong>func setOperand \u00a0(variable named: String)<\/strong><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u0430 \u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0434\u043e\u043b\u0436\u043d\u0430 \u0434\u0435\u043b\u0430\u0442\u044c \u0432 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u0438 \u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u0435\u0431\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c: \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u201d \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u043d\u0434 (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<strong><span style=\"color: #0000ff;\">setOperand (variable: \u201cx\u201d)<\/span><\/strong> \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u0441 \u0438\u043c\u0435\u043d\u0435\u043c\u00a0<span style=\"color: #0000ff;\"><strong>\u0445<\/strong><\/span>). \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430 \u0432 <strong>x<\/strong>, \u0430 \u0437\u0430\u0442\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 <strong>cos<\/strong> \u0431\u0443\u0434\u0435\u0442 \u043e\u0437\u043d\u0430\u0447\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">cos (x) <\/span><\/strong> \u0432 \u0432\u0430\u0448\u0435\u043c <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>.<\/span><\/p><\/blockquote>\n<p><!--more--><\/p>\n<p><span style=\"font-weight: 400;\">\u0423 \u043d\u0430\u0441 \u00a0\u0435\u0441\u0442\u044c \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0430 \u2116 1, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0433\u043b\u0430\u0441\u0438\u0442:<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">\u041d\u0435\u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0437\u0430\u043f\u0440\u0435\u0442 \u0432 \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0435 1 \u044d\u0442\u043e\u0433\u043e \u0417\u0430\u0434\u0430\u043d\u0438\u044f, \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u0432 <strong><span style=\"color: #0000ff;\">private <\/span><\/strong> \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong> \u0432\u0441\u0435, \u0447\u0442\u043e \u0432\u0430\u043c \u0443\u0433\u043e\u0434\u043d\u043e. \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432 \u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0432 <strong><span style=\"color: #0000ff;\"> CalculatorBrain<\/span><\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043c\u043d\u043e\u0433\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">evaluate <\/span><\/strong> \u044d\u0442\u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0441 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u201d (\u0442\u0430\u043a\u0436\u0435 \u0432\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u0430\u0442\u044c undo \u0432 \u044d\u0442\u043e\u0439 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u043e\u0434\u0438\u043d \u0448\u0430\u0433 \u0437\u0430 \u0440\u0430\u0437).<\/span><\/p><\/blockquote>\n<p>\u0418\u0442\u0430\u043a, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u0442\u044c \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043d\u0430\u0448\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432, \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445, \u0432\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0445 \u0432 \u043d\u0430\u0448 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440, \u0438 \u044d\u0442\u043e \u0431\u0443\u0434\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432 <strong><span style=\"color: #0000ff;\">internalProgram<\/span><\/strong> \u0440\u0430\u0437\u043d\u043e\u0440\u043e\u0434\u043d\u044b\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0435\u043c\u00a0<span style=\"color: #0000ff;\"><strong>OpStack<\/strong><\/span>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7247 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM.png\" alt=\"\" width=\"1032\" height=\"236\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM.png 1032w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM-300x69.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM-768x176.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM-1024x234.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.05.35-PM-500x114.png 500w\" sizes=\"auto, (max-width: 1032px) 100vw, 1032px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u0430\u0441\u0441\u0438\u0432 <strong><span style=\"color: #0000ff;\">internalProgram\u00a0<\/span><\/strong>\u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 \u0432 \u043d\u0430\u0448\u0435\u0439 <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u0438 &#8212; \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">struct CalculatorBrain<\/span> <\/strong>\u0438 \u0445\u0440\u0430\u043d\u0438\u0442 \u0440\u0430\u0437\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b, \u044d\u0442\u043e \u0441\u0432\u043e\u0435\u0433\u043e \u0440\u043e\u0434\u0430 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0430 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043d\u0430\u0448\u0435\u0433\u043e \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430. \u041a\u0430\u0436\u0434\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 \u00a0\u00a0<strong><span style=\"color: #0000ff;\">internalProgram<\/span><\/strong>\u00a0\u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u0442\u0441\u044f \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c:<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u043e\u043f\u0435\u0440\u0430\u043d\u0434 <strong><span style=\"color: #0000ff;\">\u00a0operand (Double)<\/span><\/strong> \u0438\u043c\u0435\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0442\u0438\u043f\u0430 <strong><span style=\"color: #0000ff;\">Double<\/span><\/strong><br \/>\n\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u00a0<strong><span style=\"color: #0000ff;\">\u00a0operation (String)<\/span><\/strong>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0442\u0438\u043f\u0430 <span style=\"color: #0000ff;\"><b>String<\/b><\/span><br \/>\n\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f\u00a0<strong><span style=\"color: #0000ff;\">\u00a0variable (String)<\/span><\/strong>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0441\u0438\u043c\u0432\u043e\u043b \u00a0\u0442\u0438\u043f\u0430\u00a0<span style=\"color: #0000ff;\"><b>String<\/b><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u043e \u043c\u0435\u0440\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0431\u0443\u0434\u0435\u0442 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b, \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0438 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c <strong>UI<\/strong>, \u0432 <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u0438 <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>\u00a0\u0431\u0443\u0434\u0443\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0442\u0435 \u0436\u0435 \u043c\u0435\u0442\u043e\u0434\u044b, \u0447\u0442\u043e \u0438 \u043f\u0440\u0435\u0436\u0434\u0435: <strong><span style=\"color: #0000ff;\">setOperand<\/span><\/strong> \u0438 <strong><span style=\"color: #0000ff;\">performOperation<\/span><\/strong>, \u043d\u043e \u0441\u043c\u044b\u0441\u043b \u044d\u0442\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0434\u0440\u0443\u0433\u043e\u0439: \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0437\u0430\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043c\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432\u00a0<strong><span style=\"color: #0000ff;\">internalProgram<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0442\u044c\u0441\u044f\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u0435\u0439\u00a0<strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0440\u0430\u0441\u0447\u0435\u0442\u0430 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7248 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM.png\" alt=\"\" width=\"1048\" height=\"606\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM.png 1048w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM-300x173.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM-768x444.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM-1024x592.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-8.34.24-PM-500x289.png 500w\" sizes=\"auto, (max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434 \u0434\u043b\u044f \u0432\u0432\u043e\u0434\u0430 &#171;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445&#187;, \u0434\u043b\u044f \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043f\u043e\u043a\u0430 \u043d\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 \u043d\u0430\u0448\u0435\u043c UI, \u043d\u043e \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u044b \u043f\u043e\u0437\u0436\u0435 :<\/span><\/p>\n<p><strong><span style=\"color: #0000ff;\">func setOperand \u00a0(variable named: String)<\/span><\/strong><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 4 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c, \u043a\u043e\u0433\u0434\u0430 \u0432\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u043b\u0438 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0435\u0442\u043e\u0434 \u043e\u0446\u0435\u043d\u043a\u0438 <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong> (\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0440\u0430\u0441\u0447\u0435\u0442\u0430) \u043f\u0443\u0442\u0435\u043c \u043f\u043e\u0434\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u044d\u0442\u0438\u0445 \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u201d \u0438\u0437 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u044f <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong> &#8230;<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\"><br \/>\n<span style=\"color: #0000ff;\">\u00a0func evaluate(using variables: Dictionary&lt;String,Double&gt;? = nil)<br \/>\n-&gt; (result: Double?, isPending: Bool, description: String)<\/span><\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">\u0417\u0430\u043c\u0435\u0442\u044c\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0431\u0435\u0440\u0435\u0442 <strong><span style=\"color: #0000ff;\">Optional Dictionary<\/span><\/strong> (\u0441 \u043a\u043b\u044e\u0447\u0430\u043c\u0438 <strong><span style=\"color: #0000ff;\">Strings<\/span><\/strong> \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 <strong><span style=\"color: #0000ff;\">Doubles<\/span><\/strong>) \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0430, \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0440\u0430\u0432\u043d\u043e <strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>, \u0435\u0441\u043b\u0438 \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u043c\u0435\u0442\u043e\u0434\u0430 \u0441\u043b\u043e\u0432\u0430\u0440\u044c <span style=\"color: #0000ff;\"><strong>Dictionary<\/strong><\/span> \u043d\u0435 \u0437\u0430\u0434\u0430\u0435\u0442\u0441\u044f. \u0422\u0430\u043a\u0436\u0435 \u0437\u0430\u043c\u0435\u0442\u044c\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u043e\u0440\u0442\u0435\u0436 (<strong>tuple<\/strong>) (\u043f\u0435\u0440\u0432\u044b\u043c \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u043c \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong><span style=\"color: #0000ff;\">Optional Double<\/span><\/strong>). \u042d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>mutating<\/strong> (\u0438\u0437\u043c\u0435\u043d\u044f\u044e\u0449\u0438\u043c) \u0438 \u0432\u044b \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u044b \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0442\u044c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0443 \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0433\u043e <strong>mutating<\/strong>. \u0415\u0441\u043b\u0438 \u00a0\u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f\u201d, \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u0430\u044f \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u043d\u0434, \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435 <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong>, \u0442\u043e \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u0435\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0440\u0430\u0432\u043d\u043e <\/span><b>0<\/b>.<\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u043f\u0435\u0440\u0435\u043d\u0435\u0441\u0435\u043c \u0432 \u043c\u0435\u0442\u043e\u0434 <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0432\u0441\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u043d\u044c\u0448\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u043b\u0438\u0441\u044c \u0432 \u043d\u0430\u0448\u0435\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435\u00a0<strong><span style=\"color: #0000ff;\">struct CalculatorBrain<\/span><\/strong>, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u043d\u0438 \u043d\u0435 \u0431\u0443\u0434\u0443\u0442 \u00a0<strong><span style=\"color: #0000ff;\">mutating<\/span><\/strong> \u043c\u0435\u0442\u043e\u0434\u0430\u043c\u0438 \u0438 <strong><span style=\"color: #0000ff;\">private<\/span><\/strong> \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438, \u043e\u043d\u0438 \u0431\u0443\u0434\u0443\u0442 \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0438 \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430\u043c\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7258 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM.png\" alt=\"\" width=\"1204\" height=\"608\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM.png 1204w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM-300x151.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM-768x388.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM-1024x517.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.30.27-AM-500x252.png 500w\" sizes=\"auto, (max-width: 1204px) 100vw, 1204px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043b\u043e \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u00a0<span style=\"color: #0000ff;\"><b>evaluate<\/b><\/span> \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0441\u0442\u043e\u0435 &#8212; \u044d\u0442\u043e \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0430\u043d\u0430\u043b\u0438\u0437 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 <strong><span style=\"color: #0000ff;\">internalProgram<\/span>\u00a0<\/strong>\u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432, \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0438 &#171;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445&#187;, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u0435\u043b \u0432 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7259 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM.png\" alt=\"\" width=\"1070\" height=\"664\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM.png 1070w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM-300x186.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM-768x477.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM-1024x635.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.44.12-AM-483x300.png 483w\" sizes=\"auto, (max-width: 1070px) 100vw, 1070px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u0435\u0442\u043e\u0434\u00a0<span style=\"color: #0000ff;\"><b>evaluate<\/b><\/span> \u043d\u0435 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <strong>mutating<\/strong> (\u044d\u0442\u043e \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u044f), \u043e\u043d\u0430 \u043d\u0435\u00a0\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u043d\u0438\u043a\u0430\u043a\u0438\u0445 \u043f\u043e\u0431\u043e\u0447\u043d\u044b\u0445 \u044d\u0444\u0444\u0435\u043a\u0442\u043e\u0432 \u0432 <strong><span style=\"color: #0000ff;\"> CalculatorBrain<\/span><\/strong>. \u041e\u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0441 \u0442\u0435\u043c\u0438 \u0436\u0435 \u0438\u043c\u0435\u043d\u0430\u043c\u0438 <strong><span style=\"color: #0000ff;\"> setOperand<\/span><\/strong>\u00a0\u0438\u00a0<strong><span style=\"color: #0000ff;\"> performOperation<\/span><\/strong>, \u0447\u0442\u043e \u0438 \u043d\u044b\u043d\u0435\u0448\u043d\u044f\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430\u00a0\u00a0<strong><span style=\"color: #0000ff;\"> CalculatorBrain<\/span><\/strong>, \u043d\u043e \u044d\u0442\u043e \u0432\u043b\u043e\u0436\u0435\u043d\u043d\u044b\u0435 \u0432 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <span style=\"color: #0000ff;\"><b>evaluate\u00a0<\/b><\/span>\u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0440\u0430\u0441\u0447\u0435\u0442\u044b \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0435:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7255 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM.png\" alt=\"\" width=\"1218\" height=\"1394\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM.png 1218w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM-262x300.png 262w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM-768x879.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.08.50-AM-895x1024.png 895w\" sizes=\"auto, (max-width: 1218px) 100vw, 1218px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\"> \u042d\u0442\u043e \u0442\u0435 \u0441\u0430\u043c\u044b\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0431\u044b\u043b\u0438 \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>, \u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u043e\u043d\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432\u043d\u0443\u0442\u0440\u0438 \u043c\u0435\u0442\u043e\u0434\u0430 <span style=\"color: #0000ff;\"><b>evaluate<\/b><\/span>, \u0438 \u0445\u043e\u0442\u044f \u043e\u043d\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044e\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u00a0\u043a\u043e\u0440\u0442\u0435\u0436 <strong><span style=\"color: #0000ff;\">cache<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0441\u044f \u0432\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain\u00a0<\/span><\/strong>\u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 1:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7260 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM.png\" alt=\"\" width=\"1142\" height=\"860\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM.png 1142w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM-300x226.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM-768x578.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM-1024x771.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-8.54.14-AM-398x300.png 398w\" sizes=\"auto, (max-width: 1142px) 100vw, 1142px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u043d\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u044d\u0442\u043e \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u0430\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0430\u044f \u043c\u0435\u0442\u043e\u0434\u0430\u00a0<span style=\"color: #0000ff;\"><b>evaluate<\/b><\/span>, \u0430 \u043d\u0435\u00a0\u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u0432 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435 <strong><span style=\"color: #0000ff;\">struct CalculatorBrain<\/span><\/strong>.<\/span><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 5 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u041c\u044b \u0441\u0434\u0435\u043b\u0430\u043b\u0438 <span style=\"color: #0000ff;\"><strong>result<\/strong><\/span>, <strong><span style=\"color: #0000ff;\">description<\/span><\/strong> \u0438 <strong><span style=\"color: #0000ff;\"> resultIsPending<\/span><\/strong> \u041d\u0415-<strong><span style=\"color: #0000ff;\">private <\/span><\/strong>\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u043c\u0438 <strong><span style=\"color: #0000ff;\">vars<\/span> API <span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong> \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 1. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u043c\u044b \u201c\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043b\u0438\u0441\u044c\u201d \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u0442\u044c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u0438\u0445, \u0434\u0430\u0436\u0435 \u043d\u0435 \u0441\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0443 \u043d\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u043d\u043e\u0432\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 (\u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u201d \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u043e\u0432) \u0432 \u044d\u0442\u043e\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u0438, \u0447\u0442\u043e \u0441\u0434\u0435\u043b\u0430\u043b\u043e \u0438\u0445 \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435\u0443\u043c\u0435\u0441\u0442\u043d\u044b\u043c\u0438. \u0420\u0435\u0430\u043b\u044c\u043d\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0438\u0442\u044c (<strong>deprecate<\/strong>) \u044d\u0442\u0438 <strong><span style=\"color: #0000ff;\">vars<\/span><\/strong> (\u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0432\u0441\u0435 \u0432\u0438\u0434\u044b \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0435\u043d\u043d\u044b\u0445<strong> iOS API<\/strong> \u0432 <strong>Xcode<\/strong>), \u043d\u043e \u043f\u043e\u043a\u0430 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">result<\/span><\/strong>,<strong> description<\/strong> \u0438 <strong><span style=\"color: #0000ff;\"> resultIsPending<\/span><\/strong> \u041d\u0415-<strong><span style=\"color: #0000ff;\">private<\/span> <span style=\"color: #0000ff;\">vars<\/span><\/strong> \u0438 \u043f\u0440\u043e\u0441\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0438\u0437 \u043d\u0438\u0445 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u0432\u044b\u0437\u043e\u0432\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0441 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u043c <strong><span style=\"color: #0000ff;\">nil<\/span><\/strong> (\u0442\u043e \u0435\u0441\u0442\u044c \u043e\u043d\u0438 \u0434\u0430\u0434\u0443\u0442 \u0441\u0432\u043e\u0438 \u043e\u0442\u0432\u0435\u0442\u044b \u0432 \u043f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0438, \u0447\u0442\u043e \u0432\u0441\u0435 \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0440\u0430\u0432\u043d\u044b <b>0<\/b>). \u0422\u0435\u043c \u043d\u0435 \u043c\u0435\u043d\u0435\u0435, \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u0438\u0437 \u044d\u0442\u0438\u0445 <span style=\"color: #0000ff;\"><b>vars<\/b><\/span> \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u0432\u0430\u0448\u0435\u043c \u043a\u043e\u0434\u0435 \u0432 \u044d\u0442\u043e\u043c \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u0438. \u0412\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <span style=\"color: #0000ff;\"><b>evaluate<\/b><\/span>.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0412 \u0441\u043b\u043e\u0432\u0430\u0440\u0435 \u0441\u043b\u043e\u0432\u043e \u201cdeprecate\u201c \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u201c\u0432\u044b\u0440\u0430\u0437\u0438\u0442\u044c \u043d\u0435\u043e\u0434\u043e\u0431\u0440\u0435\u043d\u0438\u0435\u201d. \u042d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442, \u0447\u0442\u043e \u0432\u044b \u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u043b\u044e\u0434\u0435\u0439 \u043f\u0440\u0435\u043a\u0440\u0430\u0442\u0438\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u044d\u0442\u043e\u0442 <strong>API<\/strong>, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0435\u0441\u044c \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u043d\u0435\u0433\u043e \u0432 \u0431\u0443\u0434\u0443\u0449\u0435\u043c. \u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 <strong>iOS<\/strong> \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u0442\u043e \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043c\u043d\u043e\u0433\u043e \u201c<strong>deprecated<\/strong>\u201d (\u0443\u043f\u0440\u0430\u0437\u0434\u043d\u0435\u043d\u043d\u044b\u0445) \u043c\u0435\u0442\u043e\u0434\u043e\u0432. \u041c\u044b \u043f\u043e\u0441\u0442\u0443\u043f\u0438\u043c \u0442\u0430\u043a\u0436\u0435, \u043a\u0430\u043a \u043f\u043e\u0441\u0442\u0443\u043f\u0430\u0435\u0442 \u043a\u043e\u043c\u043f\u0430\u043d\u0438\u044f <strong>Apple<\/strong>, \u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0445\u043e\u0447\u0435\u0442 \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e <strong>public API<\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043e\u043d\u0430 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u043b\u0430 \u0432 \u043f\u0440\u043e\u0448\u043b\u043e\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7252 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM.png\" alt=\"\" width=\"1086\" height=\"512\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM.png 1086w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM-300x141.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM-768x362.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM-1024x483.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-28-at-9.37.30-PM-500x236.png 500w\" sizes=\"auto, (max-width: 1086px) 100vw, 1086px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c<strong> public API<\/strong> \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <strong><span style=\"color: #0000ff;\">struct CalculatorBrain<\/span> <\/strong>\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7262 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM.png\" alt=\"\" width=\"1242\" height=\"1080\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM.png 1242w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM-300x261.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM-768x668.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM-1024x890.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.43.40-AM-345x300.png 345w\" sizes=\"auto, (max-width: 1242px) 100vw, 1242px\" \/><\/a><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 6 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0412\u044b \u043d\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <b>Swift<\/b> \u0422\u0438\u043f\u044b <strong><span style=\"color: #0000ff;\">Any<\/span><\/strong>&gt; \u0438\u043b\u0438 <strong><span style=\"color: #0000ff;\">AnyObject<\/span><\/strong> \u0432 \u044d\u0442\u043e\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u0438.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u0422\u0438\u043f\u044b\u00a0<strong><span style=\"color: #0000ff;\">Any<\/span><\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong><span style=\"color: #0000ff;\">AnyObject<\/span><\/strong>\u00a0\u0432 \u044d\u0442\u043e\u043c \u0417\u0430\u0434\u0430\u043d\u0438\u0438. \u041c\u0430\u0441\u0441\u0438\u0432\u044b, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435\u00a0\u00a0<strong><span style=\"color: #0000ff;\">Any<\/span><\/strong>\u00a0\u0438\u043b\u0438\u00a0<strong><span style=\"color: #0000ff;\">AnyObject<\/span><\/strong>\u00a0\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442\u0441\u044f\u00a0\u043f\u043e\u0447\u0442\u0438 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0432\u044f\u0437\u0438 \u0441 <b>Objective C<\/b>. \u0412\u00a0<strong>Swift<\/strong> \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438 \u043c\u0430\u0441\u0441\u0438\u0432 <strong><span style=\"color: #0000ff;\">Array<\/span><\/strong> <strong><span style=\"color: #0000ff;\">enum<\/span><\/strong> \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432.<\/span><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 7 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0434\u0432\u0435 \u043d\u043e\u0432\u044b\u0445 \u043a\u043d\u043e\u043f\u043a\u0438 \u043d\u0430 UI \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 Calculator: <b>\u2192M<\/b> \u0438 <b>M<\/b>. \u041d\u0435 \u043f\u0440\u0438\u043d\u043e\u0441\u0438\u0442\u0435 \u0432 \u0436\u0435\u0440\u0442\u0432\u0443 \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u0441 \u0442\u0440\u0435\u0431\u0443\u0435\u043c\u044b\u043c\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0438\u0437 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 1 (\u0445\u043e\u0442\u044f \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439, \u0435\u0441\u043b\u0438 \u0445\u043e\u0442\u0438\u0442\u0435). \u042d\u0442\u0438 \u0434\u0432\u0435 \u043a\u043d\u043e\u043f\u043a\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e\u201d \u0441 \u0438\u043c\u0435\u043d\u0435\u043c <span style=\"color: #0000ff;\"><b>M<\/b><\/span> \u0432 <strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\"><b>\u2192M<\/b>\u00a0\u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u044e <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0432 \u0432\u0430\u0448\u0435\u0439 <b>M<\/b>odel \u0441\u043e \u0441\u043b\u043e\u0432\u0430\u0440\u0435\u043c <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong>, \u00a0\u0443 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0441 \u043a\u043b\u044e\u0447\u043e\u043c <span style=\"color: #0000ff;\"><b>M<\/b><\/span> \u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c, \u0440\u0430\u0432\u043d\u044b\u043c \u0442\u0435\u043a\u0443\u0449\u0435\u043c\u0443 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u043d\u0430 <strong><span style=\"color: #0000ff;\">display<\/span><\/strong>. \u0417\u0430\u0442\u0435\u043c <strong><span style=\"color: #0000ff;\">display<\/span><\/strong> \u043c\u043e\u0434\u0435\u0440\u043d\u0438\u0437\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u043f\u043e\u043a\u0430\u0437\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 <span style=\"color: #0000ff;\"><strong>result<\/strong><\/span>, \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u043e\u0433\u043e \u0438\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong>. \u0414\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u00a0\u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e \u043d\u0430\u0436\u0430\u0442\u0430 \u043b\u0438\u0431\u043e \u044d\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430, \u043b\u0438\u0431\u043e \u043a\u043d\u043e\u043f\u043a\u0430 <b>\u0421<\/b>, \u0442\u043e\u0442 \u0436\u0435 \u0441\u0430\u043c\u044b\u0439 \u0441\u043b\u043e\u0432\u0430\u0440\u044c <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong> \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0432\u044b\u0437\u043e\u0432\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong>.<\/li>\n<li style=\"font-weight: 400;\"><b>\u2192M<\/b> \u043d\u0435 \u0434\u043e\u043b\u0436\u043d\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c <strong><span style=\"color: #0000ff;\">setOperand<\/span><\/strong>.<\/li>\n<li style=\"font-weight: 400;\">\u041d\u0430\u0436\u0430\u0442\u0438\u0435 <b>M<\/b> \u0434\u043e\u043b\u0436\u043d\u043e \u0432\u044b\u0437\u0432\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">setOperand(\u201cM\u201d<\/span><\/strong>) \u0432 <span style=\"color: #0000ff;\"><strong>brain<\/strong><\/span> \u0438 \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430 <strong><span style=\"color: #0000ff;\">display<\/span><\/strong> \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 <strong><span style=\"color: #0000ff;\">result <\/span><\/strong>\u0432\u044b\u0437\u043e\u0432\u0430 <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0441\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u043c <strong><span style=\"color: #0000ff;\">display<\/span>.<\/strong><\/li>\n<li style=\"font-weight: 400;\"><b>\u2192M<\/b> \u0438 <b>M<\/b> \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u043c <b>C<\/b>ontroller, \u0430 \u043d\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u043e\u043c <b>M<\/b>odel (\u0445\u043e\u0442\u044f \u043e\u043d\u0438 \u043e\u0431\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e\u0442 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u201d \u0432 <b>M<\/b>odel).<\/li>\n<li style=\"font-weight: 400;\">\u042d\u0442\u043e \u043d\u0435 \u0432\u044b\u0434\u0430\u044e\u0449\u0430\u044f\u0441\u044f \u043a\u043d\u043e\u043f\u043a\u0430 \u201cmemory\u201d \u043d\u0430 \u043d\u0430\u0448\u0435\u043c \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0435, \u043d\u043e \u043e\u043d\u0430 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0438\u043c \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u043e\u043c \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445\u201d, \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u0430\u044f \u0432\u044b\u0448\u0435. \u00a0\u041f\u0440\u0438\u043c\u0435\u0440\u044b \u2026<\/li>\n<\/ol>\n<p><span style=\"color: #3366ff;\"><b>9 + \u00a0M = \u221a<\/b> <\/span>\u21d2 <span style=\"color: #0000ff;\"><b>description<\/b><\/span> \u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434 <span style=\"color: #ff6600;\"><b>\u221a(9+M)<\/b><\/span>, <span style=\"color: #0000ff;\"><b>display<\/b><\/span> \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <strong>3<\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a <span style=\"color: #0000ff;\"><b>M<\/b><\/span> \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 (\u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0432\u043d\u0430 <strong>0<\/strong>)<\/p>\n<p><span style=\"color: #3366ff;\"><b>7 \u2192M<\/b><\/span> &gt;\u21d2 <span style=\"color: #0000ff;\"><b>display<\/b><\/span> \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <strong>4<\/strong> (\u043a\u0432\u0430\u0434\u0440\u0430\u0442\u043d\u044b\u0439 \u043a\u043e\u0440\u0435\u043d\u044c <strong>16<\/strong>), <span style=\"color: #0000ff;\"><b>description<\/b><\/span> \u0432\u0441\u0435 \u0435\u0449\u0435 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <span style=\"color: #ff6600;\"><b>\u221a<\/b><b>(9+M) <\/b><\/span><\/p>\n<p><span style=\"color: #3366ff;\"><b>+14 \u00a0=<\/b> <\/span>\u21d2 <span style=\"color: #0000ff;\"><b>display<\/b><\/span> \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 <strong>18<\/strong>, <span style=\"color: #0000ff;\"><b>description<\/b><\/span> \u0442\u0435\u043f\u0435\u0440\u044c <span style=\"color: #ff6600;\"><b>\u221a<\/b><b>(9+M)+14<\/b><\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0420\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u043c \u043d\u0430\u00a0<strong>storyboard<\/strong>\u00a0\u00a0\u043a\u043d\u043e\u043f\u043a\u0438\u00a0<b>\u2192M<\/b>\u00a0 \u0438\u00a0<b>M<\/b>\u00a0\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e\u00a0<strong>CTRL<\/strong>-\u043f\u0435\u0440\u0435\u0442\u044f\u0433\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0434\u043b\u044f \u043d\u0438\u0445\u00a0<strong><span style=\"color: #993366;\">@IBAction<\/span><\/strong>\u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong><span style=\"color: #0000ff;\">setM<\/span><\/strong>\u00a0\u0438\u00a0<span style=\"color: #0000ff;\"><b>pushM<\/b><span style=\"color: #000000;\">:<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7263 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM.png\" alt=\"\" width=\"1884\" height=\"770\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM.png 1884w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM-300x123.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM-768x314.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM-1024x419.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-9.55.30-AM-500x204.png 500w\" sizes=\"auto, (max-width: 1884px) 100vw, 1884px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7264 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM.png\" alt=\"\" width=\"1866\" height=\"770\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM.png 1866w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM-300x124.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM-768x317.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM-1024x423.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.07.54-AM-500x206.png 500w\" sizes=\"auto, (max-width: 1866px) 100vw, 1866px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0425\u043e\u0442\u044f \u043c\u0435\u0442\u043e\u0434\u044b\u00a0<strong><span style=\"color: #993366;\">@IBAction<\/span><\/strong>\u00a0\u0432 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0438 \u043e\u0440\u0438\u0435\u043d\u0442\u0438\u0440\u0443\u044e\u0442\u0441\u044f \u043d\u0430 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e<strong><span style=\"color: #0000ff;\">\u00a0M<\/span><\/strong>, \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u00a0<strong><span style=\"color: #0000ff;\">setM<\/span><\/strong>\u00a0\u0438\u00a0<b><span style=\"color: #0000ff;\">pushM<\/span><\/b>\u00a0\u043f\u0440\u0435\u0434\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u0443\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0447\u0438\u0442\u0430\u0435\u043c \u0441 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043a\u0430 \u043a\u043d\u043e\u043f\u043a\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7267 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM.png\" alt=\"\" width=\"1094\" height=\"338\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM.png 1094w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM-300x93.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM-768x237.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM-1024x316.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-10.14.14-AM-500x154.png 500w\" sizes=\"auto, (max-width: 1094px) 100vw, 1094px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 &#171;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445&#187; \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u043b\u043e\u0432\u0430\u0440\u044c <strong><span style=\"color: #0000ff;\">variableValues<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u043a\u043b\u0430\u0441\u0441\u0435 <strong><span style=\"color: #0000ff;\">ViewController<\/span><\/strong> \u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u043e\u0439 \u0436\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043d\u043e\u0439 \u0447\u0430\u0441\u0442\u044c\u044e <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u0438 \u044d\u0442\u043e\u0433\u043e <strong>MVC<\/strong>, \u043a\u0430\u043a \u0438 <strong><span style=\"color: #0000ff;\">brain<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7275 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM.png\" alt=\"\" width=\"1030\" height=\"144\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM.png 1030w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM-300x42.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM-768x107.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM-1024x143.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.00.01-PM-500x70.png 500w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448\u0430 <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u044c\u00a0\u0441\u0434\u0435\u043b\u0430\u043d\u0430 \u0438\u0437 \u0434\u0432\u0443\u0445 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440 \u0434\u0430\u043d\u043d\u044b\u0445: <strong><span style=\"color: #0000ff;\">struct\u00a0CalculatorBrain<\/span><\/strong> \u0438 <strong><span style=\"color: #0000ff;\">Dictionary&lt;String : Double&gt;\u00a0variableValues\u00a0<\/span><\/strong>(\u0442\u043e\u0433\u043e, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0434\u043b\u044f <span style=\"color: #0000ff;\"><b>M<\/b><\/span> \u0438 \u0434\u0440\u0443\u0433\u0438\u0445 &#171;\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0445&#187;). \u042d\u0442\u043e \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u043d\u043e. \u041d\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u0430, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043b\u043e, \u0447\u0442\u043e \u0432\u0430\u0448\u0430 <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u044c<\/span>\u00a0\u0434\u043e\u043b\u0436\u043d\u0430 \u0438\u043c\u0435\u0442\u044c \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0434\u0430\u043d\u043d\u044b\u0445.<\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u0445, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7273 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1.png\" alt=\"\" width=\"1030\" height=\"840\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1.png 1030w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1-300x245.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1-768x626.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1-1024x835.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.30.41-AM-1-368x300.png 368w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 8 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u041f\u043e\u043a\u0430\u0436\u0438\u0442\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">M<\/span><\/strong> (\u0435\u0441\u043b\u0438 \u043e\u043d\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e) \u0433\u0434\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0430 \u0432\u0430\u0448\u0435\u043c <strong>UI<\/strong>.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u0438\u043c \u043c\u0435\u0442\u043a\u0443\u00a0<strong><span style=\"color: #0000ff;\">displayM\u00a0<\/span><\/strong>\u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <strong><span style=\"color: #0000ff;\">M<\/span><\/strong>\u00a0\u0432 \u043e\u0434\u0438\u043d <strong>StackView<\/strong> \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 <strong><span style=\"color: #0000ff;\">history<\/span><\/strong>\u00a0\u0434\u043b\u044f \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0430 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0435\u00a0:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7270 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM.png\" alt=\"\" width=\"1790\" height=\"654\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM.png 1790w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM-300x110.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM-768x281.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM-1024x374.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.12.14-AM-500x183.png 500w\" sizes=\"auto, (max-width: 1790px) 100vw, 1790px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7271 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM.png\" alt=\"\" width=\"2028\" height=\"546\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM.png 2028w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM-300x81.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM-768x207.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM-1024x276.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.15.37-AM-500x135.png 500w\" sizes=\"auto, (max-width: 2028px) 100vw, 2028px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u0435\u0442\u043a\u0438 <strong><span style=\"color: #0000ff;\">history<\/span><\/strong>\u00a0\u0438 <strong><span style=\"color: #0000ff;\">displayM <\/span><\/strong>\u0440\u0430\u0437\u0434\u0435\u043b\u044f\u0442 \u0433\u043e\u0440\u0438\u0437\u043e\u043d\u0442\u0430\u043b\u044c\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0435 \u0441 \u043c\u043d\u043e\u0436\u0438\u0442\u0435\u043b\u0435\u043c \u00a0<strong>0.3<\/strong>. \u0412\u043e\u0442 \u043a\u0430\u043a \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0442\u0435\u0441\u0442\u0430:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7274 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM.png\" alt=\"\" width=\"1490\" height=\"478\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM.png 1490w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM-300x96.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM-768x246.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM-1024x329.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-11.34.49-AM-500x160.png 500w\" sizes=\"auto, (max-width: 1490px) 100vw, 1490px\" \/><\/a><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 9 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0423\u0431\u0435\u0434\u0438\u0442\u0435\u0441\u044c, \u0447\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430 <b>\u0421<\/b> \u0432\u0430\u0448\u0435\u0433\u043e \u0417\u0430\u0434\u0430\u043d\u0438\u044f 1 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e \u0432 \u044d\u0442\u043e\u043c \u0437\u0430\u0434\u0430\u043d\u0438\u0438. \u0412 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043d\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0443\u043f\u0440\u0430\u0437\u0434\u043d\u044f\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u044f <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong> \u0434\u043b\u044f \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u201d <span style=\"color: #0000ff;\"><b>M<\/b><\/span> (\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c <strong><span style=\"color: #0000ff;\">M<\/span><\/strong> \u0432 <strong><span style=\"color: #0000ff;\">0<\/span><\/strong> \u0438\u043b\u0438 \u043a\u0430\u043a\u043e\u0435-\u0442\u043e \u0434\u0440\u0443\u0433\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0441\u043b\u043e\u0432\u0430\u0440\u044f <strong><span style=\"color: #0000ff;\">Dictionary<\/span><\/strong> \u0434\u043e \u0442\u0435\u0445 \u043f\u043e\u0440, \u043f\u043e\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043d\u0430\u0436\u0430\u0442\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 <span style=\"color: #0000ff;\"><b>\u2192M<\/b><\/span> \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e). \u042d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0432\u0430\u043c \u0442\u0435\u0441\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0443\u0447\u0430\u0439 \u201c\u043d\u0435\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u043e\u0439\u201d \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0422\u0430\u043a \u043a\u0430\u043a \u0443 \u043d\u0430\u0441 \u0434\u0432\u0435 \u0447\u0430\u0441\u0442\u0438\u00a0<strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u0438, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u043c\u0435\u0442\u044c \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c \u043e\u0431\u0435 \u0435\u0435 \u0447\u0430\u0441\u0442\u0438. \u0412\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>\u00a0\u043c\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u00a0<strong>public API<\/strong>\u00a0\u043c\u0435\u0442\u043e\u0434\u00a0<span style=\"color: #0000ff;\"><strong>clear<\/strong><\/span>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439\u00a0\u00a0\u043e\u0447\u0438\u0449\u0430\u0435\u0442 \u043c\u0430\u0441\u0441\u0438\u0432\u00a0<strong><span style=\"color: #0000ff;\">internalProgram<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7278 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM.png\" alt=\"\" width=\"1032\" height=\"112\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM.png 1032w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM-300x33.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM-768x83.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM-1024x111.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.52.04-PM-500x54.png 500w\" sizes=\"auto, (max-width: 1032px) 100vw, 1032px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u044d\u043a\u0432\u0438\u0432\u0430\u043b\u0435\u043d\u0442\u043d\u043e \u043a\u043e\u0434\u0443\u00a0<strong><span style=\"color: #0000ff;\">internalProgram = []<\/span><\/strong>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0421\u043b\u043e\u0432\u0430\u0440\u044c\u00a0<strong><span style=\"color: #0000ff;\">variableValues<\/span><\/strong> \u043e\u0447\u0438\u0449\u0430\u0435\u0442\u0441\u044f \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439 \u043a\u043e\u0434\u0430, \u0442\u0430\u043a \u0447\u0442\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043e\u0447\u0438\u0441\u0442\u043a\u0443 \u043e\u0431\u0435\u0438\u0445 \u0447\u0430\u0441\u0442\u0435\u0439 <strong>\u041c<\/strong>\u043e\u0434\u0435\u043b\u0438 \u0432 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438\u00a0<strong>\u0421<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7279 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM.png\" alt=\"\" width=\"1780\" height=\"984\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM.png 1780w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM-300x166.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM-768x425.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM-1024x566.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-1.40.08-PM-500x276.png 500w\" sizes=\"auto, (max-width: 1780px) 100vw, 1780px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u00a0<strong>Action c<span style=\"color: #0000ff;\">learAll<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7796 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM.png\" alt=\"\" width=\"1048\" height=\"172\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM.png 1048w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM-300x49.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM-768x126.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM-1024x168.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-06-02-at-5.08.37-AM-500x82.png 500w\" sizes=\"auto, (max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 10 \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u201c<strong>Undo<\/strong>\u201d \u043a \u0432\u0430\u0448\u0435\u043c\u0443 \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0443: \u0432 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0435 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 1 \u0432\u044b \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u043b\u0438 \u00a0\u043a\u043d\u043e\u043f\u043a\u0443 \u00a0\u201c<strong>backspace<\/strong>\u201d, \u0435\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0432\u0432\u0435\u043b \u043d\u0435\u0432\u0435\u0440\u043d\u0443\u044e \u0446\u0438\u0444\u0440\u0443. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u0433\u043e\u0432\u043e\u0440\u0438\u043c \u043e \u043a\u043e\u043c\u0431\u0438\u043d\u0430\u0446\u0438\u0438 \u201c<strong>backspace<\/strong>\u201d \u0438 \u0440\u0435\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u201c<strong>Undo<\/strong>\u201d \u0432 \u0435\u0434\u0438\u043d\u043e\u0439 \u043a\u043d\u043e\u043f\u043a\u0435. \u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0432\u0432\u043e\u0434\u0430 \u0447\u0438\u0441\u043b\u0430, \u0442\u043e \u044d\u0442\u043e \u043a\u043d\u043e\u043f\u043a\u0430 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u00a0<strong>backspace<\/strong>. \u0415\u0441\u043b\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043d\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u00a0\u0432 \u0441\u0435\u0440\u0435\u0434\u0438\u043d\u0435 \u0432\u0432\u043e\u0434\u0430 \u0447\u0438\u0441\u043b\u0430, \u0442\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c\u00a0<strong>Undo<\/strong>\u00a0\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u0432\u0435\u0449\u0438, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0430 \u0432\u00a0<span style=\"color: #0000ff;\"><b>CalculatorBrain<\/b><\/span>. \u00a0\u041d\u0435 \u043e\u0442\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u043d\u0438\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439 (\u043d\u043e \u0414\u0415\u041b\u0410\u0419\u0422\u0415 \u043e\u0442\u043c\u0435\u043d\u0443 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u201d \u043a\u0430\u043a \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430).<\/span><\/p><\/blockquote>\n<p>\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u00a0<strong>API<\/strong>\u00a0<span style=\"color: #0000ff;\"><b>CalculatorBrain<\/b><\/span>\u00a0\u043d\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434\u00a0<strong><span style=\"color: #0000ff;\">undo()<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0438\u0437 \u043c\u0430\u0441\u0441\u0438\u0432\u0430 <strong><span style=\"color: #0000ff;\">internaProgram<\/span><\/strong>:<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7281 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM.png\" alt=\"\" width=\"1046\" height=\"146\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM.png 1046w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM-300x42.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM-768x107.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM-1024x143.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.07.48-PM-500x70.png 500w\" sizes=\"auto, (max-width: 1046px) 100vw, 1046px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0418 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0435\u0433\u043e \u0432 \u043d\u0430\u0448\u0435\u043c\u00a0<strong>Controller<\/strong>\u00a0\u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0435 &#171;<strong>backspace<\/strong>&#171;:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7282 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM.png\" alt=\"\" width=\"1878\" height=\"1414\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM.png 1878w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM-300x226.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM-768x578.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM-1024x771.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.17.10-PM-398x300.png 398w\" sizes=\"auto, (max-width: 1878px) 100vw, 1878px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u043e\u0442 \u043a\u0430\u043a \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442\u00a0<strong>Action <span style=\"color: #0000ff;\">backspace<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7283 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM.png\" alt=\"\" width=\"1044\" height=\"422\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM.png 1044w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM-300x121.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM-768x310.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM-1024x414.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-2.21.36-PM-500x202.png 500w\" sizes=\"auto, (max-width: 1044px) 100vw, 1044px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0418\u0437 \u0442\u0435\u043a\u0441\u0442\u0430 \u043c\u0435\u0442\u043e\u0434\u0430 <strong><span style=\"color: #0000ff;\">backspace<\/span><\/strong>\u00a0\u0432\u0438\u0434\u043d\u043e, \u0447\u0442\u043e \u043c\u044b \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e \u0441 \u043c\u0435\u0442\u043a\u043e\u0439 display, \u0435\u0441\u043b\u0438 \u0438\u0434\u0435\u0442 \u043d\u0430\u0431\u043e\u0440 \u0447\u0438\u0441\u043b\u0430, \u0438 \u0441 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0439 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u043e\u0439 \u00a0<strong><span style=\"color: #0000ff;\">internaProgram\u00a0<\/span><\/strong>\u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 <strong><span style=\"color: #0000ff;\">brain<\/span><\/strong>., \u043c\u044b \u043d\u0435 \u0442\u0440\u043e\u0433\u0430\u0435\u043c \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e\u00a0\u0441\u043b\u043e\u0432\u0430\u0440\u044c\u00a0<strong><span style=\"color: #0000ff;\">variableValues<\/span><\/strong>.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u043e\u0441\u043b\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 &#171;<b>undo<\/b>&#187; \u043d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u043e\u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0439 \u0432 \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0435 \u2116 10:<\/span><\/p>\n<blockquote><p><span style=\"font-weight: 400;\">\u0411\u0435\u0437 <b>undo<\/b> \u043c\u043e\u0436\u043d\u043e \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0438\u0441\u043b\u043e\u0432\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <span style=\"color: #0000ff;\"><b>M<\/b><\/span>. \u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0447\u0442\u043e-\u0442\u043e \u0435\u0449\u0435 \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f <span style=\"color: #0000ff;\"><b>M<\/b><\/span> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <span style=\"color: #0000ff;\"><b>?<\/b><\/span> \u0438\u043b\u0438 23\u00f72), \u0442\u043e \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u0441\u044f \u043d\u043e\u0432\u044b\u043c \u0430\u043a\u0442\u0438\u0432\u043d\u044b\u043c \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u0437\u0430\u043c\u0435\u0449\u0430\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u043e\u0446\u0435\u043d\u0438\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e. \u0425\u043e\u0442\u044f, \u043a\u0430\u043a \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u044b \u0441\u0434\u0435\u043b\u0430\u0435\u0442\u0435 <b>undo<\/b>, \u0442\u043e \u0432\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u043d\u0430\u0437\u0430\u0434 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u043c\u0443 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044e \u043f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f <span style=\"color: #0000ff;\"><b>M<\/b><\/span>. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u0432\u043e\u0434 <span style=\"color: #0000ff;\"><b>M<\/b> <b>cos<\/b><\/span>, \u0437\u0430\u0442\u0435\u043c <span style=\"color: #0000ff;\"><b>\u03c0<\/b><\/span>, \u0437\u0430\u0442\u0435\u043c <span style=\"color: #0000ff;\"><b>\u2192M<\/b><\/span>, \u0437\u0430\u0442\u0435\u043c <b>undo<\/b> (\u0447\u0442\u043e\u0431\u044b \u0438\u0437\u0431\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u043e\u0442 ?) &#8230; \u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0430\u0448 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 <span style=\"color: #0000ff;\"><b>cos(M<\/b><b>)<\/b><\/span>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e <b>-1<\/b>.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\"> \u0414\u043b\u044f \u00a0\u044d\u0442\u043e\u0433\u043e \u0432\u0432\u043e\u0434\u0438\u043c:<br \/>\n<span style=\"color: #5479e8;\"><b>\u00a0M cos \u00a0<\/b><\/span>&gt;\u21d2\u00a0<span style=\"color: #0000ff;\"><b>description<\/b><\/span>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434\u00a0<strong><span style=\"color: #ff6600;\">cos<\/span><\/strong><strong><span style=\"color: #ff6600;\">(M) =<\/span><\/strong>,\u00a0<span style=\"color: #0000ff;\"><b>display<\/b><\/span>\u00a0\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442<strong>\u00a01<\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a\u00a0<span style=\"color: #0000ff;\"><b>M<\/b><\/span>\u00a0\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 (\u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0432\u043d\u0430 0)<br \/>\n<span style=\"font-weight: 400;\">\u0417\u0430\u0442\u0435\u043c \u0432\u0432\u043e\u0434\u0438\u043c:<br \/>\n<span style=\"color: #5479e8;\"><b>\u00a0\u03c0 \u2192M<\/b>\u00a0<\/span>\u00a0\u21d2\u00a0<span style=\"color: #0000ff;\"><b>description<\/b><\/span>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434\u00a0<strong><span style=\"color: #ff6600;\">\u03c0<\/span><\/strong><strong><span style=\"color: #ff6600;\">\u00a0=<\/span><\/strong>,\u00a0<span style=\"color: #0000ff;\"><b>display<\/b><\/span>\u00a0\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442<strong>\u00a03.141593<\/strong><br \/>\n<span style=\"color: #5479e8;\"><b>Undo \u00a0<\/b><\/span>\u00a0\u21d2\u00a0<span style=\"color: #0000ff;\"><b>description<\/b><\/span>\u00a0\u0438\u043c\u0435\u0435\u0442 \u0432\u0438\u0434\u00a0<strong><span style=\"color: #ff6600;\">cos<\/span><\/strong>\u00a0<strong><span style=\"color: #ff6600;\">(M) =<\/span><\/strong>,\u00a0<span style=\"color: #0000ff;\"><b>display<\/b><\/span>\u00a0\u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u00a0<strong>-1<\/strong>, \u0442\u0430\u043a \u043a\u0430\u043a\u00a0<span style=\"color: #0000ff;\"><b>M<\/b><\/span>\u00a0\u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430 \u0432<span style=\"color: #0000ff;\"><b>\u00a0\u03c0<\/b><span style=\"color: #000000;\">.<\/span><\/span><\/span><\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0432\u044b\u0448\u0435\u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d\u043d\u044b\u0439 \u0442\u0435\u0441\u0442:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7285 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM.png\" alt=\"\" width=\"1110\" height=\"688\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM.png 1110w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM-300x186.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM-768x476.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM-1024x635.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.26.03-PM-484x300.png 484w\" sizes=\"auto, (max-width: 1110px) 100vw, 1110px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0442\u0435\u0441\u0442\u0430:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7287 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM.png\" alt=\"\" width=\"1922\" height=\"1406\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM.png 1922w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM-300x219.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM-768x562.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM-1024x749.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-29-at-4.30.02-PM-410x300.png 410w\" sizes=\"auto, (max-width: 1922px) 100vw, 1922px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u0434\u043b\u044f \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0445 \u043f\u0443\u043d\u043a\u0442\u043e\u0432 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u00a0<strong><a href=\"https:\/\/github.com\/BestKora\/Calculator-II-cs193p-2017-\/tree\/RequiredTasks\">Github<\/a><\/strong>.<\/span><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 1 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0412\u0430\u0448 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0430\u0445. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,\u00a0<b>\u221a\u00a0<\/b>\u00a0\u0438\u0437 \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0438\u043b\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0443\u043b\u044c. \u0415\u0441\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u201c\u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0438\u044f\u201d \u044d\u0442\u0438\u0445 \u043e\u0448\u0438\u0431\u043e\u043a \u00a0(\u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043a Unary\/ BinaryOperation \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0432\u0430\u044e\u0442 \u043e\u0448\u0438\u0431\u043a\u0443, \u0438\u043b\u0438, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0444\u0443\u043d\u043a\u0446\u0438\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0441 Unary\/ BinaryOperation \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0442\u044c \u043a\u043e\u0440\u0442\u0435\u0436 \u043a\u0430\u043a \u0441 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u043c <span style=\"color: #0000ff;\"><b>result<\/b><\/span>, \u0442\u0430\u043a \u0438 \u0441 \u043e\u0448\u0438\u0431\u043a\u043e\u0439 \u00a0<span style=\"color: #0000ff;\"><b>error<\/b><\/span> (\u0435\u0441\u043b\u0438 \u043e\u043d\u0430 \u0435\u0441\u0442\u044c) \u0438\u043b\u0438 ???).\u00a0\u0422\u043e, \u043a\u0430\u043a \u0432\u044b \u0431\u0443\u0434\u0435\u0442\u0435 \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043e \u043b\u044e\u0431\u044b\u0445 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043d\u044b\u0445 \u043e\u0448\u0438\u0431\u043a\u0430\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u043c\u00a0<span style=\"color: #0000ff;\"><b>CalculatorBrain<\/b><\/span><b>\u00a0API<\/b>, \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0435\u0442 \u043e\u0442 \u0432\u0430\u0441 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439\u00a0<b>API<\/b>, \u043d\u043e \u043d\u0435 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0439\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439\u00a0<span style=\"color: #0000ff;\"><b>CalculatorBrain<\/b><\/span>\u00a0<b>API<\/b>\u00a0\u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u0441 \u043e\u0448\u0438\u0431\u043a\u0430\u043c\u0438, \u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 (\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044c\u0442\u0435\u00a0<b>C<\/b>ontrollers, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c\u00a0<b>errors<\/b>, \u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e, \u0430 \u0434\u0440\u0443\u0433\u0438\u043c, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438, \u00a0\u043f\u043e\u0437\u0432\u043e\u043b\u044c\u0442\u0435 \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441\u00a0<b>NaN<\/b>\u00a0\u0438\u043b\u0438\u00a0<b>+\u221e<\/b>, \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u043c\u00a0<b>UI<\/b>). \u0414\u0440\u0443\u0433\u0438\u043c\u0438 \u0441\u043b\u043e\u0432\u0430\u043c\u0438,\u00a0<b>\u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u044f\u0439\u0442\u0435 \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u0432\u00a0<\/b><b>non-private<\/b><b>\u00a0API\u00a0<\/b><span style=\"color: #0000ff;\"><b>CalculatorBrain<\/b><\/span><b>\u00a0\u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u044d\u0442\u0438 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438\u00a0<\/b>\u00a0(\u0432\u043c\u0435\u0441\u0442\u043e \u044d\u0442\u043e\u0433\u043e \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u043c\u0435\u0442\u043e\u0434\u044b \/ \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e).<\/span><\/p><\/blockquote>\n<p>\u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u00a0\u0443\u043c\u0435\u0442\u044c \u0441\u043f\u0440\u0430\u0448\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 <strong><span style=\"color: #0000ff;\">binaryOperation<\/span><\/strong>\u00a0\u0438 <strong><span style=\"color: #0000ff;\">unaryOperation<\/span><\/strong>, \u043a\u0430\u043a\u0438\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 (\u0435\u0441\u043b\u0438 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c) \u0431\u0443\u0434\u0443\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0438 \u0432 \u043d\u0438\u0445 \u00a0\u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430 (\u043e\u0432).<br \/>\n\u041e\u0434\u0438\u043d \u0438\u0437 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u044d\u0442\u043e &#8212; \u0438\u043c\u0435\u0442\u044c \u0434\u043b\u044f<strong>\u00a0<span style=\"color: #0000ff;\">binaryOperation<\/span><\/strong>\u00a0\u0438<strong>\u00a0<span style=\"color: #0000ff;\">unaryOperation<\/span>\u00a0<\/strong>\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 , \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0431\u043e\u0439\u00a0<strong><span style=\"text-decoration: underline;\"><i>\u0444\u0443\u043d\u043a\u0446\u0438\u044e<\/i><\/span><\/strong>, \u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0435 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u044e\u0449\u0443\u044e \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435\u00a0<strong><span style=\"color: #0000ff;\">String\u00a0<\/span><\/strong>\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 <strong><span style=\"color: #0000ff;\">error<\/span><\/strong>, \u0435\u0441\u043b\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u0442 \u043e\u0448\u0438\u0431\u043a\u0443 (\u0438\u043b\u0438\u00a0<strong><span style=\"color: #0000ff;\">nil\u00a0<\/span><\/strong>\u00a0\u0432 \u043f\u0440\u043e\u0442\u0438\u0432\u043d\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435).<br \/>\n\u0411\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u043e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043d\u0435 \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u043e\u0431\u0449\u0430\u0442\u044c \u043e \u043a\u0430\u043a\u0438\u0445-\u0442\u043e \u043e\u0448\u0438\u0431\u043a\u0430\u0445, \u0434\u0430 \u043c\u044b \u0438 \u043d\u0435 \u043e\u0431\u044f\u0437\u0430\u043d\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u0445 \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043c\u044b \u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u00a0<strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>\u00a0\u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435\u00a0<strong><span style=\"text-decoration: underline;\"><em>\u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/em><\/span><\/strong>, \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u043e\u0448\u0438\u0431\u043a\u0438. \u041c\u043e\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c<strong>\u00a0<span style=\"color: #0000ff;\">Optional<\/span><\/strong>\u00a0\u0446\u0435\u043b\u0438\u043a\u043e\u043c<strong>\u00a0<span style=\"text-decoration: underline; color: #ff0000;\">\u0442\u0438\u043f \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/span>,<\/strong>\u00a0\u0440\u0430\u0437\u043c\u0435\u0449\u0430\u044f<strong><span style=\"text-decoration: underline; color: #ff0000;\">\u00a0\u0442\u0438\u043f \u0444\u0443\u043d\u043a\u0446\u0438\u0438<\/span>\u00a0<\/strong>\u0432 \u043a\u0440\u0443\u0433\u043b\u044b\u0445 \u0441\u043a\u043e\u0431\u043a\u0430\u0445 \u0438 \u0441\u0442\u0430\u0432\u044f \u0437\u043d\u0430\u043a<strong><span style=\"color: #0000ff;\">\u00a0?<\/span><\/strong>\u00a0\u043f\u043e\u0441\u043b\u0435 \u043a\u0440\u0443\u0433\u043b\u044b\u0445 \u0441\u043a\u043e\u0431\u043e\u043a. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440,<strong>\u00a0<span style=\"color: #0000ff;\">((Double, Double ) -&gt; String?)?\u00a0<\/span><\/strong>&#8212; \u044d\u0442\u043e \u00a0<strong><span style=\"color: #0000ff;\">Optional<\/span>\u00a0\u00a0<em><span style=\"text-decoration: underline;\">\u0444\u0443\u043d\u043a\u0446\u0438\u044f<\/span><\/em><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0435\u0440\u0435\u0442 \u0434\u0432\u0430<strong><span style=\"color: #0000ff;\">\u00a0Double<\/span><\/strong>\u00a0\u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442<strong><span style=\"color: #0000ff;\">\u00a0Optional<\/span>\u00a0&lt;<span style=\"color: #0000ff;\">String&gt;<\/span>.<\/strong><br \/>\n\u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043c <span style=\"color: #0000ff;\">b<strong>inaryOperation<\/strong><\/span>\u00a0\u0438<strong>\u00a0<span style=\"color: #0000ff;\">unaryOperation<\/span><\/strong>\u00a0\u043d\u043e\u0432\u043e\u0435 \u0430\u0441\u0441\u043e\u0446\u0438\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0438\u043f\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u043e\u0448\u0438\u0431\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0438.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7291 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM.png\" alt=\"\" width=\"1244\" height=\"246\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM.png 1244w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM-300x59.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM-768x152.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM-1024x202.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.31.33-AM-500x99.png 500w\" sizes=\"auto, (max-width: 1244px) 100vw, 1244px\" \/><\/a><\/p>\n<p><strong>\u00a0\u0417\u0434\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430:<\/strong><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">\u043f\u0435\u0440\u0432\u044b\u0439 &#8212; \u0435\u0441\u043b\u0438 \u0441\u0430\u043c\u0430 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u043e\u0448\u0438\u0431\u043a\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430, \u0442\u043e \u0435\u0441\u0442\u044c \u0441\u0430\u043c\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<span style=\"color: #0000ff;\"><b>errorTest<\/b><\/span>\u00a0-\u044d\u0442\u043e\u00a0<span style=\"color: #0000ff;\"><b>nil<\/b><\/span>,<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0432\u0442\u043e\u0440\u043e\u0439 &#8212; \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<span style=\"color: #0000ff;\"><b>errorTest<\/b><\/span>\u00a0\u043d\u0435\u00a0<span style=\"color: #0000ff;\"><b>nil<\/b><\/span>, \u043d\u043e \u043e\u043d\u0430 \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u00a0<span style=\"color: #0000ff;\"><b>nil<\/b><\/span>. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u0412 \u043d\u0430\u0448\u0435\u0439 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u043d\u0430\u0440\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0442\u0438\u043f\u0430\u00a0<strong><span style=\"color: #0000ff;\">\u221a<\/span><\/strong>,\u00a0<strong><span style=\"color: #0000ff;\">ln<\/span><\/strong>,\u00a0<strong><span style=\"color: #0000ff;\">x\u207b\u00b9<\/span><\/strong>,<strong><span style=\"color: #0000ff;\">\u00a0sin\u207b\u00b9<\/span><\/strong>,\u00a0<strong><span style=\"color: #0000ff;\">cos\u207b\u00b9\u00a0<\/span><\/strong>\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f &#171;\u0434\u0435\u043b\u0435\u043d\u0438\u0435&#187;\u00a0\u00a0<strong><span style=\"color: #0000ff;\">\u00f7<\/span><\/strong> \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7292 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM.png\" alt=\"\" width=\"1138\" height=\"738\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM.png 1138w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM-300x195.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM-768x498.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM-1024x664.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.40.30-AM-463x300.png 463w\" sizes=\"auto, (max-width: 1138px) 100vw, 1138px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0448\u0438\u0431\u043a\u0443 \u0431\u0443\u0434\u0435\u043c \u0444\u0438\u043a\u0441\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 <span style=\"color: #0000ff;\"><b>\u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0439<\/b><\/span>\u00a0\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u00a0<strong><span style=\"color: #0000ff;\">error: String?<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\"> \u0432 \u043c\u0435\u0442\u043e\u0434\u0435<\/span><\/span> <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\"> :<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7293 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM.png\" alt=\"\" width=\"1154\" height=\"214\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM.png 1154w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM-300x56.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM-768x142.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM-1024x190.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.48.13-AM-500x93.png 500w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a><\/p>\n<p>. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0.<br \/>\n<span style=\"font-weight: 400;\">\u041f\u0440\u0435\u0436\u0434\u0435, \u0447\u0435\u043c \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0443\u043d\u0430\u0440\u043d\u0443\u044e \u0438\u043b\u0438 \u0431\u0438\u043d\u0430\u0440\u043d\u0443\u044e \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e, \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u044b \u043d\u0430 \u043e\u0448\u0438\u0431\u043a\u0443. \u0415\u0441\u043b\u0438 \u043e\u0448\u0438\u0431\u043a\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u0430, \u0442\u043e \u0444\u0438\u043a\u0441\u0438\u0440\u0443\u0435\u043c \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u00a0<span style=\"color: #0000ff;\"><strong>error<\/strong>:<\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7294 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM.png\" alt=\"\" width=\"1058\" height=\"282\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM.png 1058w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM-300x80.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM-768x205.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM-1024x273.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.51.34-AM-500x133.png 500w\" sizes=\"auto, (max-width: 1058px) 100vw, 1058px\" \/><\/a><br \/>\n. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0.<\/p>\n<p><span style=\"font-weight: 400;\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u201c\u0446\u0435\u043f\u043e\u0447\u0435\u043a\u201d\u00a0<strong><span style=\"color: #0000ff;\">Optionals<\/span><\/strong>\u00a0\u0438 \u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong><span style=\"color: #0000ff;\">validator<\/span><\/strong>\u00a0c \u0432\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u00a0<strong><span style=\"color: #0000ff;\">?<\/span><\/strong>\u00a0\u0437\u043d\u0430\u043a\u043e\u043c\u00a0\u0438 \u0437\u0434\u0435\u0441\u044c \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b \u0434\u0432\u0430 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430:<\/span><\/p>\n<ul>\n<li><span style=\"font-weight: 400;\">\u043f\u0435\u0440\u0432\u044b\u0439 &#8212; \u0435\u0441\u043b\u0438 \u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<span style=\"color: #0000ff;\"><b>validator<\/b><\/span>\u00a0\u043d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 &#171;<strong><span style=\"color: #0000ff;\">sin<\/span><\/strong>&#171;,&#187;<strong><span style=\"color: #0000ff;\">cos<\/span><\/strong>&#171;,&#187;<strong><span style=\"color: #0000ff;\">tan<\/span><\/strong>&#171;, \u0442\u043e <strong><span style=\"color: #0000ff;\">error<\/span><\/strong> \u0440\u0430\u0432\u043d\u043e\u00a0<span style=\"color: #0000ff;\"><b>nil<\/b><\/span>,<\/span><\/li>\n<li><span style=\"font-weight: 400;\">\u0432\u0442\u043e\u0440\u043e\u0439 &#8212; \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u00a0<span style=\"color: #0000ff;\"><b>validator<\/b><\/span>\u00a0\u043d\u0435\u00a0<span style=\"color: #0000ff;\"><b>nil<\/b><\/span>, \u043d\u043e \u043e\u043d\u0430 \u0434\u0435\u043a\u043b\u0430\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0442\u0430\u043a, \u0447\u0442\u043e \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u00a0<strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>\u00a0\u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u043e\u0448\u0438\u0431\u043a\u0438. \u042d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">\u0417\u0434\u0435\u0441\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u0430\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0434\u0432\u0430 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0448\u0435\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;<strong><span style=\"color: #0000ff;\">sin<\/span><\/strong>&#187; \u0438\u043b\u0438 &#171;<strong><span style=\"color: #0000ff;\">cos<\/span><\/strong>&#187; \u043d\u0435\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0442\u043e<strong><span style=\"color: #0000ff;\">\u00a0error = nil<\/span><\/strong>\u00a0\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u043d\u043e. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u0430\u043a \u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 &#171;<strong><span style=\"color: #0000ff;\">\u221a<\/span><\/strong>&#171;, \u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u043d\u0435 \u0434\u0430\u0435\u0442 &#171;\u041e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435&#187;, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u0437 \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u0442\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f\u00a0<strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>\u00a0\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0434\u0432\u043e\u044f\u043a\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<span style=\"color: #0000ff;\"><b>validator<\/b><\/span> \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u044b\u043c \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043e\u0448\u0438\u0431\u043e\u043a.<br \/>\n\u0411\u0438\u043d\u0430\u0440\u043d\u0430\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043f\u043e\u043c\u043d\u0438\u0442\u044c \u0432 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0435\u00a0<strong><span style=\"color: #0000ff;\">PendingBinaryOperationInfo<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7295 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM.png\" alt=\"\" width=\"1066\" height=\"478\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM.png 1066w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM-300x135.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM-768x344.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM-1024x459.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-6.59.13-AM-500x224.png 500w\" sizes=\"auto, (max-width: 1066px) 100vw, 1066px\" \/><\/a><\/p>\n<p>. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0. \u00a0.<\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7296 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM.png\" alt=\"\" width=\"1142\" height=\"408\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM.png 1142w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM-300x107.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM-768x274.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM-1024x366.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.01.41-AM-500x179.png 500w\" sizes=\"auto, (max-width: 1142px) 100vw, 1142px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0430 \u0437\u0430\u0442\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0440\u0438 \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0438 \u043d\u0430 \u043f\u0440\u0435\u0434\u043c\u0435\u0442 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u043e\u0448\u0438\u0431\u043a\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7297 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM.png\" alt=\"\" width=\"1248\" height=\"332\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM.png 1248w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM-300x80.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM-768x204.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM-1024x272.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.05.12-AM-500x133.png 500w\" sizes=\"auto, (max-width: 1248px) 100vw, 1248px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0418 \u043e\u043f\u044f\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u201c\u0446\u0435\u043f\u043e\u0447\u0435\u043a\u201d\u00a0<strong><span style=\"color: #0000ff;\">Optionals<\/span><\/strong>\u00a0\u0438 \u043f\u0438\u0448\u0435\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<strong><span style=\"color: #0000ff;\">validator<\/span><\/strong>\u00a0c \u0432\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u043c\u00a0<strong><span style=\"color: #0000ff;\">?<\/span><\/strong>\u00a0\u0437\u043d\u0430\u043a\u043e\u043c\u00a0\u0438 \u043e\u043f\u044f\u0442\u044c \u0437\u0434\u0435\u0441\u044c \u0443\u0434\u0430\u0447\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0434\u0432\u0430 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u044b\u0448\u0435 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u0430. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0448\u0435\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, &#171;<span style=\"color: #0000ff;\"><b>+<\/b><\/span>&#187; \u0438\u043b\u0438 &#171;<span style=\"color: #0000ff;\"><b>&#8212;<\/b><\/span>&#187; \u043d\u0435\u0442 \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0435\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0442\u043e<strong><span style=\"color: #0000ff;\">\u00a0error = nil<\/span><\/strong>\u00a0\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0434\u0430\u043d\u043e. \u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0435\u0441\u0442\u044c \u0442\u0435\u0441\u0442\u0438\u0440\u0443\u044e\u0449\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f, \u043a\u0430\u043a \u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u044f &#171;<strong><span style=\"color: #0000ff;\">\u00f7<\/span><\/strong>&#171;,\u0430\u00a0\u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u044b \u043d\u0435 \u0434\u0430\u044e\u0442 &#171;\u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0443\u043b\u044c&#187;, \u0442\u043e \u0435\u0441\u0442\u044c \u0432\u0442\u043e\u0440\u043e\u0439 \u0438\u0437 \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0445 \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u043e\u0432, \u0442\u043e \u0442\u0430\u043a\u0436\u0435 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f\u00a0<strong><span style=\"color: #0000ff;\">nil<\/span><\/strong>\u00a0\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442. \u0418\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u0434\u0432\u043e\u044f\u043a\u043e\u0435 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0435\u043d\u043d\u043e\u0439 \u043d\u0430\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u0438\u00a0<span style=\"color: #0000ff;\"><b>validator<\/b><\/span> \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043d\u0430\u043c \u0432\u0435\u0441\u0442\u0438 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043e\u0448\u0438\u0431\u043e\u043a \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u043e\u0439.<br \/>\n\u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043d\u0443\u044e \u0438\u043b\u0438 \u043d\u0435 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d\u043d\u0443\u044e \u043e\u0448\u0438\u0431\u043a\u0443 \u0432\u00a0<strong><span style=\"color: #0000ff;\">ViewController<\/span><\/strong>, \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u043c \u043a\u043e\u0440\u0442\u0435\u0436, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u043c\u0435\u0442\u043e\u0434\u043e\u043c <strong><span style=\"color: #0000ff;\">evaluate<\/span><\/strong> \u0438 \u0434\u043e\u0431\u0430\u0432\u0438\u043c\u00a0\u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 <strong><span style=\"color: #0000ff;\">error<\/span><\/strong> \u0442\u0438\u043f\u0430\u00a0<strong><span style=\"color: #0000ff;\">String?<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7298 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM.png\" alt=\"\" width=\"1086\" height=\"654\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM.png 1086w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM-300x181.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM-768x462.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM-1024x617.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.10.57-AM-498x300.png 498w\" sizes=\"auto, (max-width: 1086px) 100vw, 1086px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u00a0<strong><span style=\"color: #0000ff;\">ViewController<\/span><\/strong>\u00a0\u0434\u043e\u0431\u0430\u0432\u0438\u043c \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043a\u043e\u0440\u0442\u0435\u0436 <strong><span style=\"color: #0000ff;\">displayResult<\/span><\/strong>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u0443\u0434\u0435\u0442 &#171;\u0432\u0441\u0442\u0440\u0435\u0447\u0430\u0442\u044c&#187; \u043a\u043e\u0440\u0442\u0435\u0436, \u0432\u0435\u0440\u043d\u0443\u0432\u0448\u0438\u0439\u0441\u044f \u0438\u0437 \u043c\u0435\u0442\u043e\u0434\u0430 <strong><span style=\"color: #0000ff;\">evaluate \u0432<\/span><\/strong>\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>, \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u043a\u043e\u0440\u0442\u0435\u0436\u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0430\u00a0<strong><span style=\"color: #0000ff;\">switch<\/span><\/strong>\u00a0c \u043f\u0430\u0442\u0442\u0435\u0440\u043d\u0430\u043c\u0438 \u00a0\u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u044f \u043e\u0431\u0440\u0430\u0437\u0446\u0443 (<strong>pattern matching<\/strong>) \u0438 \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u043b\u044f\u0442\u044c \u0432\u0441\u044e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u0443\u044e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0443\u00a0<strong>UI<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7299 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM.png\" alt=\"\" width=\"1230\" height=\"434\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM.png 1230w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM-300x106.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM-768x271.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM-1024x361.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.21.20-AM-500x176.png 500w\" sizes=\"auto, (max-width: 1230px) 100vw, 1230px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0415\u0441\u043b\u0438 <strong>C<\/strong>ontrollers \u043d\u0435 \u0445\u043e\u0442\u044f\u0442 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0438 <span style=\"color: #0000ff;\"><b>error<\/b><\/span>,\u0430 \u0445\u043e\u0442\u044f\u0442 \u0438\u043c\u0435\u0442\u044c \u0434\u0435\u043b\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0441 <b>NaN<\/b> \u00a0\u0438\u043b\u0438 <b>+\u221e<\/b>, \u043f\u043e\u044f\u0432\u043b\u044f\u044e\u0449\u0438\u043c\u0438\u0441\u044f \u043d\u0430 \u0432\u0430\u0448\u0435\u043c <b>UI<\/b>, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0431\u0440\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 <strong><span style=\"color: #0000ff;\">case<\/span><\/strong> \u0432 <strong><span style=\"color: #0000ff;\">switch<\/span><\/strong> \u043e\u043f\u0435\u0440\u0430\u0442\u043e\u0440\u0435 \u0434\u043b\u044f <strong><span style=\"color: #0000ff;\">displayResult<\/span><\/strong>. \u0438 \u043d\u0435 \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u043d\u0430 <strong><span style=\"color: #0000ff;\">display<\/span><\/strong> \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 <strong><span style=\"color: #0000ff;\">error<\/span><\/strong> \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043d\u0430\u043f\u043e\u043c\u043d\u0438\u043c, \u0447\u0442\u043e \u0434\u043b\u044f \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0445 \u043a\u043d\u043e\u043f\u043e\u043a, \u0433\u0434\u0435 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044f \u043d\u0430 \u0434\u0438\u0441\u043f\u043b\u0435\u0435 <strong><span style=\"color: #0000ff;\">display<\/span><\/strong>, \u043c\u044b\u00a0\u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u00a0<strong><span style=\"color: #0000ff;\">displayResult<\/span><\/strong><span style=\"color: #000000;\"> \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430\u00a0<strong><span style=\"color: #0000ff;\">evaluate \u0432<\/span><\/strong>\u00a0<strong><span style=\"color: #0000ff;\">CalculatorBrain<\/span><\/strong>:<\/span><br \/>\n<em><span style=\"text-decoration: underline;\">\u043a\u043d\u043e\u043f\u043a\u0430 \u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043c\u0438<\/span><\/em><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7300 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM.png\" alt=\"\" width=\"1048\" height=\"322\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM.png 1048w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM-300x92.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM-768x236.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM-1024x315.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-7.29.33-AM-500x154.png 500w\" sizes=\"auto, (max-width: 1048px) 100vw, 1048px\" \/><\/a><\/p>\n<p><em><span style=\"text-decoration: underline;\">\u043a\u043d\u043e\u043f\u043a\u0430 backspace<\/span><\/em><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7301 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM.png\" alt=\"\" width=\"1062\" height=\"372\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM.png 1062w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM-300x105.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM-768x269.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM-1024x359.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.17.38-AM-500x175.png 500w\" sizes=\"auto, (max-width: 1062px) 100vw, 1062px\" \/><\/a><\/p>\n<p><em><span style=\"text-decoration: underline;\">\u043a\u043d\u043e\u043f\u043a\u0430 C<\/span><\/em><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7304 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM.png\" alt=\"\" width=\"1062\" height=\"152\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM.png 1062w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM-300x43.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM-768x110.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM-1024x147.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.23.05-AM-500x72.png 500w\" sizes=\"auto, (max-width: 1062px) 100vw, 1062px\" \/><\/a><\/p>\n<p><em><span style=\"text-decoration: underline;\">\u043a\u043d\u043e\u043f\u043a\u0430 \u2192M<\/span><\/em><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7302 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM.png\" alt=\"\" width=\"1086\" height=\"196\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM.png 1086w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM-300x54.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM-768x139.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM-1024x185.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.19.21-AM-500x90.png 500w\" sizes=\"auto, (max-width: 1086px) 100vw, 1086px\" \/><\/a><\/p>\n<p><em><span style=\"text-decoration: underline;\">\u043a\u043d\u043e\u043f\u043a\u0430 M<\/span><\/em><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7303 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM.png\" alt=\"\" width=\"1094\" height=\"128\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM.png 1094w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM-300x35.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM-768x90.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM-1024x120.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-8.21.21-AM-500x59.png 500w\" sizes=\"auto, (max-width: 1094px) 100vw, 1094px\" \/><\/a><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 2 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0414\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0438\u043a\u043e\u043d\u043a\u0438 \u0432 \u0432\u0430\u0448 \u0444\u0430\u0439\u043b <strong>Assets.xcassets<\/strong> (\u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0432\u044b \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u043b\u0438 \u0432 \u043f\u0430\u043f\u043a\u0443 <strong>Supporting Files<\/strong> \u043d\u0430 \u041b\u0435\u043a\u0446\u0438\u0438 1). \u0415\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u0430\u044f \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u044c \u0432 \u044d\u0442\u043e\u043c \u043f\u0443\u043d\u043a\u0442\u0435 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0432 \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u0438 \u0432\u0435\u0440\u0441\u0438\u0438 \u0432\u0430\u0448\u0435\u0439 \u0438\u043a\u043e\u043d\u043a\u0438 \u0434\u043b\u044f \u0432\u0441\u0435\u0445 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043e\u0432.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0418\u043a\u043e\u043d\u043a\u0438 \u0437\u0430\u0434\u0430\u044e\u0442\u0441\u044f \u0432 \u0444\u0430\u0439\u043b\u0435\u00a0<strong>Assets.xcassets<\/strong>, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0435\u0441\u0442\u044c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 &#171;\u043a\u0430\u0440\u043c\u0430\u0448\u043a\u0438&#187; \u0434\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 (\u0431\u0443\u0434\u0435\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438\u043a\u043e\u043d\u043a\u0438 \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f iPhones \u00a0\u0438 iPads iOS 7 \u0438 \u043f\u043e\u0437\u0436\u0435):<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7330 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM.png\" alt=\"\" width=\"2792\" height=\"1470\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM.png 2792w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM-300x158.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM-768x404.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM-1024x539.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.21.55-PM-500x263.png 500w\" sizes=\"auto, (max-width: 2792px) 100vw, 2792px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0438\u043a\u043e\u043d\u043e\u043a \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e <strong>Mac<\/strong> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u00a0<strong> AppIcon<\/strong>, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0438\u043c\u0435\u0435\u0442 \u044d\u043a\u0440\u0430\u043d \u0434\u043b\u044f \u043f\u0440\u0438\u0435\u043c\u0430 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438 \u043a\u043d\u043e\u043f\u043a\u0443 &#171;Export&#187;:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7331 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM.png\" alt=\"\" width=\"1260\" height=\"1416\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM.png 1260w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM-267x300.png 267w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM-768x863.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.27.21-PM-911x1024.png 911w\" sizes=\"auto, (max-width: 1260px) 100vw, 1260px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u043d\u0430\u0436\u0430\u0442\u0438\u0438 \u043a\u043d\u043e\u043f\u043a\u0438\u00a0&#171;Export&#187; \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u0441\u0435 \u0438\u043a\u043e\u043d\u043a\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0433\u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0437\u0430\u0442\u0435\u043c \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0432 \u043d\u0443\u0436\u043d\u044b\u0435 &#171;\u043a\u0430\u0440\u043c\u0430\u0448\u043a\u0438&#187;.<\/span><\/p>\n<h2>\u041f\u0443\u043d\u043a\u0442 3 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439<\/h2>\n<blockquote><p><span style=\"font-weight: 400;\">\u0421\u043e\u0437\u0434\u0430\u0439\u0442\u0435 \u044d\u043a\u0440\u0430\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0434\u043b\u044f \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u0432 <strong> LaunchScreen.storyboard<\/strong>. \u0421\u043a\u043e\u0440\u0435\u0435 \u0432\u0441\u0435\u0433\u043e, \u0432\u044b \u0437\u0430\u0445\u043e\u0442\u0438\u0442\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u043e\u0435 \u0432\u0437\u0430\u0438\u043c\u043d\u043e\u0435 \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u044d\u043a\u0440\u0430\u043d\u0430, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u044d\u043a\u0440\u0430\u043d \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e \u043d\u0430 \u0432\u0441\u0435\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0430\u0445.<\/span><\/p><\/blockquote>\n<p><span style=\"font-weight: 400;\">\u0423\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c <strong>Launch<\/strong> \u0444\u0430\u0439\u043b \u0432 \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0435 &gt; <strong>General<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7332 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM.png\" alt=\"\" width=\"1882\" height=\"890\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM.png 1882w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM-300x142.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM-768x363.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM-1024x484.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.35.15-PM-500x236.png 500w\" sizes=\"auto, (max-width: 1882px) 100vw, 1882px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c <strong>LaunchScreen.storyboard<\/strong>\u00a0\u0432 \u041d\u0430\u0432\u0438\u0433\u0430\u0442\u043e\u0440\u0435 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043e\u043f\u0446\u0438\u044e \u00a0&#171;<strong>Use as Launch Screen<\/strong>&#187; \u0432 \u0418\u043d\u0441\u043f\u0435\u043a\u0442\u043e\u0440\u0435 \u0424\u0430\u0439\u043b\u0430:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7333 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM.png\" alt=\"\" width=\"2792\" height=\"1256\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM.png 2792w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM-300x135.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM-768x345.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM-1024x461.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.38.51-PM-500x225.png 500w\" sizes=\"auto, (max-width: 2792px) 100vw, 2792px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0435\u0440\u0435\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0438\u0437 \u041f\u0430\u043b\u0438\u0442\u0440\u044b \u041e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0432 \u041e\u0431\u043b\u0430\u0441\u0442\u0438 <strong>ImageView<\/strong> \u0438 &#171;\u0431\u0440\u043e\u0441\u0430\u0435\u043c&#187; \u0432\u043d\u0443\u0442\u0440\u044c \u044d\u043a\u0440\u0430\u043d\u043d\u043e\u0433\u043e \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442\u0430<strong>\u00a0Views Controller<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7334 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM.png\" alt=\"\" width=\"2228\" height=\"1232\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM.png 2228w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM-300x166.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM-768x425.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM-1024x566.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.45.45-PM-500x276.png 500w\" sizes=\"auto, (max-width: 2228px) 100vw, 2228px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0412\u044b\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0435\u043c \u043f\u043e \u0433\u043e\u043b\u0443\u0431\u044b\u043c \u043b\u0438\u043d\u0438\u044f\u043c \u0432 \u0432\u0435\u0440\u0445\u043d\u0435\u043c \u043b\u0435\u0432\u043e\u043c \u0443\u0433\u043b\u0443 \u0438 \u0440\u0430\u0441\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u043d\u0430 \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d \u0442\u0430\u043a\u0436\u0435 \u043f\u043e \u0433\u043e\u043b\u0443\u0431\u044b\u043c \u043b\u0438\u043d\u0438\u044f\u043c:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7335 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM.png\" alt=\"\" width=\"1024\" height=\"872\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM-300x255.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM-768x654.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-4.52.47-PM-352x300.png 352w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0443 \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u0439 (<strong>constrains<\/strong>) \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c\u0430 <strong> Autolayout<\/strong> \u043f\u043e \u0433\u043e\u043b\u0443\u0431\u044b\u043c \u043b\u0438\u043d\u0438\u044f\u043c &#171;<strong>Reset to Suggested Constrains&#187;\u00a0<\/strong>\u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043d\u043e\u043f\u043a\u0438 \u0432 \u043d\u0438\u0436\u043d\u0435\u043c \u043f\u0440\u0430\u0432\u043e\u043c \u0443\u0433\u043b\u0443 \u0438 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u00a0\u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f (<strong>constrains<\/strong>) \u0432 \u0418\u043d\u0441\u043f\u0435\u043a\u0442\u043e\u0440\u0435 \u0420\u0430\u0437\u043c\u0435\u0440\u0430:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7336 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM.png\" alt=\"\" width=\"2352\" height=\"1432\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM.png 2352w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM-300x183.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM-768x468.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM-1024x623.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.02.39-PM-493x300.png 493w\" sizes=\"auto, (max-width: 2352px) 100vw, 2352px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u043b\u0438 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d, \u043a\u0430\u043a\u043e\u0433\u043e \u0431\u044b \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u043e\u043d\u043e \u043d\u0438 \u0431\u044b\u043b\u043e. \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u0438\u0432\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u0441 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435\u043c \u0432 \u043d\u0430\u0448 \u043f\u0440\u043e\u0435\u043a\u0442. \u041e\u043f\u044f\u0442\u044c \u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0430 storyboard, \u00a0\u0432\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0443 \u0418\u043d\u0441\u043f\u0435\u043a\u0442\u043e\u0440 \u0410\u0442\u0440\u0438\u0431\u0443\u0442\u043e\u0432 \u0438 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u044d\u0442\u043e \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u043f\u0446\u0438\u044e &#171;<strong>Aspect Fit<\/strong>&#171;:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7338 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM.png\" alt=\"\" width=\"1940\" height=\"1216\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM.png 1940w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM-300x188.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM-768x481.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM-1024x642.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-31-at-5.16.09-PM-479x300.png 479w\" sizes=\"auto, (max-width: 1940px) 100vw, 1940px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0430 \u0432\u0441\u0435\u0445 \u043f\u0440\u0438\u0431\u043e\u0440\u0430\u0445 \u0438 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043e\u0440\u0438\u0435\u043d\u0442\u0430\u0446\u0438\u044f\u0445.<\/span><\/p>\n<h2>\u0414\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435. \u0423\u0447\u0435\u0442 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u043f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 <strong><span style=\"color: #0000ff;\">description<\/span><\/strong> \u0434\u043b\u044f \u00a0\u043f\u043e\u0442\u043e\u043a\u0430 \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439<\/h2>\n<p><span style=\"font-weight: 400;\">\u0415\u0449\u0435 \u0432 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 1 \u043c\u044b \u043d\u0430\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u043f\u043e\u0442\u043e\u043a \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0431\u0435\u0437 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 &#171;<strong><span style=\"color: #0000ff;\">=<\/span><\/strong>&#171;. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043b\u0438 \u043c\u0435\u0442\u043e\u0434\u00a0<strong><span style=\"color: #0000ff;\">performPendingBinaryOperation<\/span><\/strong>() \u0432 \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0443 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7308 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM.png\" alt=\"\" width=\"1154\" height=\"354\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM.png 1154w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM-300x92.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM-768x236.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM-1024x314.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.01.01-PM-500x153.png 500w\" sizes=\"auto, (max-width: 1154px) 100vw, 1154px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u042d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e, \u0435\u0441\u043b\u0438 \u044d\u0442\u043e \u043f\u043e\u0442\u043e\u043a \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0441 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u044b\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, <strong>6 + 7 + 11 + 4<\/strong> \u0438\u043b\u0438<strong> 6\u00a0\u00d7 7\u00a0\u00d7 11\u00a0\u00d7 4<\/strong>. \u041c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 <strong><span style=\"color: #0000ff;\">description<\/span><\/strong> &#171;<strong>6 + 7 + 11 + 4 =<\/strong>&#187; \u0438\u043b\u0438 &#171;<strong>6\u00a0\u00d7 7\u00a0\u00d7 11\u00a0\u00d7 4 =<\/strong>&#171;.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7309 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM.png\" alt=\"\" width=\"1502\" height=\"1152\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM.png 1502w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM-300x230.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM-768x589.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM-1024x785.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.11.45-PM-391x300.png 391w\" sizes=\"auto, (max-width: 1502px) 100vw, 1502px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7310 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM.png\" alt=\"\" width=\"1494\" height=\"1150\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM.png 1494w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM-300x231.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM-768x591.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM-1024x788.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.15.18-PM-390x300.png 390w\" sizes=\"auto, (max-width: 1494px) 100vw, 1494px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0434\u043e\u043b\u0436\u043d\u043e \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u043a\u043e\u0431\u043a\u0438 \u0441\u043e\u0433\u043b\u0430\u0441\u043d\u043e \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0443 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7311 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM.png\" alt=\"\" width=\"1700\" height=\"1378\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM.png 1700w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM-300x243.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM-768x623.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM-1024x830.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.23.27-PM-370x300.png 370w\" sizes=\"auto, (max-width: 1700px) 100vw, 1700px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u043d\u0430\u0434\u0435\u043b\u0438\u0442\u044c \u0431\u0438\u043d\u0430\u0440\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0435\u0449\u0435 \u043e\u0434\u043d\u0438\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e\u043c &#8212; \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c <strong><span style=\"color: #0000ff;\">preference<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7312 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM.png\" alt=\"\" width=\"1242\" height=\"252\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM.png 1242w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM-300x61.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM-768x156.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM-1024x208.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.29.38-PM-500x101.png 500w\" sizes=\"auto, (max-width: 1242px) 100vw, 1242px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 \u0443\u043c\u043d\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0434\u0435\u043b\u0435\u043d\u0438\u044f \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c\u00a0<strong><span style=\"color: #0000ff;\">precedence<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\"> &#8212; <strong>1<\/strong><\/span><\/span>, \u0430 \u0434\u043b\u044f \u0441\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u0447\u0438\u0442\u0430\u043d\u0438\u044f &#8212;\u00a0<b>0<\/b>, \u0430 \u0434\u043b\u044f \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0432\u043e\u0437\u0432\u0435\u0434\u0435\u043d\u0438\u044f \u0432 \u0441\u0442\u0435\u043f\u0435\u043d\u044c &#171;<strong><span style=\"color: #0000ff;\">x\u02b8<\/span><\/strong>&#187; &#8212; <strong>2<\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7314 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM.png\" alt=\"\" width=\"1030\" height=\"226\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM.png 1030w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM-300x66.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM-768x169.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM-1024x225.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.38.10-PM-500x110.png 500w\" sizes=\"auto, (max-width: 1030px) 100vw, 1030px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u043b\u044f \u043e\u0441\u0442\u0430\u043b\u044c\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0439 , \u0430 \u0442\u0430\u043a\u0436\u0435 \u0434\u043b\u044f \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<strong><span style=\"color: #0000ff;\">precedence<\/span><\/strong><span style=\"color: #0000ff;\"><span style=\"color: #000000;\">\u00a0\u043f\u0440\u0438\u043d\u0438\u043c\u0430\u0435\u0442 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e:<\/span><\/span><\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7315 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM.png\" alt=\"\" width=\"1020\" height=\"70\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM.png 1020w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM-300x21.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM-768x53.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM-1000x70.png 1000w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.50.33-PM-500x34.png 500w\" sizes=\"auto, (max-width: 1020px) 100vw, 1020px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041c\u044b \u043e\u0442\u0441\u043b\u0435\u0436\u0438\u0432\u0430\u0435\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 <strong><span style=\"color: #0000ff;\">prevPrecedence<\/span><\/strong> \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439\u00a0\u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 (\u0438\u043b\u0438 \u043e\u043f\u0435\u0440\u0430\u043d\u0434\u0430) \u0438 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u00a0<strong><span style=\"color: #0000ff;\">precedence<\/span><\/strong>\u00a0\u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u044b <strong><span style=\"color: #0000ff;\">PendingBinaryOperation<\/span><\/strong>:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7316 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM.png\" alt=\"\" width=\"1146\" height=\"504\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM.png 1146w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM-300x132.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM-768x338.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM-1024x450.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-1.56.21-PM-500x220.png 500w\" sizes=\"auto, (max-width: 1146px) 100vw, 1146px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0418 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c <strong><span style=\"color: #0000ff;\">description<\/span><\/strong> \u00a0\u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0441 \u0443\u0447\u0435\u0442\u043e\u043c \u044d\u0442\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 &#8212; \u0435\u0441\u043b\u0438 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442 \u00a0<strong><span style=\"color: #0000ff;\">prevPrecedence\u00a0<\/span><\/strong>\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043c\u0435\u043d\u044c\u0448\u0435 \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0430 \u00a0<strong><span style=\"color: #0000ff;\">precedence<\/span><\/strong>\u00a0\u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u0442\u043e \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u043c \u043f\u0435\u0440\u0432\u044b\u0439 \u043e\u043f\u0435\u0440\u0430\u043d\u0434 \u0432 \u043a\u0440\u0443\u0433\u043b\u044b\u0435 \u0441\u043a\u043e\u0431\u043a\u0438:<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7317 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM.png\" alt=\"\" width=\"1050\" height=\"722\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM.png 1050w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM-300x206.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM-768x528.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM-1024x704.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.03.54-PM-436x300.png 436w\" sizes=\"auto, (max-width: 1050px) 100vw, 1050px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u043e\u0442\u043b\u043e\u0436\u0435\u043d\u043d\u043e\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u043e\u043c \u043f\u0440\u0438\u043e\u0440\u0438\u0442\u0435\u0442\u0435 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u0431\u0438\u043d\u0430\u0440\u043d\u043e\u0439 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 :<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7318 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM.png\" alt=\"\" width=\"1274\" height=\"412\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM.png 1274w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM-300x97.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM-768x248.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM-1024x331.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.08.38-PM-500x162.png 500w\" sizes=\"auto, (max-width: 1274px) 100vw, 1274px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u0414\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u043c \u0440\u0430\u0431\u043e\u0442\u0443 \u043d\u0430\u0448\u0435\u0433\u043e \u043a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430 \u043d\u0430 \u043f\u0440\u0438\u043c\u0435\u0440\u0435 \u00a0\u0444\u0443\u043d\u043a\u0446\u0438\u044e\u00a0<strong>(sin(M)+M)<span style=\"color: #0000ff;\">\u00f7<\/span>M<\/strong>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u00a0\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u043e\u0439\u00a0<strong>M<\/strong>. \u041f\u043e\u043b\u0443\u0447\u0438\u043c, \u043c\u0435\u0436\u0434\u0443 \u043f\u0440\u043e\u0447\u0438\u043c, \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 \u043e\u0431 \u043e\u0448\u0438\u0431\u043a\u0435 \u00a0&#171;<strong>\u0414\u0435\u043b\u0435\u043d\u0438\u0435 \u043d\u0430 \u043d\u0443\u043b\u044c<\/strong>&#171;, \u0442\u0430\u043a \u043a\u0430\u043a \u0435\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<strong>M<\/strong>\u00a0\u043d\u0435 \u043f\u0440\u0438\u0441\u0432\u043e\u0435\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435, \u0442\u043e \u043e\u043d\u043e \u0440\u0430\u0432\u043d\u043e<strong>\u00a00<\/strong>. E\u0441\u043b\u0438 \u043c\u044b \u0437\u0430\u0442\u0435\u043c \u043f\u043e\u0448\u043b\u0435\u043c \u0432 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e<strong>\u00a0M<\/strong>\u00a0\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435\u00a0<b>\u03c0\/2<\/b>, \u0430 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u232b \u0432\u0435\u0440\u043d\u0435\u043c\u0441\u044f \u043d\u0430\u0437\u0430\u0434 \u043a \u043d\u0430\u0448\u0435\u0439 \u00a0\u0444\u043e\u0440\u043c\u0443\u043b\u0435, \u0442\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f\u00a0<b>(sin(M)+M)<span style=\"color: #0000ff;\">\u00f7<\/span>M\u00a0<\/b>\u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0432\u043d\u043e <strong>1.63662<\/strong>.<\/span><\/p>\n<p><a href=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-7320 size-full\" src=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM.png\" alt=\"\" width=\"2578\" height=\"1374\" srcset=\"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM.png 2578w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM-300x160.png 300w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM-768x409.png 768w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM-1024x546.png 1024w, https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-2.16.03-PM-500x266.png 500w\" sizes=\"auto, (max-width: 2578px) 100vw, 2578px\" \/><\/a><\/p>\n<p><span style=\"font-weight: 400;\">\u041a\u043e\u0434 \u0434\u043b\u044f \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 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u00a0<a href=\"https:\/\/github.com\/BestKora\/Calculator-II-cs193p-2017-\"><strong>Github<\/strong><\/a>.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u041e\u0411\u0421\u0423\u0416\u0414\u0415\u041d\u0418\u0415 \u041c\u0410\u0422\u0415\u0420\u0418\u0410\u041b\u041e\u0412 \u043a\u0443\u0440\u0441\u0430 \u00ab\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 Swift\u00bb \u043f\u0440\u043e\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430\u00a0private \u043d\u043e\u0432\u043e\u043c \u0444\u043e\u0440\u0443\u043c\u0435 \u043d\u0430\u00a0<strong><a href=\"https:\/\/piazza.com\/\">Piazza<\/a>.<\/strong>\u00a0\u0414\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u0441\u0432\u043e\u0438\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0438 \u0437\u0430\u0434\u0430\u0432\u0430\u0442\u044c \u0432\u043e\u043f\u0440\u043e\u0441\u044b \u043c\u043e\u0436\u043d\u043e \u0442\u0430\u043c.<br \/>\n\u0414\u043b\u044f \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0430\u0446\u0438\u0438 \u0432\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0439\u0442\u0438 \u043f\u043e \u0441\u0441\u044b\u043b\u043a\u0435:<\/span><br \/>\n<strong><a class=\"\" href=\"http:\/\/piazza.com\/moscow_physical_engineering_institute_bestkora.com\/spring2017\/mf141\">http:\/\/piazza.com\/moscow_physical_engineering_institute_bestkora.com\/spring2017\/mf141<\/a><\/strong><br \/>\n<span style=\"font-weight: 400;\">\u0438 \u043d\u0430\u0431\u0440\u0430\u0442\u044c private \u00a0\u043a\u043e\u0434 mf141.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0422\u0435\u043a\u0441\u0442 \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0433\u043e \u0437\u0430\u0434\u0430\u043d\u0438\u044f \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\u00a0\u00a0iTunes \u0432 \u043f\u0443\u043d\u043a\u0442\u0435 \u201cProgramming: Project 2: Calculator Brain\u2033.\u00a0\u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u00a0\u0442\u0435\u043a\u0441\u0442 \u0417\u0430\u0434\u0430\u043d\u0438\u044f 2 \u0437\u0434\u0435\u0441\u044c:\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2\u00a0\u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e\u00a0Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 &hellip; <a href=\"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,39,14,4],"tags":[37,31,38,30,41],"class_list":["post-7242","post","type-post","status-publish","format-standard","hentry","category-ios-10","category-stanford-cs-193p-ios-10","category-swift","category-domashnee-zadanie","tag-ios-10","tag-swift","tag-swift-3","tag-domashnee-zadanie","tag-zadanie-ios-10"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.\" \/>\n\t<meta name=\"robots\" content=\"max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n\t<meta name=\"author\" content=\"tatiana.kornilova@gmail.com\"\/>\n\t<meta name=\"keywords\" content=\"ios 10,swift 3,stanford cs193p ios 10,xcode 8,\u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0435 \u043b\u0435\u043a\u0446\u0438\u0438 cs193p winter 2017,\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434 ios,ios programming,\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 ios 10 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439,stanford,optional,enum,struct,closure\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ru_RU\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &quot;\u0423\u043c\u043d\u044b\u0439&quot; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2017-03-28T13:41:33+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-06-02T04:10:25+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &quot;\u0423\u043c\u043d\u044b\u0439&quot; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.\" \/>\n\t\t<meta name=\"twitter:description\" content=\"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#article\",\"name\":\"\\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 2 cs193p Winter 2017 \\\"\\u0423\\u043c\\u043d\\u044b\\u0439\\\" \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440. \\u0420\\u0435\\u0448\\u0435\\u043d\\u0438\\u0435. \\u041e\\u0431\\u044f\\u0437\\u0430\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043f\\u0443\\u043d\\u043a\\u0442\\u044b. | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"headline\":\"\\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 2 cs193p Winter 2017 &#171;\\u0423\\u043c\\u043d\\u044b\\u0439&#187; \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440. \\u0420\\u0435\\u0448\\u0435\\u043d\\u0438\\u0435. \\u041e\\u0431\\u044f\\u0437\\u0430\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043f\\u0443\\u043d\\u043a\\u0442\\u044b.\",\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/Screen-Shot-2017-03-30-at-3.01.25-PM.png\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#articleImage\",\"width\":1664,\"height\":1366},\"datePublished\":\"2017-03-28T13:41:33+00:00\",\"dateModified\":\"2017-06-02T04:10:25+00:00\",\"inLanguage\":\"ru-RU\",\"commentCount\":21,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#webpage\"},\"articleSection\":\"iOS 10, Stanford CS 193P iOS 10, Swift, \\u0414\\u043e\\u043c\\u0430\\u0448\\u043d\\u0435\\u0435 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435, iOS 10, Swift, Swift 3, \\u0414\\u043e\\u043c\\u0430\\u0448\\u043d\\u0435\\u0435 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435, \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 iOS 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/domashnee-zadanie\\\/#listItem\",\"name\":\"\\u0414\\u043e\\u043c\\u0430\\u0448\\u043d\\u0435\\u0435 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/domashnee-zadanie\\\/#listItem\",\"position\":2,\"name\":\"\\u0414\\u043e\\u043c\\u0430\\u0448\\u043d\\u0435\\u0435 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435\",\"item\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/domashnee-zadanie\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#listItem\",\"name\":\"\\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 2 cs193p Winter 2017 &#171;\\u0423\\u043c\\u043d\\u044b\\u0439&#187; \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440. \\u0420\\u0435\\u0448\\u0435\\u043d\\u0438\\u0435. \\u041e\\u0431\\u044f\\u0437\\u0430\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043f\\u0443\\u043d\\u043a\\u0442\\u044b.\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#listItem\",\"position\":3,\"name\":\"\\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 2 cs193p Winter 2017 &#171;\\u0423\\u043c\\u043d\\u044b\\u0439&#187; \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440. \\u0420\\u0435\\u0448\\u0435\\u043d\\u0438\\u0435. \\u041e\\u0431\\u044f\\u0437\\u0430\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043f\\u0443\\u043d\\u043a\\u0442\\u044b.\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/category\\\/domashnee-zadanie\\\/#listItem\",\"name\":\"\\u0414\\u043e\\u043c\\u0430\\u0448\\u043d\\u0435\\u0435 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/\",\"name\":\"tatiana.kornilova@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"tatiana.kornilova@gmail.com\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#webpage\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/\",\"name\":\"\\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0435 2 cs193p Winter 2017 \\\"\\u0423\\u043c\\u043d\\u044b\\u0439\\\" \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440. \\u0420\\u0435\\u0448\\u0435\\u043d\\u0438\\u0435. \\u041e\\u0431\\u044f\\u0437\\u0430\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0438\\u0442\\u0435\\u043b\\u044c\\u043d\\u044b\\u0435 \\u043f\\u0443\\u043d\\u043a\\u0442\\u044b. | \\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u0412 \\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u0438 2 \\u0432\\u044b \\u0443\\u0441\\u043e\\u0432\\u0435\\u0440\\u0448\\u0435\\u043d\\u0441\\u0442\\u0432\\u0443\\u0435\\u0442\\u0435 \\u0432\\u043e\\u0437\\u043c\\u043e\\u0436\\u043d\\u043e\\u0441\\u0442\\u0438 \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440\\u0430, \\u043f\\u043e\\u0437\\u0432\\u043e\\u043b\\u044f\\u044f \\u0435\\u043c\\u0443 \\u0432\\u0432\\u043e\\u0434\\u0438\\u0442\\u044c \\u201c\\u043f\\u0435\\u0440\\u0435\\u043c\\u0435\\u043d\\u043d\\u044b\\u0435\\u201d \\u0438 \\u043f\\u043e\\u0434\\u0434\\u0435\\u0440\\u0436\\u0438\\u0432\\u0430\\u0442\\u044c \\u043e\\u043f\\u0435\\u0440\\u0430\\u0446\\u0438\\u044e Undo. \\u0412\\u044b \\u0442\\u0430\\u043a\\u0436\\u0435 \\u043f\\u043e\\u0434\\u0433\\u043e\\u0442\\u043e\\u0432\\u0438\\u0442\\u0435 \\u041a\\u0430\\u043b\\u044c\\u043a\\u0443\\u043b\\u044f\\u0442\\u043e\\u0440 \\u043a \\u0417\\u0430\\u0434\\u0430\\u043d\\u0438\\u044e 3 \\u0441\\u043b\\u0435\\u0434\\u0443\\u044e\\u0449\\u0435\\u0439 \\u043d\\u0435\\u0434\\u0435\\u043b\\u0438.\",\"inLanguage\":\"ru-RU\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/author\\\/tatiana-lornilovagmail-com\\\/#author\"},\"datePublished\":\"2017-03-28T13:41:33+00:00\",\"dateModified\":\"2017-06-02T04:10:25+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#website\",\"url\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/\",\"name\":\"\\u041e\\u0431\\u0443\\u0447\\u0430\\u044e\\u0449\\u0438\\u0439 \\u043a\\u0443\\u0440\\u0441 \\u043f\\u043e \\u0440\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0435 iOS+Swift \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439.\",\"description\":\"\\u0420\\u0443\\u0441\\u0441\\u043a\\u0438\\u0439 \\u043d\\u0435\\u0430\\u0432\\u0442\\u043e\\u0440\\u0438\\u0437\\u043e\\u0432\\u0430\\u043d\\u043d\\u044b\\u0439 \\u043a\\u043e\\u043d\\u0441\\u043f\\u0435\\u043a\\u0442 \\u043b\\u0435\\u043a\\u0446\\u0438\\u0439 \\u0421\\u0442\\u044d\\u043d\\u0444\\u043e\\u0440\\u0434\\u0441\\u043a\\u043e\\u0433\\u043e \\u0443\\u043d\\u0438\\u0432\\u0435\\u0440\\u0441\\u0438\\u0442\\u0435\\u0442\\u0430 \\\" \\u0420\\u0430\\u0437\\u0440\\u0430\\u0431\\u043e\\u0442\\u043a\\u0430 iOS \\u043f\\u0440\\u0438\\u043b\\u043e\\u0436\\u0435\\u043d\\u0438\\u0439\\\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \\u0438 2026 \\u0433\\u0433., \\u0441\\u043e\\u043f\\u0440\\u043e\\u0432\\u043e\\u0436\\u0434\\u0430\\u0435\\u043c\\u044b\\u0439 \\u0440\\u0435\\u0448\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438 \\u0437\\u0430\\u0434\\u0430\\u043d\\u0438\\u0439 \\u0438 \\u0434\\u043e\\u043f\\u043e\\u043b\\u043d\\u0435\\u043d\\u0438\\u044f\\u043c\\u0438, \\u0441\\u0432\\u044f\\u0437\\u0430\\u043d\\u043d\\u044b\\u043c\\u0438 \\u0441 \\u0430\\u0434\\u0430\\u043f\\u0442\\u0430\\u0446\\u0438\\u0435\\u0439 \\u043a\\u0443\\u0440\\u0441\\u043e\\u0432 \\u043a \\u043d\\u043e\\u0432\\u044b\\u043c \\u0432\\u0435\\u0440\\u0441\\u0438\\u044f\\u043c Swift, Objective-C \\u0438 iOS.\",\"inLanguage\":\"ru-RU\",\"publisher\":{\"@id\":\"https:\\\/\\\/bestkora.com\\\/IosDeveloper\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 \"\u0423\u043c\u043d\u044b\u0439\" \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.","canonical_url":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/","robots":"max-snippet:-1, max-image-preview:large, max-video-preview:-1","keywords":"ios 10,swift 3,stanford cs193p ios 10,xcode 8,\u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0435 \u043b\u0435\u043a\u0446\u0438\u0438 cs193p winter 2017,\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434 ios,ios programming,\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 ios 10 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439,stanford,optional,enum,struct,closure","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#article","name":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 \"\u0423\u043c\u043d\u044b\u0439\" \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","headline":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &#171;\u0423\u043c\u043d\u044b\u0439&#187; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b.","author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"},"image":{"@type":"ImageObject","url":"https:\/\/bestkora.com\/IosDeveloper\/wp-content\/uploads\/2017\/03\/Screen-Shot-2017-03-30-at-3.01.25-PM.png","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#articleImage","width":1664,"height":1366},"datePublished":"2017-03-28T13:41:33+00:00","dateModified":"2017-06-02T04:10:25+00:00","inLanguage":"ru-RU","commentCount":21,"mainEntityOfPage":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#webpage"},"isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#webpage"},"articleSection":"iOS 10, Stanford CS 193P iOS 10, Swift, \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435, iOS 10, Swift, Swift 3, \u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435, \u0437\u0430\u0434\u0430\u043d\u0438\u0435 iOS 10"},{"@type":"BreadcrumbList","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","position":1,"name":"Home","item":"https:\/\/bestkora.com\/IosDeveloper","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/#listItem","name":"\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/#listItem","position":2,"name":"\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435","item":"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/","nextItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#listItem","name":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &#171;\u0423\u043c\u043d\u044b\u0439&#187; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b."},"previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#listItem","position":3,"name":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &#171;\u0423\u043c\u043d\u044b\u0439&#187; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b.","previousItem":{"@type":"ListItem","@id":"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/#listItem","name":"\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435"}}]},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/#person","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"Person","@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author","url":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/","name":"tatiana.kornilova@gmail.com","image":{"@type":"ImageObject","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/33ccc19059014d8a7849c3621afa2b66a5f3e50ac7291c91c30ff35df5747628?s=96&d=mm&r=g","width":96,"height":96,"caption":"tatiana.kornilova@gmail.com"}},{"@type":"WebPage","@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#webpage","url":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/","name":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 \"\u0423\u043c\u043d\u044b\u0439\" \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.","inLanguage":"ru-RU","isPartOf":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#website"},"breadcrumb":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/#breadcrumblist"},"author":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"creator":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/author\/tatiana-lornilovagmail-com\/#author"},"datePublished":"2017-03-28T13:41:33+00:00","dateModified":"2017-06-02T04:10:25+00:00"},{"@type":"WebSite","@id":"https:\/\/bestkora.com\/IosDeveloper\/#website","url":"https:\/\/bestkora.com\/IosDeveloper\/","name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","description":"\u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \" \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439\" 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","inLanguage":"ru-RU","publisher":{"@id":"https:\/\/bestkora.com\/IosDeveloper\/#person"}}]},"og:locale":"ru_RU","og:site_name":"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439. | \u0420\u0443\u0441\u0441\u043a\u0438\u0439 \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u043d\u0441\u043f\u0435\u043a\u0442 \u043b\u0435\u043a\u0446\u0438\u0439 \u0421\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 &quot; \u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439&quot; 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021 , 2023,  2024,  2025  \u0438 2026 \u0433\u0433., \u0441\u043e\u043f\u0440\u043e\u0432\u043e\u0436\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 \u0437\u0430\u0434\u0430\u043d\u0438\u0439 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f\u043c\u0438, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u043c\u0438 \u0441 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0438\u0435\u0439 \u043a\u0443\u0440\u0441\u043e\u0432 \u043a \u043d\u043e\u0432\u044b\u043c \u0432\u0435\u0440\u0441\u0438\u044f\u043c Swift, Objective-C \u0438 iOS.","og:type":"article","og:title":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &quot;\u0423\u043c\u043d\u044b\u0439&quot; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","og:description":"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.","og:url":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/","article:published_time":"2017-03-28T13:41:33+00:00","article:modified_time":"2017-06-02T04:10:25+00:00","twitter:card":"summary","twitter:title":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &quot;\u0423\u043c\u043d\u044b\u0439&quot; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | \u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u043a\u0443\u0440\u0441 \u043f\u043e \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 iOS+Swift \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439.","twitter:description":"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438."},"aioseo_meta_data":{"post_id":"7242","title":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &quot;\u0423\u043c\u043d\u044b\u0439&quot; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b. | #site_title","description":"\u0412 \u0417\u0430\u0434\u0430\u043d\u0438\u0438 2 \u0432\u044b \u0443\u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u0441\u0442\u0432\u0443\u0435\u0442\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440\u0430, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044f \u0435\u043c\u0443 \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u201c\u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435\u201d \u0438 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044e Undo. \u0412\u044b \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435 \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440 \u043a \u0417\u0430\u0434\u0430\u043d\u0438\u044e 3 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438.","keywords":[{"label":"iOS 10","value":"iOS 10"},{"label":"Swift 3","value":"Swift 3"},{"label":"Stanford CS193P iOS 10","value":"Stanford CS193P iOS 10"},{"label":"Xcode 8","value":"Xcode 8"},{"label":"\u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0435 \u043b\u0435\u043a\u0446\u0438\u0438 CS193P Winter 2017","value":"\u0441\u0442\u044d\u043d\u0444\u043e\u0440\u0434\u0441\u043a\u0438\u0435 \u043b\u0435\u043a\u0446\u0438\u0438 CS193P Winter 2017"},{"label":"\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434 iOS","value":"\u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u043f\u043e\u0434 iOS"},{"label":"iOS programming","value":"iOS programming"},{"label":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS 10 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439","value":"\u0420\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 iOS 10 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439"},{"label":"stanford","value":"stanford"},{"label":"Optional","value":"Optional"},{"label":"enum","value":"enum"},{"label":"struct","value":"struct"},{"label":"closure","value":"closure"}],"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-21 06:37:46","updated":"2026-02-22 19:58:45","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/\" title=\"\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435\">\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 \u00ab\u0423\u043c\u043d\u044b\u0439\u00bb \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b.\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/bestkora.com\/IosDeveloper"},{"label":"\u0414\u043e\u043c\u0430\u0448\u043d\u0435\u0435 \u0437\u0430\u0434\u0430\u043d\u0438\u0435","link":"https:\/\/bestkora.com\/IosDeveloper\/category\/domashnee-zadanie\/"},{"label":"\u0417\u0430\u0434\u0430\u043d\u0438\u0435 2 cs193p Winter 2017 &#171;\u0423\u043c\u043d\u044b\u0439&#187; \u041a\u0430\u043b\u044c\u043a\u0443\u043b\u044f\u0442\u043e\u0440. \u0420\u0435\u0448\u0435\u043d\u0438\u0435. \u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0438 \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0443\u043d\u043a\u0442\u044b.","link":"https:\/\/bestkora.com\/IosDeveloper\/zadanie-2-cs193p-winter-2017-umnyj-kalkulyator-reshenie-obyazatelnye-i-dopolnitelnye-punkty\/"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7242","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=7242"}],"version-history":[{"count":25,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7242\/revisions"}],"predecessor-version":[{"id":7244,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/posts\/7242\/revisions\/7244"}],"wp:attachment":[{"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/media?parent=7242"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/categories?post=7242"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bestkora.com\/IosDeveloper\/wp-json\/wp\/v2\/tags?post=7242"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}