{"id":302,"date":"2010-11-18T22:58:25","date_gmt":"2010-11-18T19:58:25","guid":{"rendered":"http:\/\/hxml.me\/blog\/?p=302"},"modified":"2012-11-19T19:06:48","modified_gmt":"2012-11-19T16:06:48","slug":"istoriya-pro-konya","status":"publish","type":"post","link":"https:\/\/hxml.me\/blog\/products\/istoriya-pro-konya\/","title":{"rendered":"+(AppStore *) \u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043f\u0440\u043e \u043a\u043e\u043d\u044f"},"content":{"rendered":"<p><!--:en--><img loading=\"lazy\" decoding=\"async\" class=\" alignleft\" src=\"http:\/\/hxml.me\/img\/post\/knight_story.png\" alt=\"\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043e \u043a\u043e\u043d\u0435\" width=\"256\" height=\"209\" \/><\/p>\n<p>\u0414\u0430\u0432\u043d\u0435\u043d\u044c\u043a\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b \u0431\u043b\u043e\u0433, \u043d\u0443\u0436\u043d\u043e \u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043e\u043f\u044f\u0442\u044c \u0441\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043c\u043e\u0440\u0435, \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u044b \u0432\u0441\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u044e\u0442. \u042d\u0442\u043e \u0436 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u0434\u0435\u0442\u044c \u0438 \u043f\u0438\u0441\u0430\u0442\u044c. \u041b\u0430\u0434\u043d\u043e, \u0443\u043f\u0443\u0441\u0442\u0438\u043c \u0443\u0436\u0435 \u043b\u0438\u0440\u0438\u043a\u0443. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043f\u043e\u0447\u0442\u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0435 \u0442\u0440\u0435\u0442\u044c\u0435 <strong>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f iPhone<\/strong>, \u043e \u043d\u0435\u043c \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u0430\u0445, \u0430 \u043f\u043e\u043a\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u0447\u0438\u0440\u043a\u043d\u0443\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043e \u0441\u0432\u043e\u0438\u0445 \u043f\u0435\u0440\u0432\u044b\u0445 \u0434\u0432\u0443\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u0438 \u0432\u043e\u0442 \u0434\u043b\u044f \u0447\u0435\u0433\u043e. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u0439 \u0441\u0430\u0439\u0442 \u0435\u0449\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432 \u0442\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0435\u0433\u043e \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b. \u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0432\u0443\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432. \u041e\u0434\u0438\u043d \u0438\u0437 \u043d\u0438\u0445 &#8212; Products. \u041f\u043e-\u0440\u0443\u0441\u0441\u043a\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b, \u043a\u0430\u043a \u043d\u0430\u0437\u0432\u0430\u0442\u044c, \u043d\u043e \u0441\u0443\u0442\u044c, \u0434\u0443\u043c\u0430\u044e \u044f\u0441\u043d\u0430. \u0411\u0443\u0434\u0443 \u0442\u0443\u0434\u0430 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u0432\u043e\u0435\u0433\u043e \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0430 (\u0432\u043e\u0442, \u043a\u0441\u0442\u0430\u0442\u0438, \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 &#8212; <strong>\u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e<\/strong>). \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u0434\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0438 \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u044d\u0442\u0438\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u0443\u0436\u0435 \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c.<!--:--><!--:ru--><img loading=\"lazy\" decoding=\"async\" class=\" alignleft\" src=\"http:\/\/hxml.me\/img\/post\/knight_story.png\" alt=\"\u0418\u0441\u0442\u043e\u0440\u0438\u044f \u043e \u043a\u043e\u043d\u0435\" width=\"256\" height=\"209\" \/><\/p>\n<p>\u0414\u0430\u0432\u043d\u0435\u043d\u044c\u043a\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b \u0431\u043b\u043e\u0433, \u043d\u0443\u0436\u043d\u043e \u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043e\u043f\u044f\u0442\u044c \u0441\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043c\u043e\u0440\u0435, \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u044b \u0432\u0441\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u044e\u0442. \u042d\u0442\u043e \u0436 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u0434\u0435\u0442\u044c \u0438 \u043f\u0438\u0441\u0430\u0442\u044c. \u041b\u0430\u0434\u043d\u043e, \u0443\u043f\u0443\u0441\u0442\u0438\u043c \u0443\u0436\u0435 \u043b\u0438\u0440\u0438\u043a\u0443. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043f\u043e\u0447\u0442\u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0435 \u0442\u0440\u0435\u0442\u044c\u0435 <strong>\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f iPhone<\/strong>, \u043e \u043d\u0435\u043c \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u0430\u0445, \u0430 \u043f\u043e\u043a\u0430 \u044f \u0440\u0435\u0448\u0438\u043b \u0447\u0438\u0440\u043a\u043d\u0443\u0442\u044c \u043f\u0430\u0440\u0443 \u0441\u0442\u0440\u043e\u043a \u043e \u0441\u0432\u043e\u0438\u0445 \u043f\u0435\u0440\u0432\u044b\u0445 \u0434\u0432\u0443\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u0445, \u0438 \u0432\u043e\u0442 \u0434\u043b\u044f \u0447\u0435\u0433\u043e. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043c\u043e\u0439 \u0441\u0430\u0439\u0442 \u0435\u0449\u0435 \u043f\u043e\u043a\u0430 \u043d\u0435 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d \u0432 \u0442\u043e\u0439 \u0441\u0442\u0435\u043f\u0435\u043d\u0438, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u044f \u0435\u0433\u043e \u0437\u0430\u0434\u0443\u043c\u044b\u0432\u0430\u043b. \u041d\u0435 \u0445\u0432\u0430\u0442\u0430\u0435\u0442 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u0434\u0432\u0443\u0445 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432. \u041e\u0434\u0438\u043d \u0438\u0437 \u043d\u0438\u0445 &#8212; Products. \u041f\u043e-\u0440\u0443\u0441\u0441\u043a\u0438 \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0434\u0443\u043c\u0430\u043b, \u043a\u0430\u043a \u043d\u0430\u0437\u0432\u0430\u0442\u044c, \u043d\u043e \u0441\u0443\u0442\u044c, \u0434\u0443\u043c\u0430\u044e \u044f\u0441\u043d\u0430. \u0411\u0443\u0434\u0443 \u0442\u0443\u0434\u0430 \u0432\u044b\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u0442\u044c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u0432\u043e\u0435\u0433\u043e \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u0430 (\u0432\u043e\u0442, \u043a\u0441\u0442\u0430\u0442\u0438, \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 &#8212; <strong>\u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e<\/strong>). \u0421\u0435\u0439\u0447\u0430\u0441 \u044f \u043a\u0430\u043a \u0440\u0430\u0437 \u0434\u043e\u0434\u0435\u043b\u044b\u0432\u0430\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c, \u0438 \u0432 \u0441\u0432\u044f\u0437\u0438 \u0441 \u044d\u0442\u0438\u043c \u043d\u0443\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u0447\u0442\u043e-\u0442\u043e \u0443\u0436\u0435 \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c.<!--:--><!--more--><!--:en--> \u041f\u043e\u043a\u0430 \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0434\u0432\u0430 <strong>iPhone-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/strong>, \u043d\u0443 \u0438 \u0440\u0430\u043d\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (Windows, Mac OS X). \u042f \u0434\u043e\u043b\u0433\u043e \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u044f\u043b \u043d\u0430 \u0442\u0435\u043c\u0443, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0438\u0437\u0443\u0447\u0430\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433, \u0438 \u0440\u0435\u0448\u0438\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b Products, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441 \u043a\u0440\u0430\u0442\u043a\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c, \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435, \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 <strong>iTunes<\/strong> &#8212; \u044d\u0442\u043e \u044f \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 &#8212; \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430. \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 &#8212; URL \u043f\u043e\u0441\u0442\u0430 \u0432 \u0431\u043b\u043e\u0433\u0435. \u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u043f\u043e\u0441\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u044f \u0443\u0437\u043d\u0430\u043b \u0432 \u0445\u043e\u0434\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430, \u043a\u0430\u043a\u0438\u0435 \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0438 \u043e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438 \u0442.\u0434. \u041f\u043b\u044e\u0441 &#8212; \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u043a\u0438\u0439 feedback \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043a\u0430\u043a-\u0442\u043e \u043b\u0435\u043d\u0438\u0432\u043e. \u0414\u0430\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043c \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u044e \u043d\u043e\u0432\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e Products.<br \/>\n\u0418 \u0442\u0430\u043a, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043e \u043c\u043e\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 &#8212; Knight Move. \u0412\u043e\u0442 \u043a\u0430\u043a \u043e\u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<br \/>\n[nggallery id=6]<\/p>\n<p>\u0438 \u0432\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e <a href=\"http:\/\/itunes.apple.com\/us\/app\/knight-move\/id392075748\" target=\"_blank\">\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 AppStore<\/a><br \/>\n\u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u043a <strong>\u0425\u043e\u0434 \u043a\u043e\u043d\u0435\u043c<\/strong>. \u042d\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0433\u043e\u043b\u043e\u0432\u043e\u043b\u043e\u043c\u043a\u0430, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u043a\u0443 \u041a\u043e\u043d\u044c \u042d\u0439\u043b\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435, \u0434\u0435\u043b\u0430\u044f \u0445\u043e\u0434\u044b \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u043c \u043a\u043e\u043d\u0435\u043c. \u042d\u0442\u0443 \u0440\u0430\u0437\u0432\u043b\u0435\u043a\u0430\u043b\u043e\u0432\u043a\u0443 \u044f \u0437\u043d\u0430\u044e \u0441 \u0434\u0435\u0442\u0441\u0442\u0432\u0430. \u0422\u043e\u0433\u0434\u0430 \u043c\u044b \u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0438 \u0432 \u0442\u0435\u0442\u0440\u0430\u0434\u043a\u0430\u0445 \u0432 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0443 \u043f\u043e\u043b\u044f, \u043f\u0440\u0438\u0447\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e 10\u044510 (\u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u043f\u043e\u043b\u044f\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439, \u044f \u0443\u0437\u043d\u0430\u043b \u0443\u0436\u0435 \u043f\u043e\u0437\u0436\u0435). \u042d\u0442\u043e \u043c\u0435\u043d\u044f \u0438 \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0430 \u043c\u044b\u0441\u043b\u044c \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0438\u0433\u0440\u0443 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0435\u0442\u0440\u0430\u0434\u0438 \u0441 \u0440\u0443\u043a\u043e\u043f\u0438\u0441\u043d\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438. \u041c\u043d\u0435 \u044d\u0442\u0430 \u0438\u0434\u0435\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439, \u043d\u043e \u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0437\u0436\u0435 &#8212; \u044f \u043d\u0435 \u043e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439 \u0443\u043c\u043d\u044b\u0439 \u0432 <strong>AppStore<\/strong>, \u0438 \u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0435)) \u0412\u043e\u043e\u0431\u0449\u0435, \u043a\u043e\u0433\u0434\u0430 \u044f \u0438\u0437\u0443\u0447\u0430\u044e \u043d\u043e\u0432\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043c\u0438\u043d\u043a\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0433\u0440\u0443 \u0421\u0430\u043f\u0435\u0440 &#8212; \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0435\u043c\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 GUI (\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0434\u0440.). \u041e\u0434\u043d\u0430\u043a\u043e, \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043f\u0435\u0440\u0430 \u043f\u043e\u0434 \u0430\u0439\u0444\u043e\u043d \u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u0441\u043c\u043e\u0433 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c (\u0445\u043e\u0442\u044f \u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u0442\u043e-\u0442\u043e \u0442\u0430\u043a\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0433\u043e \u043f\u043e\u0434 \u0430\u0439\u0444\u043e\u043d). \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043d\u044f. \u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0448\u0438\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c &#8212; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044f, \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0440\u0435\u043a\u043e\u0440\u0434\u043e\u0432 \u0438 \u0440\u0435\u0436\u0438\u043c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f (\u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438). \u041e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0430\u043b\u0441\u044f, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u0443\u043c\u043d\u0435\u0435 \u0432\u044b\u0431\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430 \u043f\u043e\u043b\u044f\u0445 \u043d\u0435 \u0432\u0441\u0435\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u043e\u0431\u0445\u043e\u0434. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u043e\u043b\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u044c\u0449\u0435 4, \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u043b\u0438 \u043e\u0434\u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u0440\u0430\u0432\u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0435\u043c, \u0442\u043e \u0432\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 \u0441\u0435\u043c\u0438, \u0438 \u0442.\u0434. (\u043f\u043e\u043b\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u0433\u0440\u044b). \u0418 \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0435 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b\u043e\u0441\u044c \u0443 \u043c\u0435\u043d\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u0435 \u0432 \u043f\u043b\u0430\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0412 \u0438\u0442\u043e\u0433\u0435, \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043d\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d \u0432 \u0434\u0432\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0438 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0432 \u043b\u0435\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 (width) \u0432 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a height \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e width.<br \/>\n\u0412 \u0441\u0432\u043e\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043c\u043d\u0435 \u0434\u043e\u0432\u0435\u043b\u043e\u0441\u044c \u0443\u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e-\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0435 <strong>iOS \u043f\u0440\u0438\u043e\u043b\u0436\u0435\u043d\u0438\u0435<\/strong>. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043a\u0430\u0440\u043a\u0430\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u043a\u0430\u043a \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043c\u043e\u0438\u0445 <a href=\"http:\/\/hxml.me\/blog\/coding\/zapuskaem-iphone-prilozhenie-na-telefone\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u0441\u0442\u043e\u0432<\/a><br \/>\n\u0415\u0441\u0442\u044c <strong>\u043a\u043b\u0430\u0441\u0441-\u0434\u0435\u043b\u0435\u0433\u0430\u0442<\/strong> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b (ViewController), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e <strong>\u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/strong> (\u043d\u0430\u043f\u0440. applictionDidFinishLaunching). <strong>ViewController<\/strong> &#8212; \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f (View) \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 Responders \u043e\u043d \u0441\u0442\u043e\u0438\u0442 \u043f\u0435\u0440\u0435\u0434 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043e\u043d \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c-\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (View) &#8212; \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041f\u043e \u0438\u0434\u0435\u0435, \u0432 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043a\u043e\u0434 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432 \u044d\u0442\u043e\u043c \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <strong>\u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f MVC<\/strong>. \u0412\u0441\u0435 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 iOS \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0430\u043c\u0438 UIView. <strong>UIView<\/strong> \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u0431\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u0445 UIView. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 UIView \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <strong>addSubview<\/strong>, \u0443\u0431\u0440\u0430\u0442\u044c &#8212; removeFromSuperview. \u041f\u0440\u0438\u0447\u0435\u043c, \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 UIView, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0432\u044b\u0437\u0432\u0430\u0435\u043c addSubview \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u044d\u0442\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434\u0443 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e UIView, \u0442\u043e, \u0443 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>removeFromSuperview<\/strong>, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u043d \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u0442 UIView, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u043b\u0438 addSubview. \u042d\u0442\u0430 \u0441\u0445\u0435\u043c\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0430 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c 99% \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<br \/>\n\u0418 \u0442\u0430\u043a, \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 5 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 (\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441 \u0438\u0433\u0440\u043e\u0439, \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441 \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043c\u0435\u043d\u044e, \u0421\u043f\u0440\u0430\u0432\u043a\u0430, \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0440\u0435\u043a\u043e\u0440\u0434\u043e\u0432), \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043c\u0435\u0435\u043c 5 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 5 \u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u043f\u0443\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u044b: \u043a\u043b\u0430\u0441\u0441, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0449\u0438\u0439 \u043b\u043e\u0433\u0438\u043a\u0443 \u0438\u0433\u0440\u044b, \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438, \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0437\u0432\u0443\u043a\u0430\u043c\u0438. \u0423 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u043a\u043d\u043e &#8212; \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>UIWindow<\/strong>. \u041e\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 nib-\u0444\u0430\u0439\u043b\u0430. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u044f \u0438 \u0443\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u044b UIView, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0441\u043e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 UIWindow, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 Mac OS X.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441 \u0441 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u0438\u0433\u0440\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043e\u043d \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0447\u0435\u0440\u043d\u044b\u0439 \u044f\u0449\u0438\u043a \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0438\u043c\u0435\u0435\u0442, \u043e\u0431\u0440\u0430\u0437\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430: initGame (\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0433\u0440\u0443 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u044f\u043c\u0438), \u0438 processHit(x, y), \u0433\u0434\u0435 x, y \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043d\u0430\u0436\u0430\u0442\u0438\u044f &#8212; \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043f\u043e\u043b\u044f \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0442\u0432\u0435\u0442, \u043b\u0438\u0431\u043e \u0445\u043e\u0434 \u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u043b\u0438\u0431\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u043b\u0438\u0431\u043e \u0438\u0433\u0440\u0430 \u043e\u043a\u043e\u043d\u0447\u0435\u043d\u0430 (\u0445\u043e\u0434\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u043a\u0443\u0434\u0430).<br \/>\n\u041a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0437\u0432\u0443\u043a\u043e\u043c \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u0434\u0430\u0436\u0435 \u0432\u044b\u043b\u043e\u0436\u0443 \u0435\u0433\u043e \u0441\u044e\u0434\u0430, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f. \u041d\u0430\u0448\u0435\u043b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u0440\u0438\u0445\u0442\u043e\u0432\u0430\u043b. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0443\u0434\u043e\u0431\u043d\u0443\u044e \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043d\u0430\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043e \u0437\u0432\u0443\u043a\u043e\u043c. \u041f\u0440\u0438\u043c\u0435\u0440: \u0435\u0441\u0442\u044c \u0443 \u043d\u0430\u0441 \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u0439 \u0444\u0430\u0439\u043b youwin.wav, \u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<pre lang=\"c_mac\">\/\/initializing\r\n#import &lt;AudioToolbox\/AudioToolbox.h&gt;;\r\n#import \"SoundEffect.h\"\r\n  ...\r\n  youwinSound = createSysSnd(@\"youwin\");\r\n\r\n\/\/using\r\n-(void) playYouwinsound {\r\n   [youwinSound play];\r\n}<\/pre>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a &#8212; \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u0435\u0433\u043e \u043d\u0435\u0442.<br \/>\n\u041e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c, \u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u0441\u0442\u0430\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u0432 iOS \u0434\u043b\u044f<strong> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u0447\u0442\u043e \u0438 \u0432 Mac OS X &#8212; \u043a\u043b\u0430\u0441\u0441 <strong>NSUserDefaults<\/strong>.<br \/>\n\u0412 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043b\u0430\u0441\u0441\u043e\u0432-\u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u043e\u0432 UIView \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 iOS-\u043f\u0440\u0438\u0435\u043c\u043e\u0432. \u041d\u0443, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 <strong>\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435<\/strong>. \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u0441\u0435 \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 UIImage \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435. \u0412\u043e\u0442, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432 \u043a\u043e\u043d\u0435 \u0431\u044b\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430, \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u041f\u0440\u0438\u0447\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d, \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c &#171;\u0440\u0443\u043a\u043e\u043f\u0438\u0441\u043d\u044b\u0435&#187; \u0447\u0438\u0441\u043b\u0430. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u0433\u0440\u044b \u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u043b \u0432 \u0442\u0435\u0442\u0440\u0430\u0434\u043a\u0435 \u0432 \u043a\u043b\u0435\u0442\u043a\u0443, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0430\u043d\u0435\u0440. \u0422\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0431\u044b\u043b\u0438 \u043e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0438 \u0446\u0438\u0444\u0440\u044b. \u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0446\u0438\u0444\u0440\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 0123456789 \u0432 png-\u0444\u0430\u0439\u043b\u0435. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u044f \u0440\u0430\u0437\u0431\u0438\u043b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043d\u0430 10 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0438 \u0437\u0430\u043f\u0438\u0445\u0430\u043b \u0438\u0445 \u0432 NSMutableArray. \u041a\u0441\u0442\u0430\u0442\u0438, \u0442\u043e\u0436\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u043a\u0430 (<strong>\u0440\u0430\u0437\u0431\u0438\u0442\u044c<\/strong> \u0441\u0435\u0442 \u0438\u043b\u0438 <strong>\u043a\u0430\u0434\u0440\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0432 \u0441\u0435\u0440\u0438\u044e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 UIImage<\/strong>). \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre lang=\"c_mac\">- (NSMutableArray*) getDigitsArray {\r\n  UIImage * dgt = [UIImage imageNamed:@\"digits.png\"];\r\n  int d_wdth[] = {0, 9, 16, 25, 34, 43, 52, 62, 70, 79, 89, 98, 106,\r\n    9 + 106, 16 + 106, 25 + 106, 34 + 106, 43 + 106, 52 + 106, 62 + 106, 70 + 106, 79 + 106, 89 + 106, 98 + 106, 106 + 106};\r\n\r\n  NSMutableArray* array  = [NSMutableArray arrayWithCapacity:((sizeof(d_wdth) \/ sizeof(int)) - 1)];\r\n  array  = [NSMutableArray arrayWithCapacity:((sizeof(d_wdth) \/ sizeof(int)) - 1)];\r\n  for (int x = 0; x &lt; (sizeof(d_wdth) \/ sizeof(int)) - 1; x++) {\r\n    CGRect rect = CGRectMake(d_wdth[x], 0, d_wdth[x + 1] - d_wdth[x], dgt.size.height);\r\n    CGImageRef tileImageRef = CGImageCreateWithImageInRect(dgt.CGImage, rect);\r\n    [array addObject:[UIImage imageWithCGImage:tileImageRef]];\r\n    CGImageRelease(tileImageRef);\r\n  }\r\n  return array;\r\n}<\/pre>\n<p>\u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0448\u0440\u0438\u0444\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043d\u0435 \u043c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439, \u043e\u0442\u0441\u044e\u0434\u0430 \u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 d_wdth. \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0436\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0448\u0438\u0440\u0438\u043d\u0430 \u0438 \u0432\u044b\u0441\u043e\u0442\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430 \u0438 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442\u0441\u044f.<br \/>\n\u0418 \u0442\u0430\u043a, \u0438\u043c\u0435\u0435\u043c NSMutableArray \u0441 \u0430\u0440\u0430\u0431\u0441\u043a\u0438\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438. \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440:<\/p>\n<pre lang=\"c_mac\">-(void) drawCounter :(int) stepIndex{\r\n  UIGraphicsBeginImageContext(counter.frame.size);\r\n  UIImage * d[9];\r\n\r\n  int numWidth = 0;\r\n  for (int i = 0; i &lt; [moveLogic dgtCnt:stepIndex]; i++) {\r\n    d[i] = [digits objectAtIndex: [moveLogic dgtAtIdx:stepIndex :i]];\r\n    numWidth += d[i].size.width;\r\n  }\r\n\r\n  CGPoint scrPoint = CGPointMake(0, 15);\r\n  d[[moveLogic dgtCnt:stepIndex]] = [digits objectAtIndex: 10];\r\n  numWidth += d[[moveLogic dgtCnt:stepIndex]].size.width;\r\n  for (int i = 0; i &lt; moveLogic.totalStepDigitsCount; i++) {\r\n    d[i + 1 + [moveLogic dgtCnt:stepIndex]] = [digits objectAtIndex: [moveLogic totalStepDigitAtIndex:i]];\r\n    numWidth += d[i + 1 + [moveLogic dgtCnt:stepIndex]].size.width;\r\n  }\r\n\r\n  for (int i = 0; i &lt; [moveLogic dgtCnt:stepIndex] + 1 + moveLogic.totalStepDigitsCount; i++) {\r\n    float offset = 0;\r\n    for (int j = 0; j &lt; i; j++) offset += d[j].size.width;\r\n    [d[i] drawAtPoint:CGPointMake(offset + (counter.frame.size.width - numWidth),\r\n    scrPoint.y + (CELL_SIZE - d[i].size.height) \/ 2 )];\r\n  }\r\n  counter.image = UIGraphicsGetImageFromCurrentImageContext();\r\n  UIGraphicsEndImageContext();\r\n}<\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c counter &#8212; \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>UIImageView<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u043e View \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041d\u0430 \u043d\u0435\u043c \u0438 \u0440\u0438\u0441\u0443\u0435\u043c \u0441\u0447\u0435\u0442\u0447\u0438\u043a. \u0424\u0443\u043d\u043a\u0446\u0438\u044f UIGraphicsBeginImageContext \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u0430\u043b\u0435\u0435, \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0435\u0442\u043e\u0434 drawAtPoint \u043a\u043b\u0430\u0441\u0441\u0430 UIImage \u043e\u0442\u0440\u0438\u0441\u0443\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u0445 x, y \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0445 \u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u041d\u0443, \u0434\u0443\u043c\u0430\u044e, \u0442\u0443\u0442 \u0432\u0441\u0435 \u044f\u0441\u043d\u043e. counter.image = UIGraphicsGetImageFromCurrentImageContext(); \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 UIImage, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 image \u043e\u0431\u044a\u0435\u043a\u0442\u0430 counter, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u0435\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430. \u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043e\u0431<strong> \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0430\u043c\u044f\u0442\u044c\u044e<\/strong>. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0432 <strong>iOS<\/strong> &lt; 4 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u043a\u0430\u043a <strong>\u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430<\/strong>. \u0417\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0443 \u043d\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434 retain, \u044d\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u041c\u0435\u0442\u043e\u0434 release \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u041a\u043e\u0433\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u043d\u0443\u043b\u044f, \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0442\u0438\u043f\u0430 UIGraphicsBeginImageContext \u0432\u0441\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443. \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 counter.image \u043d\u043e\u0432\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c? \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0435 \u0438 \u043d\u0430\u043c \u0437\u0430 \u044d\u0442\u0438\u043c \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e.<br \/>\n\u0427\u0442\u043e \u0435\u0449\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u044f \u0443\u0437\u043d\u0430\u043b, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u043a\u043e\u043d\u044f. \u0423\u044f\u0441\u043d\u0438\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0442\u0430\u043a\u0438\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u044f, \u043a\u0430\u043a <strong>transitions<\/strong> \u0438 <strong>animation<\/strong>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 <strong>iPhone<\/strong> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u044f\u043a\u0438\u0435 <strong>\u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u044b<\/strong> &#8212; \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u044b, \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c\u043d\u0435\u043d\u0438\u044f \u0438 \u0442.\u0434. \u0412\u043e\u0442, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0438\u043d\u0438\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0445\u043e\u0434\u0430 \u0432\u043e\u043a\u0440\u0443\u0433 \u043a\u043b\u0435\u0442\u043a\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0441\u044f \u0432 \u043d\u043e\u0432\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435, \u0430 \u043f\u043b\u0430\u0432\u043d\u043e \u0442\u0443\u0434\u0430 <strong>\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u043b\u0441\u044f<\/strong>. \u042f \u0443\u0436\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b\u043b\u043e \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0442\u0430\u0439\u043c\u0435\u0440, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442, \u043d\u043e  \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0449\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435. \u0412\u043e\u0442 \u043a\u043e\u0434:<\/p>\n<pre lang=\"c_mac\">-(void) moveCurrent {\r\n  CGPoint scrPoint = [self getScreenCoord: [moveLogic getCurrentStepCoord]];\r\n  if (current.hidden) {\r\n    current.frame= CGRectMake(scrPoint.x - 1, scrPoint.y - 1, 32, 32);\r\n    current.hidden = NO;\r\n  } else {\r\n    [UIView beginAnimations:nil context:NULL];\r\n    [UIView setAnimationDuration:0.2];\r\n    current.transform = CGAffineTransformMakeTranslation(scrPoint.x - current.frame.origin.x, scrPoint.y - current.frame.origin.y);\r\n    current.frame= CGRectMake(scrPoint.x - 1, scrPoint.y - 1, 32, 32);\r\n    [UIView commitAnimations];\r\n  }\r\n  lastStepCoords = scrPoint;\r\n}<\/pre>\n<p>\u0423 \u043a\u043b\u0430\u0441\u0441\u0430 UIView \u0435\u0441\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0434\u043b\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0432\u044b\u0437\u043e\u0432\u0430 <strong>beginAnimations<\/strong>, \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 transform \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u043e\u043c\u043a\u043e\u0432 UIView, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 CGAffineTransformXXX,\u0438 \u0432\u044b\u0437\u043e\u0432\u0430 commitAnimations, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041c\u0435\u0442\u043e\u0434 setAnimationDuration \u0437\u0430\u0434\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e. \u041a\u0441\u0442\u0430\u0442\u0438, <strong>\u0442\u0430\u0439\u043c\u0435\u0440<\/strong> \u0432 <strong>iOS<\/strong> \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441\u043e\u043c <strong>NSTimer<\/strong> \u043a\u0430\u043a \u0438 \u0432 Mac OS X. \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c \u0442\u0430\u043a \u0436\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u043e:<\/p>\n<pre lang=\"c_mac\">moveTimer = [NSTimer scheduledTimerWithTimeInterval: 0.1 target:self selector:@selector(timerEvent:) userInfo:nil repeats: YES];\r\n...\r\n-(void) timerEvent: (NSTimer *) theTimer {\r\n\/\/do stuff\r\n}<\/pre>\n<p>\u0418\u0437 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043e\u0447\u0435\u043d\u044c \u043a\u0441\u0442\u0430\u0442\u0438 \u043f\u043e\u0434\u0432\u0435\u0440\u043d\u0443\u0432\u0448\u0438\u0439\u0441\u044f <strong>\u044d\u0444\u0444\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/strong>, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443:<\/p>\n<pre lang=\"c_mac\">-(void) switchView :(int) from :(int) to {\r\n  currentView = to;\r\n  if (from != to) {\r\n    [UIView beginAnimations:@\"View Curl\" context:nil];\r\n    [UIView setAnimationDuration:1.0];\r\n    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];\r\n    [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:views[from] cache:YES];\r\n    [UIView commitAnimations];\r\n\r\n    [window addSubview:views[from]];\r\n    [views[to] retain];\r\n    [views[to] removeFromSuperview];\r\n  }\r\n}<\/pre>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b \u043c\u0435\u0442\u043e\u0434 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434.<\/p>\n<p>\u041d\u0443 \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u0438 \u0432\u0441\u0435 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f. \u041d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u0435\u0449\u0435 \u0441\u043a\u0430\u0436\u0443 \u043f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0437\u0432\u0443\u043a\u0430\u0445, \u0432\u0435\u0434\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u0430\u0441\u043f\u0435\u043a\u0442 \u0432 game-development&#8217;\u0435. \u0414\u0443\u043c\u0430\u044e, \u0443 \u0432\u0441\u0435\u0445 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0438\u0433\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u0435\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441,<strong> \u0433\u0434\u0435 \u0432\u0437\u044f\u0442\u044c \u043e\u0437\u0432\u0443\u0447\u043a\u0443 \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0438\u0433\u0440<\/strong>? \u041e\u0442\u0432\u0435\u0442 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d &#8212; \u0433\u0443\u0433\u043b)) \u0423 \u043c\u0435\u043d\u044f \u0443\u0448\u043b\u043e \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043f\u043e\u043b\u0434\u043d\u044f \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u0437\u0432\u0443\u043a\u043e\u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u043f\u043e\u0434 200. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0434\u0443\u043c\u0430\u044e, \u0445\u0432\u0430\u0442\u0438\u0442.<\/p>\n<div class=\"download\"><a href=\"\/blog\/wp-content\/uploads\/2010-11-18\/SoundEffect.zip\">\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 SoundEffect<\/a><\/div>\n<p><!--:--><!--:ru--> \u041f\u043e\u043a\u0430 \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0443 \u043c\u0435\u043d\u044f \u0435\u0441\u0442\u044c \u0434\u0432\u0430 <strong>iPhone-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f<\/strong>, \u043d\u0443 \u0438 \u0440\u0430\u043d\u043d\u0438\u0435 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 \u0434\u043b\u044f \u0434\u0440\u0443\u0433\u0438\u0445 \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c (Windows, Mac OS X). \u042f \u0434\u043e\u043b\u0433\u043e \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u044f\u043b \u043d\u0430 \u0442\u0435\u043c\u0443, \u043a\u0430\u043a \u044d\u0442\u043e \u0432\u0441\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u0442\u044c, \u0438\u0437\u0443\u0447\u0430\u043b \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u0441\u0432\u043e\u0438\u0445 \u043a\u043e\u043b\u043b\u0435\u0433, \u0438 \u0440\u0435\u0448\u0438\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435. \u041d\u0430 \u0441\u0430\u0439\u0442\u0435 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0437\u0434\u0435\u043b Products, \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043c\u043e\u0438\u0445 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439, \u0441 \u043a\u0440\u0430\u0442\u043a\u0438\u043c \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435\u043c, \u0441\u0441\u044b\u043b\u043a\u043e\u0439 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u0430\u043c\u043e\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435, \u0441\u0441\u044b\u043b\u043a\u0443 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438 \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u0435\u0441\u0442\u0438 \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u0432 <strong>iTunes<\/strong> &#8212; \u044d\u0442\u043e \u044f \u043f\u043e\u0434\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u0443 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 &#8212; \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u0430\u044f \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0430. \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u043d\u0430 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0435 &#8212; URL \u043f\u043e\u0441\u0442\u0430 \u0432 \u0431\u043b\u043e\u0433\u0435. \u041a\u0430\u0436\u0434\u043e\u043c\u0443 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u0431\u0443\u0434\u0435\u0442 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u043e\u0434\u0438\u043d \u043f\u043e\u0441\u0442, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0431\u0443\u0434\u0443 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0442\u044c, \u0447\u0442\u043e \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u044f \u0443\u0437\u043d\u0430\u043b \u0432 \u0445\u043e\u0434\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430, \u043a\u0430\u043a\u0438\u0435 \u0445\u0438\u0442\u0440\u043e\u0441\u0442\u0438 \u043e\u043d \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0438 \u0442.\u0434. \u041f\u043b\u044e\u0441 &#8212; \u0434\u0430\u043d\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043d\u0435\u043a\u0438\u0439 feedback \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u044b, \u0442\u0430\u043a \u043a\u0430\u043a \u0433\u043e\u0440\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 \u043a\u0430\u043a-\u0442\u043e \u043b\u0435\u043d\u0438\u0432\u043e. \u0414\u0430\u0436\u0435 \u0441\u043e\u0437\u0434\u0430\u043c \u043f\u043e \u0442\u0430\u043a\u043e\u043c\u0443 \u0441\u043b\u0443\u0447\u0430\u044e \u043d\u043e\u0432\u0443\u044e \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e Products.<br \/>\n\u0418 \u0442\u0430\u043a, \u043f\u043e\u0441\u043a\u043e\u043b\u044c\u043a\u0443 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0431\u044b \u0438\u043c\u0435\u0442\u044c \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443 \u043e\u0431\u0441\u0443\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0442 \u043f\u043e\u0441\u0442 \u0431\u0443\u0434\u0435\u0442 \u043e \u043c\u043e\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 &#8212; Knight Move. \u0412\u043e\u0442 \u043a\u0430\u043a \u043e\u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c:<br \/>\n[nggallery id=6]<\/p>\n<p>\u0438 \u0432\u043e\u0442 \u043a\u0430\u043a \u044d\u0442\u043e <a href=\"http:\/\/itunes.apple.com\/us\/app\/knight-move\/id392075748\" target=\"_blank\">\u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432 AppStore<\/a><br \/>\n\u041d\u0430 \u0440\u0443\u0441\u0441\u043a\u0438\u0439 \u044f\u0437\u044b\u043a \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0432\u0435\u0441\u0442\u0438 \u043a\u0430\u043a <strong>\u0425\u043e\u0434 \u043a\u043e\u043d\u0435\u043c<\/strong>. \u042d\u0442\u043e \u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0433\u043e\u043b\u043e\u0432\u043e\u043b\u043e\u043c\u043a\u0430, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u043a\u0443 \u041a\u043e\u043d\u044c \u042d\u0439\u043b\u0435\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043e\u0431\u043e\u0439\u0442\u0438 \u043f\u0440\u044f\u043c\u043e\u0443\u0433\u043e\u043b\u044c\u043d\u043e\u0435 \u043f\u043e\u043b\u0435, \u0434\u0435\u043b\u0430\u044f \u0445\u043e\u0434\u044b \u0448\u0430\u0445\u043c\u0430\u0442\u043d\u044b\u043c \u043a\u043e\u043d\u0435\u043c. \u042d\u0442\u0443 \u0440\u0430\u0437\u0432\u043b\u0435\u043a\u0430\u043b\u043e\u0432\u043a\u0443 \u044f \u0437\u043d\u0430\u044e \u0441 \u0434\u0435\u0442\u0441\u0442\u0432\u0430. \u0422\u043e\u0433\u0434\u0430 \u043c\u044b \u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0438 \u0432 \u0442\u0435\u0442\u0440\u0430\u0434\u043a\u0430\u0445 \u0432 \u043a\u043b\u0435\u0442\u043e\u0447\u043a\u0443 \u043f\u043e\u043b\u044f, \u043f\u0440\u0438\u0447\u0435\u043c \u0442\u043e\u043b\u044c\u043a\u043e 10\u044510 (\u043e \u0442\u043e\u043c, \u0447\u0442\u043e \u0438\u0433\u0440\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u043d\u0430 \u043f\u043e\u043b\u044f\u0445 \u0434\u0440\u0443\u0433\u0438\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439, \u044f \u0443\u0437\u043d\u0430\u043b \u0443\u0436\u0435 \u043f\u043e\u0437\u0436\u0435). \u042d\u0442\u043e \u043c\u0435\u043d\u044f \u0438 \u043d\u0430\u0442\u043e\u043b\u043a\u043d\u0443\u043b\u043e \u043d\u0430 \u043c\u044b\u0441\u043b\u044c \u043e\u0444\u043e\u0440\u043c\u0438\u0442\u044c \u0438\u0433\u0440\u0443 \u0432 \u0432\u0438\u0434\u0435 \u0442\u0435\u0442\u0440\u0430\u0434\u0438 \u0441 \u0440\u0443\u043a\u043e\u043f\u0438\u0441\u043d\u044b\u043c\u0438 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438. \u041c\u043d\u0435 \u044d\u0442\u0430 \u0438\u0434\u0435\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0439, \u043d\u043e \u043a\u0430\u043a \u0432\u044b\u044f\u0441\u043d\u0438\u043b\u043e\u0441\u044c \u043f\u043e\u0437\u0436\u0435 &#8212; \u044f \u043d\u0435 \u043e\u0434\u0438\u043d \u0442\u0430\u043a\u043e\u0439 \u0443\u043c\u043d\u044b\u0439 \u0432 <strong>AppStore<\/strong>, \u0438 \u044f\u0432\u043b\u0435\u043d\u0438\u0435 \u044d\u0442\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u043e\u0435)) \u0412\u043e\u043e\u0431\u0449\u0435, \u043a\u043e\u0433\u0434\u0430 \u044f \u0438\u0437\u0443\u0447\u0430\u044e \u043d\u043e\u0432\u0443\u044e \u043f\u043b\u0430\u0442\u0444\u043e\u0440\u043c\u0443 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u044f \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0438\u0442\u0430\u044e \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0440\u0430\u0437\u043c\u0438\u043d\u043a\u0438 \u043f\u0438\u0441\u0430\u0442\u044c \u0438\u0433\u0440\u0443 \u0421\u0430\u043f\u0435\u0440 &#8212; \u0435\u0433\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0435 \u043f\u0440\u0438\u0435\u043c\u044b \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0438 GUI (\u043e\u0442\u0440\u0438\u0441\u043e\u0432\u043a\u0430, \u043e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0438 \u0434\u0440.). \u041e\u0434\u043d\u0430\u043a\u043e, \u043a\u0430\u043a \u0434\u0435\u043b\u0430\u0442\u044c \u0441\u0430\u043f\u0435\u0440\u0430 \u043f\u043e\u0434 \u0430\u0439\u0444\u043e\u043d \u044f \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u043d\u0435 \u0441\u043c\u043e\u0433 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c (\u0445\u043e\u0442\u044f \u0432\u0438\u0434\u0435\u043b, \u0447\u0442\u043e \u043a\u0442\u043e-\u0442\u043e \u0442\u0430\u043a\u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0435\u0433\u043e \u043f\u043e\u0434 \u0430\u0439\u0444\u043e\u043d). \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0440\u0435\u0448\u0438\u043b \u043f\u0438\u0441\u0430\u0442\u044c \u043a\u043e\u043d\u044f. \u0424\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0440\u0435\u0448\u0438\u043b \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0438\u0442\u044c &#8212; \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u044b\u0431\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u044f, \u0442\u0430\u0431\u043b\u0438\u0446\u0443 \u0440\u0435\u043a\u043e\u0440\u0434\u043e\u0432 \u0438 \u0440\u0435\u0436\u0438\u043c \u043e\u0431\u0443\u0447\u0435\u043d\u0438\u044f (\u043e\u0442\u043b\u0438\u0447\u0430\u0435\u0442\u0441\u044f \u043e\u0442 \u043e\u0431\u044b\u0447\u043d\u043e\u0433\u043e \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0434\u0441\u043a\u0430\u0437\u043a\u0438). \u041e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e \u043c\u0443\u0447\u0430\u043b\u0441\u044f, \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0440\u0430\u0437\u0443\u043c\u043d\u0435\u0435 \u0432\u044b\u0431\u043e\u0440 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0438. \u0414\u0435\u043b\u043e \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u043d\u0430 \u043f\u043e\u043b\u044f\u0445 \u043d\u0435 \u0432\u0441\u0435\u0445 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u0435\u0439 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u043e\u0431\u0445\u043e\u0434. \u0412\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u0440\u0430\u0437\u043c\u0435\u0440 \u043f\u043e\u043b\u044f \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u044c\u0449\u0435 4, \u0432\u043e-\u0432\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u043b\u0438 \u043e\u0434\u043d\u0430 \u0441\u0442\u043e\u0440\u043e\u043d\u0430 \u0440\u0430\u0432\u043d\u0430 \u0447\u0435\u0442\u044b\u0440\u0435\u043c, \u0442\u043e \u0432\u0442\u043e\u0440\u0430\u044f \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u043c\u0435\u043d\u044c\u0448\u0435 \u0441\u0435\u043c\u0438, \u0438 \u0442.\u0434. (\u043f\u043e\u043b\u043d\u044b\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u0430 \u0432\u043d\u0443\u0442\u0440\u0438 \u0438\u0433\u0440\u044b). \u0418 \u0432\u0441\u0435 \u044d\u0442\u043e \u043d\u0435 \u0443\u043a\u043b\u0430\u0434\u044b\u0432\u0430\u043b\u043e\u0441\u044c \u0443 \u043c\u0435\u043d\u044f \u0432 \u0433\u043e\u043b\u043e\u0432\u0435 \u0432 \u043f\u043b\u0430\u043d\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u0412 \u0438\u0442\u043e\u0433\u0435, \u0440\u0435\u0448\u0438\u043b \u0440\u0430\u0437\u043d\u0435\u0441\u0442\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u043d\u043e\u0441\u0442\u044c \u0441\u0442\u043e\u0440\u043e\u043d \u0432 \u0434\u0432\u0435 \u043a\u043e\u043b\u043e\u043d\u043a\u0438 \u0438 \u043f\u0440\u0438 \u0432\u044b\u0431\u043e\u0440\u0435 \u0432 \u043b\u0435\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 (width) \u0432 \u043f\u0440\u0430\u0432\u043e\u0439 \u043a\u043e\u043b\u043e\u043d\u043a\u0435 \u043f\u0435\u0440\u0435\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043f\u0438\u0441\u043e\u043a height \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u0445 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439 \u0434\u043b\u044f \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u043e\u0433\u043e width.<br \/>\n\u0412 \u0441\u0432\u043e\u0435\u043c \u043f\u0435\u0440\u0432\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 \u043c\u043d\u0435 \u0434\u043e\u0432\u0435\u043b\u043e\u0441\u044c \u0443\u0437\u043d\u0430\u0442\u044c, \u0447\u0442\u043e-\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0438\u0437 \u0441\u0435\u0431\u044f \u0442\u0438\u043f\u0438\u0447\u043d\u043e\u0435 <strong>iOS \u043f\u0440\u0438\u043e\u043b\u0436\u0435\u043d\u0438\u0435<\/strong>. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043a\u0430\u0440\u043a\u0430\u0441 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043e\u0441\u0442\u0430\u0435\u0442\u0441\u044f \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u043a\u0430\u043a \u0432 \u043e\u0434\u043d\u043e\u043c \u0438\u0437 \u043c\u043e\u0438\u0445 <a href=\"http:\/\/hxml.me\/blog\/coding\/zapuskaem-iphone-prilozhenie-na-telefone\/\">\u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0445 \u043f\u043e\u0441\u0442\u043e\u0432<\/a><br \/>\n\u0415\u0441\u0442\u044c <strong>\u043a\u043b\u0430\u0441\u0441-\u0434\u0435\u043b\u0435\u0433\u0430\u0442<\/strong> \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u044f \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u044b (ViewController), \u0430 \u0442\u0430\u043a\u0436\u0435 \u043e\u0431\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044e <strong>\u0441\u043e\u0431\u044b\u0442\u0438\u044f \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b<\/strong> (\u043d\u0430\u043f\u0440. applictionDidFinishLaunching). <strong>ViewController<\/strong> &#8212; \u043a\u043b\u0430\u0441\u0441 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f (View) \u0432 \u0446\u0435\u043f\u043e\u0447\u043a\u0435 Responders \u043e\u043d \u0441\u0442\u043e\u0438\u0442 \u043f\u0435\u0440\u0435\u0434 \u0434\u0435\u043b\u0435\u0433\u0430\u0442\u043e\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438 \u0442\u0430\u043a\u0436\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u0442 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u044b. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u043e\u043d \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442 \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044f \u0441 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c-\u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u044f, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0440\u0438\u0432\u044f\u0437\u0430\u043d. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (View) &#8212; \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041f\u043e \u0438\u0434\u0435\u0435, \u0432 \u044d\u0442\u043e\u043c \u043a\u043b\u0430\u0441\u0441\u0435 \u0434\u043e\u043b\u0436\u0435\u043d \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043a\u043e\u0434 \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u044f \u0434\u0430\u043d\u043d\u044b\u0445. \u0421\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0432 \u044d\u0442\u043e\u043c \u0438 \u0437\u0430\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f <strong>\u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u044f MVC<\/strong>. \u0412\u0441\u0435 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0432 iOS \u044f\u0432\u043b\u044f\u044e\u0442\u0441\u044f \u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u0430\u043c\u0438 UIView. <strong>UIView<\/strong> \u043c\u043e\u0436\u0435\u0442 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u0431\u044f \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0434\u0440\u0443\u0433\u0438\u0445 UIView. \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 UIView \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043c\u0435\u0442\u043e\u0434\u0430 <strong>addSubview<\/strong>, \u0443\u0431\u0440\u0430\u0442\u044c &#8212; removeFromSuperview. \u041f\u0440\u0438\u0447\u0435\u043c, \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0439 \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043e\u0434\u0438\u043d \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043c\u043e\u0436\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u0432 \u043e\u0434\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0435 UIView, \u043f\u043e\u044d\u0442\u043e\u043c\u0443, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u0432\u044b\u0437\u0432\u0430\u0435\u043c addSubview \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0435\u043c \u044d\u0442\u043e\u043c\u0443 \u043c\u0435\u0442\u043e\u0434\u0443 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e UIView, \u0442\u043e, \u0443 \u044d\u0442\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u0432\u044b\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f <strong>removeFromSuperview<\/strong>, \u0430 \u0437\u0430\u0442\u0435\u043c \u043e\u043d \u0443\u0436\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0432 \u0442\u043e\u0442 UIView, \u0432 \u043a\u043e\u0442\u043e\u0440\u043e\u043c \u0432\u044b \u0432\u044b\u0437\u044b\u0432\u0430\u043b\u0438 addSubview. \u042d\u0442\u0430 \u0441\u0445\u0435\u043c\u0430 \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u043d\u0430 \u0438 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c 99% \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u0440\u0435\u0431\u043d\u043e\u0441\u0442\u0435\u0439 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430.<br \/>\n\u0418 \u0442\u0430\u043a, \u0432 \u043c\u043e\u0435\u043c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0438 5 \u0441\u0442\u0440\u0430\u043d\u0438\u0446 (\u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441 \u0438\u0433\u0440\u043e\u0439, \u0421\u0442\u0440\u0430\u043d\u0438\u0446\u0430 \u0441 \u0433\u043b\u0430\u0432\u043d\u044b\u043c \u043c\u0435\u043d\u044e, \u0421\u043f\u0440\u0430\u0432\u043a\u0430, \u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438, \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0440\u0435\u043a\u043e\u0440\u0434\u043e\u0432), \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0438\u043c\u0435\u0435\u043c 5 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u043e\u0432 \u0438 5 \u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0438\u0439. \u0410 \u0442\u0430\u043a\u0436\u0435 \u0441\u043e\u043f\u0443\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u044b: \u043a\u043b\u0430\u0441\u0441, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0449\u0438\u0439 \u043b\u043e\u0433\u0438\u043a\u0443 \u0438\u0433\u0440\u044b, \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430\u043c\u0438, \u043a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0437\u0432\u0443\u043a\u0430\u043c\u0438. \u0423 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0435\u0441\u0442\u044c \u0433\u043b\u0430\u0432\u043d\u043e\u0435 \u043e\u043a\u043d\u043e &#8212; \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>UIWindow<\/strong>. \u041e\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0438\u0437 nib-\u0444\u0430\u0439\u043b\u0430. \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u044f \u0438 \u0443\u0431\u0438\u0440\u0430\u044f \u0438\u0437 \u043d\u0435\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u044b UIView, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0449\u0438\u0435 \u0441\u043e\u0431\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b, \u043c\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u0435\u043c \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 UIWindow, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0446\u0438\u0438 \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u0445\u043e\u0436\u0430 \u043d\u0430 Mac OS X.<\/p>\n<p>\u041a\u043b\u0430\u0441\u0441 \u0441 \u043b\u043e\u0433\u0438\u043a\u043e\u0439 \u0438\u0433\u0440\u044b \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043e\u043d \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0447\u0435\u0440\u043d\u044b\u0439 \u044f\u0449\u0438\u043a \u0434\u043b\u044f \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0430 \u0432\u0445\u043e\u0434\u0435 \u0438\u043c\u0435\u0435\u0442, \u043e\u0431\u0440\u0430\u0437\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u0434\u0432\u0430 \u043c\u0435\u0442\u043e\u0434\u0430: initGame (\u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u0442 \u0438\u0433\u0440\u0443 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u043c\u0438 \u043f\u0440\u0435\u0434\u043f\u043e\u0447\u0442\u0435\u043d\u0438\u044f\u043c\u0438), \u0438 processHit(x, y), \u0433\u0434\u0435 x, y \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043d\u0430\u0436\u0430\u0442\u0438\u044f &#8212; \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0438\u0442 \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u0435 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043f\u043e\u043b\u044f \u0438 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0442\u0432\u0435\u0442, \u043b\u0438\u0431\u043e \u0445\u043e\u0434 \u043d\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u043b\u0438\u0431\u043e \u0432\u043e\u0437\u043c\u043e\u0436\u0435\u043d, \u043b\u0438\u0431\u043e \u0438\u0433\u0440\u0430 \u043e\u043a\u043e\u043d\u0447\u0435\u043d\u0430 (\u0445\u043e\u0434\u0438\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435\u043a\u0443\u0434\u0430).<br \/>\n\u041a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441\u043e \u0437\u0432\u0443\u043a\u043e\u043c \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043f\u043e\u043b\u0435\u0437\u043d\u0430\u044f \u0432\u0435\u0449\u044c, \u0434\u0430\u0436\u0435 \u0432\u044b\u043b\u043e\u0436\u0443 \u0435\u0433\u043e \u0441\u044e\u0434\u0430, \u043c\u043e\u0436\u0435\u0442 \u043a\u043e\u043c\u0443 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f. \u041d\u0430\u0448\u0435\u043b \u0432 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442\u0435 \u0438 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043e\u0442\u0440\u0438\u0445\u0442\u043e\u0432\u0430\u043b. \u041f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043e\u0431\u043e\u0439 \u0443\u0434\u043e\u0431\u043d\u0443\u044e \u043d\u0430\u0434\u0441\u0442\u0440\u043e\u0439\u043a\u0443 \u043d\u0430\u0434 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u043f\u043e \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u043e \u0437\u0432\u0443\u043a\u043e\u043c. \u041f\u0440\u0438\u043c\u0435\u0440: \u0435\u0441\u0442\u044c \u0443 \u043d\u0430\u0441 \u0437\u0432\u0443\u043a\u043e\u0432\u043e\u0439 \u0444\u0430\u0439\u043b youwin.wav, \u0438 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0435\u0433\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c:<\/p>\n<pre lang=\"c_mac\">\/\/initializing\r\n#import &lt;AudioToolbox\/AudioToolbox.h&gt;;\r\n#import \"SoundEffect.h\"\r\n  ...\r\n  youwinSound = createSysSnd(@\"youwin\");\r\n\r\n\/\/using\r\n-(void) playYouwinsound {\r\n   [youwinSound play];\r\n}<\/pre>\n<p>\u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043a \u043f\u0440\u043e\u0435\u043a\u0442\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0444\u0440\u0435\u0439\u043c\u0432\u043e\u0440\u043a &#8212; \u043f\u043e \u0434\u0435\u0444\u043e\u043b\u0442\u0443 \u0435\u0433\u043e \u043d\u0435\u0442.<br \/>\n\u041e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u043c, \u043d\u043e \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u043c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435\u043c \u0441\u0442\u0430\u043b\u043e \u0442\u043e, \u0447\u0442\u043e \u0432 iOS \u0434\u043b\u044f<strong> \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a<\/strong> \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043e\u0442 \u0436\u0435 \u043c\u0435\u0445\u0430\u043d\u0438\u0437\u043c, \u0447\u0442\u043e \u0438 \u0432 Mac OS X &#8212; \u043a\u043b\u0430\u0441\u0441 <strong>NSUserDefaults<\/strong>.<br \/>\n\u0412 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u043a\u043b\u0430\u0441\u0441\u043e\u0432-\u043d\u0430\u0441\u043b\u0435\u0434\u043d\u0438\u043a\u043e\u0432 UIView \u043e\u0442\u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0445 iOS-\u043f\u0440\u0438\u0435\u043c\u043e\u0432. \u041d\u0443, \u0432\u043e-\u043f\u0435\u0440\u0432\u044b\u0445, \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 <strong>\u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u0435 \u043d\u0430 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435<\/strong>. \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0432\u0441\u0435 \u0441\u0432\u043e\u0434\u0438\u0442\u0441\u044f \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e\u0431\u044b \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 UIImage \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u043c \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435. \u0412\u043e\u0442, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0432 \u043a\u043e\u043d\u0435 \u0431\u044b\u043b\u0430 \u0437\u0430\u0434\u0430\u0447\u043a\u0430, \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0447\u0438\u0441\u043b\u0430. \u041f\u0440\u0438\u0447\u0435\u043c, \u0447\u0442\u043e\u0431\u044b \u0432\u044b\u0434\u0435\u0440\u0436\u0430\u0442\u044c \u0434\u0438\u0437\u0430\u0439\u043d, \u044d\u0442\u043e \u0434\u043e\u043b\u0436\u043d\u044b \u0431\u044b\u0442\u044c &#171;\u0440\u0443\u043a\u043e\u043f\u0438\u0441\u043d\u044b\u0435&#187; \u0447\u0438\u0441\u043b\u0430. \u041a\u0441\u0442\u0430\u0442\u0438, \u0432\u0441\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b \u0438\u0433\u0440\u044b \u044f \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u044b\u0432\u0430\u043b \u0432 \u0442\u0435\u0442\u0440\u0430\u0434\u043a\u0435 \u0432 \u043a\u043b\u0435\u0442\u043a\u0443, \u0430 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u043a\u0430\u043b \u0447\u0435\u0440\u0435\u0437 \u0441\u043a\u0430\u043d\u0435\u0440. \u0422\u0430\u043a\u0438\u043c \u0436\u0435 \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u0431\u044b\u043b\u0438 \u043e\u0442\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u044b \u0438 \u0446\u0438\u0444\u0440\u044b. \u0412 \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0446\u0438\u0444\u0440\u044b \u043b\u0435\u0436\u0430\u0442 \u0432 \u0432\u0438\u0434\u0435 \u043e\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 0123456789 \u0432 png-\u0444\u0430\u0439\u043b\u0435. \u0414\u043b\u044f \u0443\u0434\u043e\u0431\u0441\u0442\u0432\u0430 \u044f \u0440\u0430\u0437\u0431\u0438\u043b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043d\u0430 10 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432, \u0438 \u0437\u0430\u043f\u0438\u0445\u0430\u043b \u0438\u0445 \u0432 NSMutableArray. \u041a\u0441\u0442\u0430\u0442\u0438, \u0442\u043e\u0436\u0435 \u043a\u043b\u0430\u0441\u0441\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u043a\u0430 (<strong>\u0440\u0430\u0437\u0431\u0438\u0442\u044c<\/strong> \u0441\u0435\u0442 \u0438\u043b\u0438 <strong>\u043a\u0430\u0434\u0440\u044b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0432 \u0441\u0435\u0440\u0438\u044e \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0445 UIImage<\/strong>). \u0414\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u044d\u0442\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre lang=\"c_mac\">- (NSMutableArray*) getDigitsArray {\r\n  UIImage * dgt = [UIImage imageNamed:@\"digits.png\"];\r\n  int d_wdth[] = {0, 9, 16, 25, 34, 43, 52, 62, 70, 79, 89, 98, 106,\r\n    9 + 106, 16 + 106, 25 + 106, 34 + 106, 43 + 106, 52 + 106, 62 + 106, 70 + 106, 79 + 106, 89 + 106, 98 + 106, 106 + 106};\r\n\r\n  NSMutableArray* array  = [NSMutableArray arrayWithCapacity:((sizeof(d_wdth) \/ sizeof(int)) - 1)];\r\n  array  = [NSMutableArray arrayWithCapacity:((sizeof(d_wdth) \/ sizeof(int)) - 1)];\r\n  for (int x = 0; x &lt; (sizeof(d_wdth) \/ sizeof(int)) - 1; x++) {\r\n    CGRect rect = CGRectMake(d_wdth[x], 0, d_wdth[x + 1] - d_wdth[x], dgt.size.height);\r\n    CGImageRef tileImageRef = CGImageCreateWithImageInRect(dgt.CGImage, rect);\r\n    [array addObject:[UIImage imageWithCGImage:tileImageRef]];\r\n    CGImageRelease(tileImageRef);\r\n  }\r\n  return array;\r\n}<\/pre>\n<p>\u0412 \u043c\u043e\u0435\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0448\u0440\u0438\u0444\u0442 \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u043d\u0435 \u043c\u043e\u043d\u043e\u0448\u0438\u0440\u0438\u043d\u043d\u044b\u0439, \u043e\u0442\u0441\u044e\u0434\u0430 \u0438 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 d_wdth. \u0412 \u0431\u043e\u043b\u044c\u0448\u0438\u043d\u0441\u0442\u0432\u0435 \u0436\u0435 \u0441\u043b\u0443\u0447\u0430\u0435\u0432 \u0448\u0438\u0440\u0438\u043d\u0430 \u0438 \u0432\u044b\u0441\u043e\u0442\u0430 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432 \u043e\u0434\u0438\u043d\u0430\u043a\u043e\u0432\u0430 \u0438 \u0437\u0430\u0434\u0430\u0447\u043a\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0443\u043f\u0440\u043e\u0449\u0430\u0435\u0442\u0441\u044f.<br \/>\n\u0418 \u0442\u0430\u043a, \u0438\u043c\u0435\u0435\u043c NSMutableArray \u0441 \u0430\u0440\u0430\u0431\u0441\u043a\u0438\u043c\u0438 \u0446\u0438\u0444\u0440\u0430\u043c\u0438. \u041d\u0443\u0436\u043d\u043e \u043e\u0442\u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u0442\u0440\u0435\u0445\u0437\u043d\u0430\u0447\u043d\u044b\u0439 \u0442\u0430\u0439\u043c\u0435\u0440:<\/p>\n<pre lang=\"c_mac\">-(void) drawCounter :(int) stepIndex{\r\n  UIGraphicsBeginImageContext(counter.frame.size);\r\n  UIImage * d[9];\r\n\r\n  int numWidth = 0;\r\n  for (int i = 0; i &lt; [moveLogic dgtCnt:stepIndex]; i++) {\r\n    d[i] = [digits objectAtIndex: [moveLogic dgtAtIdx:stepIndex :i]];\r\n    numWidth += d[i].size.width;\r\n  }\r\n\r\n  CGPoint scrPoint = CGPointMake(0, 15);\r\n  d[[moveLogic dgtCnt:stepIndex]] = [digits objectAtIndex: 10];\r\n  numWidth += d[[moveLogic dgtCnt:stepIndex]].size.width;\r\n  for (int i = 0; i &lt; moveLogic.totalStepDigitsCount; i++) {\r\n    d[i + 1 + [moveLogic dgtCnt:stepIndex]] = [digits objectAtIndex: [moveLogic totalStepDigitAtIndex:i]];\r\n    numWidth += d[i + 1 + [moveLogic dgtCnt:stepIndex]].size.width;\r\n  }\r\n\r\n  for (int i = 0; i &lt; [moveLogic dgtCnt:stepIndex] + 1 + moveLogic.totalStepDigitsCount; i++) {\r\n    float offset = 0;\r\n    for (int j = 0; j &lt; i; j++) offset += d[j].size.width;\r\n    [d[i] drawAtPoint:CGPointMake(offset + (counter.frame.size.width - numWidth),\r\n    scrPoint.y + (CELL_SIZE - d[i].size.height) \/ 2 )];\r\n  }\r\n  counter.image = UIGraphicsGetImageFromCurrentImageContext();\r\n  UIGraphicsEndImageContext();\r\n}<\/pre>\n<p>\u0417\u0434\u0435\u0441\u044c counter &#8212; \u043e\u0431\u044a\u0435\u043a\u0442 \u043a\u043b\u0430\u0441\u0441\u0430 <strong>UIImageView<\/strong>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442\u0441\u044f \u0432\u043e View \u0438\u0433\u0440\u043e\u0432\u043e\u0439 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b. \u041d\u0430 \u043d\u0435\u043c \u0438 \u0440\u0438\u0441\u0443\u0435\u043c \u0441\u0447\u0435\u0442\u0447\u0438\u043a. \u0424\u0443\u043d\u043a\u0446\u0438\u044f UIGraphicsBeginImageContext \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442 \u0434\u043b\u044f \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f. \u0414\u0430\u043b\u0435\u0435, \u0432\u0441\u0435 \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0440\u0438\u0441\u043e\u0432\u0430\u043d\u0438\u044f \u0431\u0443\u0434\u0443\u0442 \u0440\u0438\u0441\u043e\u0432\u0430\u0442\u044c \u043d\u0430 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u043c \u043a\u043e\u043d\u0442\u0435\u043a\u0441\u0442\u0435. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043c\u0435\u0442\u043e\u0434 drawAtPoint \u043a\u043b\u0430\u0441\u0441\u0430 UIImage \u043e\u0442\u0440\u0438\u0441\u0443\u0435\u0442 \u0438\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u0432 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u0445 x, y \u043f\u0435\u0440\u0435\u0434\u0430\u043d\u043d\u044b\u0445 \u0435\u043c\u0443 \u0447\u0435\u0440\u0435\u0437 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b. \u041d\u0443, \u0434\u0443\u043c\u0430\u044e, \u0442\u0443\u0442 \u0432\u0441\u0435 \u044f\u0441\u043d\u043e. counter.image = UIGraphicsGetImageFromCurrentImageContext(); \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442 UIImage, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u043d\u0430\u0440\u0438\u0441\u043e\u0432\u0430\u043b\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 image \u043e\u0431\u044a\u0435\u043a\u0442\u0430 counter, \u0447\u0442\u043e \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u0442 \u043a \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044e \u0435\u0433\u043e \u0432\u043d\u0435\u0448\u043d\u0435\u0433\u043e \u0432\u0438\u0434\u0430. \u0412 \u044d\u0442\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0441\u0442\u043e\u0438\u0442 \u0443\u043f\u043e\u043c\u044f\u043d\u0443\u0442\u044c \u043e\u0431<strong> \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438 \u043f\u0430\u043c\u044f\u0442\u044c\u044e<\/strong>. \u041a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0432 <strong>iOS<\/strong> &lt; 4 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u043e \u0442\u0430\u043a\u043e\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u0435, \u043a\u0430\u043a <strong>\u0441\u0431\u043e\u0440\u0449\u0438\u043a \u043c\u0443\u0441\u043e\u0440\u0430<\/strong>. \u0417\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c\u0438 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u0441\u0430\u043c\u043e\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u043d\u043e. \u042d\u0442\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0441\u044b\u043b\u043a\u0430\u043c\u0438. \u0415\u0441\u043b\u0438 \u043c\u044b \u0441\u043e\u0437\u0434\u0430\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0432\u044b\u0437\u0432\u0430\u0442\u044c \u0443 \u043d\u0435\u0433\u043e \u043c\u0435\u0442\u043e\u0434 retain, \u044d\u0442\u043e \u0443\u0432\u0435\u043b\u0438\u0447\u0438\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u041c\u0435\u0442\u043e\u0434 release \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u0442 \u044d\u0442\u0443 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u043d\u0430 \u0435\u0434\u0438\u043d\u0438\u0446\u0443. \u041a\u043e\u0433\u0434\u0430 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u0430\u0435\u0442 \u043d\u0443\u043b\u044f, \u043e\u0431\u044a\u0435\u043a\u0442 \u0443\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u043f\u0430\u043c\u044f\u0442\u0438. \u0412 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u0442\u0438\u043f\u0430 UIGraphicsBeginImageContext \u0432\u0441\u0435 \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e-\u0434\u0440\u0443\u0433\u043e\u043c\u0443. \u041c\u043d\u0435 \u0431\u044b\u043b\u043e \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043f\u043e\u043d\u044f\u0442\u043d\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c \u00a0\u043e\u0431\u044a\u0435\u043a\u0442\u043e\u043c, \u043a\u043e\u0433\u0434\u0430 \u043c\u044b \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u0435\u043c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 counter.image \u043d\u043e\u0432\u044b\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c? \u041e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c, \u0447\u0442\u043e \u0432 \u0441\u043b\u0443\u0447\u0430\u0435 \u0441 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u043c\u0438 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 \u044d\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043d\u0430 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0435 \u0438 \u043d\u0430\u043c \u0437\u0430 \u044d\u0442\u0438\u043c \u0441\u043b\u0435\u0434\u0438\u0442\u044c \u043d\u0435 \u043d\u0430\u0434\u043e.<br \/>\n\u0427\u0442\u043e \u0435\u0449\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u044f \u0443\u0437\u043d\u0430\u043b, \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u044f \u043a\u043e\u043d\u044f. \u0423\u044f\u0441\u043d\u0438\u043b \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u0442\u0430\u043a\u0438\u0435 \u043f\u043e\u043d\u044f\u0442\u0438\u044f, \u043a\u0430\u043a <strong>transitions<\/strong> \u0438 <strong>animation<\/strong>. \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u0438\u0445 \u0441\u0443\u0449\u043d\u043e\u0441\u0442\u0435\u0439 \u0432 <strong>iPhone<\/strong> \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u044b \u0432\u0441\u044f\u043a\u0438\u0435 <strong>\u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0438 \u0438 \u044d\u0444\u0444\u0435\u043a\u0442\u044b<\/strong> &#8212; \u043f\u043e\u0432\u043e\u0440\u043e\u0442\u044b, \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f, \u0437\u0430\u0442\u0435\u043c\u043d\u0435\u043d\u0438\u044f \u0438 \u0442.\u0434. \u0412\u043e\u0442, \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0443, \u0437\u0430\u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u043c\u043d\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0441\u0438\u043d\u0438\u0439 \u0443\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u0442\u0435\u043a\u0443\u0449\u0435\u0433\u043e \u0445\u043e\u0434\u0430 \u0432\u043e\u043a\u0440\u0443\u0433 \u043a\u043b\u0435\u0442\u043a\u0438 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u043c\u0433\u043d\u043e\u0432\u0435\u043d\u043d\u043e \u043e\u043a\u0430\u0437\u044b\u0432\u0430\u043b\u0441\u044f \u0432 \u043d\u043e\u0432\u043e\u0439 \u043a\u043b\u0435\u0442\u043a\u0435, \u0430 \u043f\u043b\u0430\u0432\u043d\u043e \u0442\u0443\u0434\u0430 <strong>\u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u043b\u0441\u044f<\/strong>. \u042f \u0443\u0436\u0435 \u0445\u043e\u0442\u0435\u043b \u0431\u044b\u043b\u043e \u044d\u0442\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0442\u0430\u0439\u043c\u0435\u0440, \u0432\u044b\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u0442\u0440\u0430\u0435\u043a\u0442\u043e\u0440\u0438\u044e, \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442, \u043d\u043e  \u0432\u0441\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u043f\u0440\u043e\u0449\u0435 \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u0435\u0435. \u0412\u043e\u0442 \u043a\u043e\u0434:<\/p>\n<pre lang=\"c_mac\">-(void) moveCurrent {\r\n  CGPoint scrPoint = [self getScreenCoord: [moveLogic getCurrentStepCoord]];\r\n  if (current.hidden) {\r\n    current.frame= CGRectMake(scrPoint.x - 1, scrPoint.y - 1, 32, 32);\r\n    current.hidden = NO;\r\n  } else {\r\n    [UIView beginAnimations:nil context:NULL];\r\n    [UIView setAnimationDuration:0.2];\r\n    current.transform = CGAffineTransformMakeTranslation(scrPoint.x - current.frame.origin.x, scrPoint.y - current.frame.origin.y);\r\n    current.frame= CGRectMake(scrPoint.x - 1, scrPoint.y - 1, 32, 32);\r\n    [UIView commitAnimations];\r\n  }\r\n  lastStepCoords = scrPoint;\r\n}<\/pre>\n<p>\u0423 \u043a\u043b\u0430\u0441\u0441\u0430 UIView \u0435\u0441\u0442\u044c \u043d\u0430\u0431\u043e\u0440 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043c\u0435\u0442\u043e\u0434\u043e\u0432 \u0434\u043b\u044f \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438. \u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u0446\u0438\u043a\u043b \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0432\u044b\u0437\u043e\u0432\u0430 <strong>beginAnimations<\/strong>, \u043f\u0440\u0438\u0441\u0432\u0430\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0443 transform \u0432\u0441\u0435\u0445 \u043f\u043e\u0442\u043e\u043c\u043a\u043e\u0432 UIView, \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043c\u044b \u0445\u043e\u0442\u0438\u043c \u0430\u043d\u0438\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0437\u0430 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u043a\u0430\u043a\u0438\u0445-\u043b\u0438\u0431\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432, \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u0443\u0435\u043c\u044b\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u043c\u0438 CGAffineTransformXXX,\u0438 \u0432\u044b\u0437\u043e\u0432\u0430 commitAnimations, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044b\u0435 \u0442\u0440\u0430\u043d\u0441\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438. \u041c\u0435\u0442\u043e\u0434 setAnimationDuration \u0437\u0430\u0434\u0430\u0435\u0442 \u0438\u043d\u0442\u0435\u0440\u0432\u0430\u043b \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u044e. \u041a\u0441\u0442\u0430\u0442\u0438, <strong>\u0442\u0430\u0439\u043c\u0435\u0440<\/strong> \u0432 <strong>iOS<\/strong> \u0442\u0430\u043a\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d \u043a\u043b\u0430\u0441\u0441\u043e\u043c <strong>NSTimer<\/strong> \u043a\u0430\u043a \u0438 \u0432 Mac OS X. \u0420\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u043d\u0438\u043c \u0442\u0430\u043a \u0436\u0435 \u043b\u0435\u0433\u043a\u043e \u0438 \u043f\u0440\u0438\u044f\u0442\u043d\u043e:<\/p>\n<pre lang=\"c_mac\">moveTimer = [NSTimer scheduledTimerWithTimeInterval: 0.1 target:self selector:@selector(timerEvent:) userInfo:nil repeats: YES];\r\n...\r\n-(void) timerEvent: (NSTimer *) theTimer {\r\n\/\/do stuff\r\n}<\/pre>\n<p>\u0418\u0437 \u043a\u0440\u0430\u0441\u0438\u0432\u043e\u0441\u0442\u0435\u0439 \u0430\u043d\u0438\u043c\u0430\u0446\u0438\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u043e\u0447\u0435\u043d\u044c \u043a\u0441\u0442\u0430\u0442\u0438 \u043f\u043e\u0434\u0432\u0435\u0440\u043d\u0443\u0432\u0448\u0438\u0439\u0441\u044f <strong>\u044d\u0444\u0444\u0435\u043a\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0440\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b<\/strong>, \u043a\u043e\u0433\u0434\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442 \u0441\u043e \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b \u043d\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443:<\/p>\n<pre lang=\"c_mac\">-(void) switchView :(int) from :(int) to {\r\n  currentView = to;\r\n  if (from != to) {\r\n    [UIView beginAnimations:@\"View Curl\" context:nil];\r\n    [UIView setAnimationDuration:1.0];\r\n    [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];\r\n    [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:views[from] cache:YES];\r\n    [UIView commitAnimations];\r\n\r\n    [window addSubview:views[from]];\r\n    [views[to] retain];\r\n    [views[to] removeFromSuperview];\r\n  }\r\n}<\/pre>\n<p>\u0421\u0434\u0435\u043b\u0430\u043b \u043c\u0435\u0442\u043e\u0434 \u0443\u043d\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u043c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043a\u043e\u0434.<\/p>\n<p>\u041d\u0443 \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u0438 \u0432\u0441\u0435 \u043d\u0430 \u0441\u0435\u0433\u043e\u0434\u043d\u044f. \u041d\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u0435\u0449\u0435 \u0441\u043a\u0430\u0436\u0443 \u043f\u0430\u0440\u0443 \u0441\u043b\u043e\u0432 \u043e \u0437\u0432\u0443\u043a\u0430\u0445, \u0432\u0435\u0434\u044c \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0432\u0430\u0436\u043d\u044b\u0439 \u0430\u0441\u043f\u0435\u043a\u0442 \u0432 game-development&#8217;\u0435. \u0414\u0443\u043c\u0430\u044e, \u0443 \u0432\u0441\u0435\u0445 \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0449\u0438\u0445 \u0438\u0433\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u0435\u043b\u0435\u0439 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u0435\u0442 \u0432\u043e\u043f\u0440\u043e\u0441,<strong> \u0433\u0434\u0435 \u0432\u0437\u044f\u0442\u044c \u043e\u0437\u0432\u0443\u0447\u043a\u0443 \u0434\u043b\u044f \u0441\u0432\u043e\u0438\u0445 \u0438\u0433\u0440<\/strong>? \u041e\u0442\u0432\u0435\u0442 \u043e\u0447\u0435\u0432\u0438\u0434\u0435\u043d &#8212; \u0433\u0443\u0433\u043b)) \u0423 \u043c\u0435\u043d\u044f \u0443\u0448\u043b\u043e \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435 \u043f\u043e\u043b\u0434\u043d\u044f \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u043a\u043e\u043b\u043b\u0435\u043a\u0446\u0438\u044e \u0438\u0433\u0440\u043e\u0432\u044b\u0445 \u0437\u0432\u0443\u043a\u043e\u0432 \u043c\u0435\u0433\u0430\u0431\u0430\u0439\u0442 \u043f\u043e\u0434 200. \u041d\u0430 \u043f\u0435\u0440\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f, \u0434\u0443\u043c\u0430\u044e, \u0445\u0432\u0430\u0442\u0438\u0442.<\/p>\n<div class=\"download\"><a href=\"\/blog\/wp-content\/uploads\/2010-11-18\/SoundEffect.zip\">\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043a\u043b\u0430\u0441\u0441 SoundEffect<\/a><\/div>\n<p><!--:--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u0430\u0432\u043d\u0435\u043d\u044c\u043a\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u043b \u0431\u043b\u043e\u0433, \u043d\u0443\u0436\u043d\u043e \u0431\u044b \u0447\u0442\u043e-\u0442\u043e \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c. \u041d\u0430 \u0441\u0430\u043c\u043e\u043c \u0434\u0435\u043b\u0435, \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430 \u043e\u043f\u044f\u0442\u044c \u0441\u043a\u043e\u043f\u0438\u043b\u043e\u0441\u044c \u043c\u043e\u0440\u0435, \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e, \u043a\u0430\u043a \u0434\u0440\u0443\u0433\u0438\u0435 \u0431\u043b\u043e\u0433\u0433\u0435\u0440\u044b \u0432\u0441\u0435 \u0443\u0441\u043f\u0435\u0432\u0430\u044e\u0442. \u042d\u0442\u043e \u0436 \u043d\u0443\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0438\u0434\u0435\u0442\u044c \u0438 \u043f\u0438\u0441\u0430\u0442\u044c. \u041b\u0430\u0434\u043d\u043e, \u0443\u043f\u0443\u0441\u0442\u0438\u043c \u0443\u0436\u0435 \u043b\u0438\u0440\u0438\u043a\u0443. \u0412 \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043f\u043e\u0447\u0442\u0438 \u0437\u0430\u043a\u0430\u043d\u0447\u0438\u0432\u0430\u044e \u0441\u0432\u043e\u0435 \u0442\u0440\u0435\u0442\u044c\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0434\u043b\u044f iPhone, \u043e \u043d\u0435\u043c \u044f \u0440\u0430\u0441\u0441\u043a\u0430\u0436\u0443 \u0432 \u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0445 \u043f\u043e\u0441\u0442\u0430\u0445, \u0430 \u043f\u043e\u043a\u0430 \u044f \u0440\u0435\u0448\u0438\u043b [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[68],"tags":[7,93,61,8],"class_list":["post-302","post","type-post","status-publish","format-standard","hentry","category-products","tag-appstore","tag-cocoa","tag-ios","tag-objective-c"],"_links":{"self":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/comments?post=302"}],"version-history":[{"count":41,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":1130,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/posts\/302\/revisions\/1130"}],"wp:attachment":[{"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/media?parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/categories?post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hxml.me\/blog\/wp-json\/wp\/v2\/tags?post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}