{"id":268334,"date":"2015-11-17T08:43:02","date_gmt":"2015-11-17T05:43:02","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=268334"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=268334","title":{"rendered":"iOs Debug Master"},"content":{"rendered":"<p>       \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u044f \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043c\u044b\u0448\u043a\u0438 \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e Xcode \u0438 \u0432\u043f\u043e\u043b\u043d\u0435 \u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0434. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u2014 \u044d\u0442\u043e \u043e\u0442\u043a\u0430\u0437 \u043e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c. \u0417\u0430\u0447\u0435\u043c? \u2014 \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u0434\u0435\u0431\u0430\u0433\u0430, \u0442\u0440\u0430\u0442\u0438\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u0430\u043b\u043e\u0440\u0438\u0439 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0442\u044f\u0436\u0435\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u0440\u0443\u0447\u0438\u0448\u043a\u0438 (\u043d\u0430\u043c \u043a\u0430\u043b\u043e\u0440\u0438\u0438 \u043d\u0443\u0436\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c) \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u0443\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0443\u043d\u043d\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0438\u043d\u0434\u0440\u043e\u043c\u0430. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/822\/32e\/ac4\/82232eac445f4134b817799f8eafb54b.png\"\/><br \/>  <a name=\"habracut\"><\/a>.<br \/>  \u041e\u0441\u043e\u0431\u043e \u043d\u043e\u0432\u044b\u0445 \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0439 \u0432 \u0441\u0442\u0430\u0442\u044c\u0435 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0434\u044b\u0442\u043e\u0436\u0443, \u0447\u0442\u043e \u0432\u044b \u0438 \u0441\u0430\u043c\u0438 \u0445\u043e\u0440\u043e\u0448\u043e \u0437\u043d\u0430\u043b\u0438 \u0438 \u043a\u0430\u043a \u044d\u0442\u043e \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u043a\u043e\u0433\u043e-\u0442\u043e \u043f\u043e-\u043d\u043e\u0432\u043e\u043c\u0443.<\/p>\n<p>  \u041d\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u044e \u0442\u0430\u043a\u0438\u0435 \u0442\u0435\u043c\u044b: \u043a\u0430\u043a \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432 Xcode, \u043a\u0430\u043a \u0432\u043e\u043e\u0431\u0449\u0435 \u043e\u0442\u043b\u0430\u0436\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0432 \u043a\u0430\u043a\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043d\u0443\u0436\u043d\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0438 \u0437\u0430\u0447\u0435\u043c, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 <a href=\"https:\/\/ru.wikipedia.org\/wiki\/LLDB\">LLDB<\/a>, \u0447\u0442\u043e \u0442\u0430\u043a\u043e\u0435 Step Into \u0438 Step Over \u0438 \u0442.\u0434.<\/p>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u043a \u043f\u0440\u0438\u043c\u0435\u0440\u0430\u043c:<\/p>\n<h4><b>\u041d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c \u043a\u043e\u043d\u0441\u043e\u043b\u044c<\/b><\/h4>\n<p>  \u041e\u0442\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u043c \u0432\u043e\u0442 \u043e\u0442 \u044d\u0442\u043e\u0439 \u043f\u0430\u043d\u0435\u043b\u044c\u043a\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/b19\/393\/b29\/b19393b29a7e453487f0baf590325fd3.png\"\/><\/p>\n<p>  \u0414\u0430 \u0438 \u0432\u043e\u0442 \u043f\u0440\u043e \u044d\u0442\u0443 \u0441\u043a\u043e\u0440\u043e \u0437\u0430\u0431\u0443\u0434\u0435\u043c<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/ffe\/1b5\/348\/ffe1b5348de04c2c83a8dc53c88a0e94.png\"\/><\/p>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043d\u0430\u0448 \u043d\u043e\u0432\u044b\u0439 \u043b\u0443\u0447\u0448\u0438\u0439 \u0434\u0440\u0443\u0433 \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u0437\u0430\u043c\u0430\u043d\u0447\u0438\u0432\u044b\u0439 \u0431\u0435\u043b\u044b\u0439 \u0445\u043e\u043b\u0441\u0442, \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0441\u0442\u044f\u043d\u0443\u0442\u044c \u0435\u0433\u043e \u0434\u0430\u0436\u0435 \u043d\u0430 \u0432\u0441\u044e \u0434\u043b\u0438\u043d\u0443 \u0438\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0432\u0435\u0441\u044c \u044d\u043a\u0440\u0430\u043d.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/3ad\/a1b\/1b7\/3ada1b1b7c4f4a8ebe47222aa0902ab1.png\"\/><\/p>\n<p>  \u0421\u043f\u0430\u0441\u0438\u0431\u043e \u043c\u043e\u0435\u043c\u0443 \u043a\u043e\u043b\u043b\u0435\u0433\u0435: \u043e\u043d \u043e\u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0438\u043b \u043c\u043e\u044e \u0434\u0430\u0432\u043d\u0438\u0448\u043d\u044e\u044e \u043c\u0435\u0447\u0442\u0443 \u2014 \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u0432 \u043d\u043e\u0432\u043e\u043c \u043e\u043a\u043d\u0435. \u0410 \u0442\u043e \u0432\u0441\u0435\u0433\u0434\u0430 \u043d\u0430\u043f\u0440\u044f\u0433\u0430\u043b\u043e, \u0447\u0442\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0442\u043a\u0440\u044b\u043b \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u043b \u0432\u043a\u043b\u0430\u0434\u043a\u0438 \u043a\u0430\u043a \u0442\u0435\u0431\u0435 \u043d\u0430\u0434\u043e, \u0442\u0430\u043a \u0441\u0440\u0430\u0437\u0443 \u0436\u0435 \u043f\u0440\u0438 \u043f\u0435\u0440\u0432\u043e\u043c \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u0435 \u0432\u0441\u0451 \u0437\u0430\u043f\u043e\u0440\u043e\u043b\u043e\u0441\u044c. \u0427\u0442\u043e\u0431\u044b \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0431\u044b\u043b\u043e \u0438\u0434\u0435\u043c <b>Xcode -&gt; Behaviours -&gt; Edit behaviours&#8230;<\/b> \u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u0430 \u0441\u0435\u043a\u0446\u0438\u044f <b>Running -&gt; Pause<\/b>. <br \/>  \u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c <b>Show tab named<\/b>, \u043f\u0438\u0448\u0435\u043c \u0442\u0443\u0434\u0430 \u043d\u0430\u0448\u0435 \u0443\u043d\u0438\u043a\u0430\u043b\u044c\u043d\u043e\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435 \u0432\u043a\u043b\u0430\u0434\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <b>Debug<\/b> (\u0437\u0430\u043c\u0435\u0447\u0443, \u0447\u0442\u043e \u043f\u0440\u0438 \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u044b\u0445 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0445 \u0432\u043a\u043b\u0430\u0434\u043a\u0430 \u043d\u0435 \u0434\u0443\u0431\u043b\u0438\u0440\u0443\u0435\u0442\u0441\u044f), \u0432 \u043a\u043e\u043d\u0446\u0435 \u0441\u0442\u0430\u0432\u0438\u043c <b>active window<\/b> \u2014 \u044d\u0442\u043e, \u043a\u0430\u043a \u043d\u0438 \u0441\u0442\u0440\u0430\u043d\u043d\u043e, \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043d\u043e\u0432\u0443\u044e \u0432\u043a\u043b\u0430\u0434\u043a\u0443 (Cmd + T) \u0434\u043b\u044f \u043d\u0430\u0448\u0435\u0433\u043e \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430. \u0415\u0448\u0451 \u044f \u0441\u043a\u0440\u044b\u043b \u043d\u0435\u043d\u0443\u0436\u043d\u0443\u044e \u043f\u0440\u0430\u0432\u0443\u044e \u043f\u0430\u043d\u0435\u043b\u044c \u2014 \u043d\u043e \u044d\u0442\u043e \u043f\u043e \u0436\u0435\u043b\u0430\u043d\u0438\u044e. \u0412\u043e\u043e\u0431\u0449\u0435 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u044f \u0441\u0440\u0435\u0434\u044b \u043f\u0440\u0438 \u0440\u0430\u0437\u043d\u044b\u0445 \u0443\u0441\u043b\u043e\u0432\u0438\u044f\u0445 \u2014 \u044d\u0442\u043e \u0432 \u0440\u0430\u0437\u0434\u0435\u043b\u0435 <b>Behaviours<\/b><\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/c44\/dd1\/55b\/c44dd155b4a34e668aaaf39be5de83dc.png\" alt=\"image\"\/><\/p>\n<p>  \u0412\u0441\u0451, \u043c\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u044b, \u0434\u0432\u0438\u0433\u0430\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435.<\/p>\n<h4><b>\u0423\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c<\/b><\/h4>\n<p>  \u0414\u043e\u0431\u0430\u0432\u043b\u044f\u0435\u043c \u0441\u0440\u0430\u0437\u0443 \u0432 \u043a\u043e\u043f\u0438\u043b\u043a\u0443 \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 hotkey&#8217;\u0435\u0432 \u043a\u0442\u043e \u043d\u0435 \u0437\u043d\u0430\u043b <b>Cmd + Shift + C<\/b>. \u042d\u0442\u043e \u0431\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<br \/>  <b>\u0421md + Shift + Y<\/b> \u2014 \u044d\u0442\u043e \u0441\u043a\u0440\u044b\u0442\u044c\/\u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c.<br \/>  \u041d\u0430\u0448\u0438 \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>  <b>Step Into<\/b> \u2014 <b>step<\/b> \u0438\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e <b>s<\/b><br \/>  <b>Step Over<\/b> \u2014 <b>next<\/b> \u0438\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e <b>n<\/b><br \/>  <b>Step Out<\/b> \u2014 <b>finish<\/b><br \/>  <b>Continue<\/b> \u2014 <b>continue<\/b> \u0438\u043b\u0438 <b>c<\/b><br \/>  \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u044b \u2014 <b>breakpoint disable<\/b><br \/>  \u0417\u0430 \u043f\u043e\u043b\u043d\u044b\u043c \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u043a\u043e\u043c\u0430\u043d\u0434 lldb \u043c\u043e\u0436\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0432\u043e\u0442 <a href=\"http:\/\/lldb.llvm.org\/lldb-gdb.html\">\u0441\u044e\u0434\u0430<\/a><br \/>  \u041d\u0435 \u0431\u0443\u0434\u0443 \u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u044f\u0442\u044c \u0432\u0441\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u044f\u043c\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434 LLDB, \u043d\u043e \u0438\u0445 \u0441\u043f\u0438\u0441\u043e\u043a \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u0430\u044f \u0441\u0440\u0435\u0434\u0430 Xcode \u0438 \u043a\u0430\u0436\u0434\u044b\u0439 \u0441\u0430\u043c \u0432\u043f\u0440\u0430\u0432\u0435 \u0440\u0435\u0448\u0438\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0435\u043c\u0443 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u0438\u043b\u0438 \u043d\u0435\u0442 \u0438 \u043a\u0430\u043a\u0438\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043d\u0443\u0436\u043d\u044b \u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b. \u041e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u044e\u0441\u044c \u043d\u0430 \u0442\u043e\u043c, \u0447\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043b \u043a\u0443\u0434\u0430 \u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c.<br \/>  \u0423\u0434\u043e\u0431\u0441\u0442\u0432\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434 \u0435\u0449\u0435 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0439 \u043a\u0430\u043a \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u043a \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439\/\u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435 \u0447\u0435\u0440\u0435\u0437 \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u0432\u0432\u0435\u0440\u0445-\u0432\u043d\u0438\u0437.<br \/>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043d\u0430\u0448\u0430 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/145\/d01\/d87\/145d01d8778a47f3a4e2a80d5b72e9c8.png\"\/><\/p>\n<h4><b>Swift \u0438 obj-c! \u0427\u0442\u043e \u0432\u043d\u0443\u0442\u0440\u0438 \u043e\u0431\u044a\u0435\u043a\u0442\u0430?<\/b><\/h4>\n<p>  \u041d\u0435 \u0437\u043d\u0430\u044e \u043a\u0430\u043a \u0432\u0430\u043c, \u043d\u043e \u043c\u043d\u0435 \u043d\u0435 \u043f\u043e\u0432\u0435\u0437\u043b\u043e \u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0440\u043e\u0435\u043a\u0442 \u043d\u0430 Swift \u0441 \u043d\u0443\u043b\u044f, \u0430 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u0441 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u043d\u043e\u0432\u043e\u0433\u043e \u044f\u0437\u044b\u043a\u0430 \u0432 \u043e\u0433\u0440\u043e\u043c\u043d\u043e\u043c obj-c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u0432\u0441\u0435 \u043d\u043e\u0432\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u043f\u0438\u0441\u0430\u0442\u044c \u043d\u0430 Swifte. \u041d\u0435 \u043f\u0438\u0448\u0443 \u043f\u0440\u043e \u0432\u0441\u0435 \u043d\u0435\u0441\u043e\u0441\u0442\u044b\u043a\u043e\u0432\u043a\u0438, \u043d\u043e \u043e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432 \u043e\u0442\u043b\u0430\u0434\u043a\u0435, \u043d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0432 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u043c:<br \/>  \u0421\u043e\u0437\u0434\u0430\u0435\u043c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043a\u043b\u0430\u0441\u0441 \u043c\u043e\u0434\u0435\u043b\u0438 \u043d\u0430 Swift<\/p>\n<pre><code>class TestObject: NSObject {     var name: String = &quot;name&quot;     var index: Int = 123 } <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0438\u0448\u0435\u043c \u043d\u0430 obj-c \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u043c\u0430\u0441\u0441\u0438\u0432 \u0441 \u043d\u0430\u0448\u0438\u043c \u043a\u043b\u0430\u0441\u0441\u043e\u043c:  <\/p>\n<pre><code class=\"objectivec\">NSArray *array = @[[[TestObject alloc] init],                  [[TestObject alloc] init],                  [[TestObject alloc] init]]; <\/code><\/pre>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u0442\u0430\u0432\u0438\u043c \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442 \u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u0438 \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u0431\u044b \u043c\u044b \u0443\u0432\u0438\u0434\u0435\u043b\u0438 \u0432 Variables:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/135\/adb\/f00\/135adbf006844603b47938b953e2ba38.png\" alt=\"image\"\/><\/p>\n<p>  \u0417\u043d\u0430\u043a\u043e\u043c\u043e? \u0410 \u0433\u0434\u0435 \u0436\u0435 \u043d\u0430\u0448\u0438 <b>name<\/b> \u0438 <b>index<\/b><br \/>  \u0422\u0435\u043f\u0435\u0440\u044c \u0441\u043c\u043e\u0442\u0440\u0438\u043c, \u0447\u0442\u043e \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0441\u0430\u043c\u0438 \u0440\u0443\u043a\u0430\u043c\u0438 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0435:<\/p>\n<pre><code class=\"bash\">(lldb) p array (__NSArrayI *) $0 = 0x00007f9a1878c6b0 @&quot;3 objects&quot; (lldb) po array &lt;__NSArrayI 0x7f9a1878c6b0&gt;( &lt;CornerApp.TestObject: 0x7f9a1870fc60&gt;, &lt;CornerApp.TestObject: 0x7f9a1878c650&gt;, &lt;CornerApp.TestObject: 0x7f9a1878c680&gt; )  (lldb) po [array debugDescription] &lt;__NSArrayI 0x7f9a1878c6b0&gt;( &lt;CornerApp.TestObject: 0x7f9a1870fc60&gt;, &lt;CornerApp.TestObject: 0x7f9a1878c650&gt;, &lt;CornerApp.TestObject: 0x7f9a1878c680&gt; )  (lldb) po array[0] &lt;CornerApp.TestObject: 0x7f9a1870fc60&gt;  (lldb) po array[0].name error: property 'name' not found on object of type 'id' error: 1 errors parsing expression (lldb) po [array[0] name] name  (lldb)  <\/code><\/pre>\n<p>  <b>p<\/b> \u2014 \u044d\u0442\u043e <b>print<\/b><br \/>  <b>po<\/b> \u2014 \u044d\u0442\u043e <b>print object<\/b>, \u043a\u0438\u0434\u0430\u0435\u0442 \u043e\u0431\u044a\u0435\u043a\u0442\u0443 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 description, \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430\u043c \u0435\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 debugDescription<br \/>  <b>po array[0].name<\/b> \u2014 \u043d\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0442, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u043d\u0443\u043b\u0435\u0432\u043e\u0439 \u044d\u043b\u0435\u043c\u0435\u043d\u0442 \u0432 \u043c\u0430\u0441\u0441\u0438\u0432\u0435 \u0442\u0438\u043f\u0430 id. \u0410 \u0432\u043e\u0442 \u043f\u043e\u0441\u044b\u043b\u043a\u0430 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f <b>name<\/b> (po [<b>array[0] name]<\/b>) \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442. \u041d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c, \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e obj-c \u2014 \u044d\u0442\u043e message oriented \u044f\u0437\u044b\u043a \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f.<\/p>\n<h4><b>\u041d\u0430\u0439\u0434\u0438 \u043c\u0435\u043d\u044f<\/b><\/h4>\n<p>  \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043a\u0435\u0439\u0441: \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c API \u2014 \u043c\u044b \u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0437\u0430 \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0441\u0442\u0440\u0430\u043d, \u043f\u043e\u0442\u043e\u043c \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u0443\u0435\u043c \u0438\u0445 \u0432\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044e\u044e \u043b\u043e\u0433\u0438\u043a\u0443 \u0438 \u0433\u0434\u0435-\u0442\u043e \u0445\u0440\u0430\u043d\u0438\u043c. \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u043d\u0430\u0448\u0430 modelView \u0438\u0434\u0435\u0442 \u0437\u0430 \u0434\u0430\u043d\u043d\u044b\u043c\u0438 \u0432 \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0438 \u0438\u0449\u0435\u0442 \u043c\u043e\u0434\u0435\u043b\u044c\u043a\u0443 \u0432 \u0441\u043b\u043e\u0432\u0430\u0440\u0435 \u043f\u043e \u043a\u043b\u044e\u0447\u0443:  <\/p>\n<pre><code class=\"objectivec\">- (CACountry *)countryByCode:(NSString *)code {     return  [_countries objectForKey:code]; } <\/code><\/pre>\n<p>  \u0427\u0442\u043e \u043c\u044b \u0432\u0438\u0434\u0438\u043c \u0432 Variables? 242 \u0441\u0442\u0440\u0430\u043d\u044b, \u043e\u0442\u043b\u0438\u0447\u043d\u043e, \u043a\u0430\u043a \u043d\u0430\u043c \u0431\u044b\u0441\u0442\u0440\u043e \u043d\u0430\u0439\u0442\u0438 \u0420\u043e\u0441\u0441\u0438\u044e?<br \/>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/0b0\/add\/205\/0b0add205fc446f681d05347effd6dc8.png\" alt=\"image\"\/><\/p>\n<p>  \u0417\u043d\u0430\u044e, \u0432\u043e\u0442 \u0442\u0430\u043a:  <\/p>\n<pre><code class=\"bash\">(lldb) po [_countries objectForKey:@&quot;RU&quot;] &lt;CACountry: 0x7fae00630ba0&gt;  (lldb) po [[[_countries objectForKey:@&quot;RU&quot;] title] string] \u0420\u043e\u0441\u0441\u0438\u044f <\/code><\/pre>\n<p>  \u0418 \u0445\u043e\u0447\u0443 \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0432 \u0441\u0442\u0440\u043e\u043a\u0435 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u0430 \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0430\u0432\u0442\u043e\u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043f\u043e\u0441\u044b\u043b\u043a\u0438 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0439 \u0432 objective-c<\/p>\n<h4><b>\u041c\u0430\u0433\u0438\u0447\u0435\u0441\u043a\u0438\u0435 UIView<\/b><\/h4>\n<p>  \u041d\u0430\u0432\u0435\u0440\u043d\u044f\u043a\u0430, \u0435\u0441\u043b\u0438 \u0434\u0435\u043b\u0430\u043b\u0438 \u043a\u0430\u043a\u043e\u0439-\u043d\u0438\u0431\u0443\u0434\u044c \u043d\u0435\u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u044b\u0439 UI \u0431\u044b\u043b\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438, \u043a\u043e\u0433\u0434\u0430 \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0432 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0435 \u0441\u044a\u0435\u0445\u0430\u043b\u043e \u0438 \u043d\u0443\u0436\u043d\u043e \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f, \u043a\u0442\u043e \u0432\u0438\u043d\u043e\u0432\u0430\u0442. \u041f\u0440\u0438 \u044d\u0442\u043e \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u043a \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u0433\u0440\u043e\u0437\u0438\u0442 \u0442\u0435\u043c, \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442 \u043d\u0435 \u0443\u0434\u0430\u0441\u0442\u0441\u044f \u0432\u043e\u0441\u043f\u0440\u043e\u0438\u0437\u0432\u0435\u0441\u0442\u0438 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e. \u0412\u043e\u0442 \u0442\u0443\u0442-\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u043d\u0435\u0437\u0430\u043c\u0435\u043d\u0438\u043c\u0430.<br \/>  \u0412 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0433\u043e  <\/p>\n<pre><code class=\"bash\">(lldb) po self.view.subviews <\/code><\/pre>\n<p>  \u0443\u0432\u0438\u0434\u0438\u043c \u0447\u0442\u043e-\u0442\u043e \u0432\u0440\u043e\u0434\u0435 \u0442\u0430\u043a\u043e\u0433\u043e:  <\/p>\n<pre><code class=\"bash\">&lt;UICollectionView: 0x7fd9fb81a200; frame = (0 0; 375 667); clipsToBounds = YES; opaque = NO; autoresize = W+H; gestureRecognizers = &lt;NSArray: 0x7fd9fb416cb0&gt;; layer = &lt;CALayer: 0x7fd9fb4067f0&gt;; contentOffset: {0, -180}; contentSize: {375, 843}&gt; collection view layout: &lt;TGLStackedLayout: 0x7fd9fb410000&gt;, &lt;CASortView: 0x7fd9fb4468c0; frame = (67.5 607; 240 60); clipsToBounds = YES; alpha = 0; opaque = NO; autoresize = RM+BM; layer = &lt;CALayer: 0x7fd9fb481290&gt;&gt;, &lt;UIView: 0x7fd9fb47e240; frame = (0 0; 375 687); alpha = 0; layer = &lt;CALayer: 0x7fd9fb4895a0&gt;&gt; <\/code><\/pre>\n<p>  \u0421\u0440\u0430\u0437\u0443 \u0432\u0438\u0434\u0438\u043c \u043d\u0430\u0431\u043e\u0440 view, \u0438\u0445 \u0444\u0440\u0435\u0439\u043c\u044b, \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430, \u0432\u0441\u0451 \u0442\u043e, \u0447\u0442\u043e \u0437\u0430\u043f\u0438\u0445\u043d\u0443\u043b\u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0438 Apple \u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u0435 description.<br \/>  \u0415\u0441\u043b\u0438 \u043d\u0443\u0436\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043c\u043e\u0436\u0435\u043c \u0443\u0442\u043e\u0447\u043d\u0438\u0442\u044c \u043a\u0430\u043a\u043e\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u043e, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432 \u043f\u0430\u043c\u044f\u0442\u0438 \u043d\u0430\u043f\u0440\u044f\u043c\u0443\u044e:  <\/p>\n<pre><code class=\"bash\">(lldb) po [0x7fae2b792ba0 backgroundColor] UIDeviceWhiteColorSpace 0 1 <\/code><\/pre>\n<p>  \u0410 \u0432\u043e\u0442 \u0432\u0430\u043c \u043d\u0430\u043f\u043e\u0441\u043b\u0435\u0434\u043e\u043a \u043a\u0443\u0441\u043e\u043a \u043a\u043e\u0434\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0441\u0442\u0430\u0432\u0430\u0442\u044c \u043f\u043e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0432\u0441\u0435 view \u0437\u0430\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430, \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u043c. \u0421\u0430\u043c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e.  <\/p>\n<pre><code>import UIKit  extension UIView {          func debugAllSubviewsOfClass(cls: AnyClass) -&gt; [String] {         func goDeepAndPrint(inout views: [String], currentView: UIView) {             for v in currentView.debugSubview() {                 views.append(v.debugDescriptionWithParent())                 goDeepAndPrint(&views, currentView:v)             }         }         var views = [String]()         goDeepAndPrint(&views, currentView:self)         return views     }          func debugDescriptionWithParent() -&gt; String {         let parentAddress = self.superview != nil ? String(format: &quot;%p&quot;, self.superview!) : &quot;nil&quot;         return &quot;\\(self.description), parent = \\(parentAddress)&quot;     }          func debugSubview() -&gt; [UIView] {         return self.subviews     } }  extension UITableView {          override func debugSubview() -&gt; [UIView] {         return self.subviews + self.visibleCells     } }  extension UICollectionView {          override func debugSubview() -&gt; [UIView] {         return self.subviews + self.visibleCells()     } } <\/code><\/pre>\n<p>  <\/p>\n<h4><b>Summary<\/b><\/h4>\n<p>  <\/p>\n<ul>\n<li>\u0421 \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0435\u0440\u0435\u0437 \u043a\u043d\u043e\u043f\u043e\u0447\u043a\u0438 Xcode.<\/li>\n<li>\u041a\u0430\u043a \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u0438\u0435 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u043f\u0440\u0438 \u043e\u0442\u043b\u0430\u0434\u043a\u0435 \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435? \u0421\u0430\u043c\u043e\u0435 \u043d\u0430\u0447\u0430\u043b\u043e \u2014 \u0431\u043e\u043b\u044c\u0448\u0430\u044f \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0430<\/li>\n<li>\u0411\u044b\u0441\u0442\u0440\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u2014 <b>Cmd + Shift + C<\/b>,<br \/>  \u0441\u0432\u0435\u0440\u043d\u0443\u0442\u044c\/\u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u044c \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u2014 <b>Cmd + Shift + Y<\/b><\/li>\n<li>\u041d\u0430\u0448\u0438 \u043d\u043e\u0432\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<br \/>  <b>Step Into<\/b> \u2014 <b>step<\/b> \u0438\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e <b>s<\/b><br \/>  <b>Step Over<\/b> \u2014 <b>next<\/b> \u0438\u043b\u0438 \u043a\u043e\u0440\u043e\u0442\u043a\u043e <b>n<\/b><br \/>  <b>Continue<\/b> \u2014 <b>continue<\/b> \u0438\u043b\u0438 <b>c<\/b><br \/>  \u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0432\u0441\u0435 \u0431\u0440\u0435\u0439\u043a\u043f\u043e\u0438\u043d\u0442\u044b \u2014 <b>breakpoint disable<\/b><br \/>  \u0412\u043e\u0442 <a href=\"http:\/\/lldb.llvm.org\/lldb-gdb.html\">\u0442\u0443\u0442<\/a> \u0432\u0435\u0441\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u043a\u043e\u043c\u0430\u043d\u0434 LLDB.<\/li>\n<li>Obj-c \u043d\u0435 \u0432\u0438\u0434\u0438\u0442 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 Swift-\u043e\u0432\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430? \u041d\u0435 \u0431\u0435\u0434\u0430:<br \/> \n<pre><code class=\"bash\">(lldb) po [array[0] name] <\/code><\/pre>\n<\/li>\n<li>\u0412 \u043e\u043a\u043d\u0435 variables 242 \u043a\u043b\u044e\u0447\u0430 \u0443 \u0441\u043b\u043e\u0432\u0430\u0440\u044f?<br \/>  \u0418\u0449\u0435\u043c \u0431\u044b\u0441\u0442\u0440\u043e:<br \/> \n<pre><code class=\"bash\">(lldb) po [[[_countries objectForKey:@&quot;RU&quot;] title] string] \u0420\u043e\u0441\u0441\u0438\u044f <\/code><\/pre>\n<\/li>\n<li>\u041e\u0431\u043b\u0435\u0433\u0447\u0430\u0435\u043c \u0441\u0435\u0431\u0435 \u043e\u0442\u043b\u0430\u0434\u043a\u0443 UIView \u2014 \u0447\u0443\u0442\u044c \u0432\u044b\u0448\u0435 summary \u0435\u0441\u0442\u044c \u043d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0430<\/li>\n<\/ul>\n<p>  \u0412\u0441\u0435\u043c \u0441\u043f\u0430\u0441\u0438\u0431\u043e, \u043a\u0442\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u043b. \u041d\u0430\u0434\u0435\u044e\u0441\u044c \u043f\u0430\u0440\u0443 \u043f\u0440\u0438\u0451\u043c\u0447\u0438\u043a\u043e\u0432 \u043a\u0442\u043e-\u0442\u043e \u0434\u043b\u044f \u0441\u0435\u0431\u044f \u043d\u043e\u0432\u044b\u0445 \u043e\u0442\u043a\u0440\u044b\u043b.<br \/>  \u041e\u043f\u0438\u0441\u0430\u043b \u043a\u0430\u0436\u0434\u0443\u044e \u0438\u0437 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439 \u043d\u0435 \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u043e, \u043d\u043e \u0441\u0442\u0430\u0440\u0430\u043b\u0441\u044f \u043f\u043e\u043a\u0430\u0437\u0430\u0442\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435, \u043a\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u2014 \u043c\u043e\u0436\u0435\u0442 \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0433\u043b\u0443\u0431\u0436\u0435 \u0438\u043b\u0438 \u0441\u043f\u0440\u043e\u0441\u0438\u0442\u044c \u0432 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u0445!               <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/269095\/\"> http:\/\/habrahabr.ru\/post\/269095\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       \u041e\u0434\u043d\u0430\u0436\u0434\u044b \u044f \u043f\u043e\u0447\u0442\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043e\u0442\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u043e\u0442 \u043c\u044b\u0448\u043a\u0438 \u0434\u043b\u044f \u043d\u0430\u0432\u0438\u0433\u0430\u0446\u0438\u0438 \u043f\u043e Xcode \u0438 \u0432\u043f\u043e\u043b\u043d\u0435 \u044d\u0442\u043e\u043c\u0443 \u0440\u0430\u0434. \u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u0448\u0430\u0433 \u2014 \u044d\u0442\u043e \u043e\u0442\u043a\u0430\u0437 \u043e\u0442 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0445 \u0441\u0440\u0435\u0434\u0441\u0442\u0432 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a\u043e\u043c. \u0417\u0430\u0447\u0435\u043c? \u2014 \u0423\u0432\u0435\u043b\u0438\u0447\u0438\u0432\u0430\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438, \u0443\u043c\u0435\u043d\u044c\u0448\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u044f \u0434\u0435\u0431\u0430\u0433\u0430, \u0442\u0440\u0430\u0442\u0438\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u043a\u0430\u043b\u043e\u0440\u0438\u0439 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u044f \u0442\u044f\u0436\u0435\u043b\u0435\u043d\u044c\u043a\u043e\u0439 \u0440\u0443\u0447\u0438\u0448\u043a\u0438 (\u043d\u0430\u043c \u043a\u0430\u043b\u043e\u0440\u0438\u0438 \u043d\u0443\u0436\u043d\u044b, \u0447\u0442\u043e\u0431\u044b \u0433\u043e\u043b\u043e\u0432\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c) \u0438 \u0442\u0435\u043c \u0441\u0430\u043c\u044b\u043c \u043f\u0440\u043e\u0432\u043e\u0446\u0438\u0440\u0443\u0435\u043c \u043c\u0435\u043d\u044c\u0448\u0435 \u0442\u0443\u043d\u043d\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u0441\u0438\u043d\u0434\u0440\u043e\u043c\u0430. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/files\/822\/32e\/ac4\/82232eac445f4134b817799f8eafb54b.png\"\/>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-268334","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=268334"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/268334\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=268334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=268334"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=268334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}