{"id":295796,"date":"2019-12-17T16:27:41","date_gmt":"2019-12-17T16:27:41","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=295796"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=295796","title":{"rendered":"\u042f\u043d\u0434\u0435\u043a\u0441.\u041a\u0430\u0440\u0442\u044b: \u0417\u0430\u0448\u0435\u043b \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u043a\u0430\u0440\u0442 \u2014 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043f\u043e\u0437\u0438\u0446\u0438\u044e \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f (\u043e\u043a\u0435\u0439, \u043d\u0443 \u0430 \u0442\u0435\u043f\u0435\u0440\u044c \u0441\u0435\u0440\u044c\u0435\u0437\u043d\u043e)"},"content":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/479432\/\">\u0421\u043d\u043e\u0432\u0430 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e!<\/p>\n<p>  \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e, \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0442\u0430\u043d\u043d\u0443\u044e \u043b\u044e\u0431\u043e\u0432\u044c\u044e \u043a \u042f\u043d\u0434\u0435\u043a\u0441.\u041a\u0430\u0440\u0442\u0430\u043c. \u041f\u043e\u044d\u043c\u0443. \u041e\u0434\u0443. \u0412\u043e\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u043d\u0430 <a href=\"https:\/\/habr.com\/ru\/post\/479102\/\">habr.com\/ru\/post\/479102<\/a><\/p>\n<p>  \u0423\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u0432\u0448\u0438\u0441\u044c, \u0447\u0442\u043e \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043c\u0430\u043b\u043e \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u0441\u0442\u0438\u0445\u043e\u0432, \u044f \u0432\u0441\u0435 \u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0431\u043e\u043b\u0435\u0435 \u00ab\u043f\u043e-\u0425\u0410\u0411\u0420\u043e\u0432\u0441\u043a\u0438\u00bb. \u041b\u043e\u0432\u0438\u0442\u0435 \u043a\u0443\u0447\u043a\u0443 \u043a\u043e\u0434\u0430, \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u0439 \u0438 \u0441\u043a\u0440\u0438\u043d\u043e\u0432. \u041f\u043e\u0435\u0445\u0430\u043b\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c36\/cfb\/219\/c36cfb21967c60f0ee4a932e7e60dc43.jpg\" alt=\"image\"><br \/>  <a name=\"habracut\"><\/a><br \/>  \u041d\u0430\u0447\u043d\u0435\u043c \u0441\u043d\u0430\u0447\u0430\u043b\u0430. <\/p>\n<p>  \u0417\u0430\u0434\u0430\u0447\u0430 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u0430: <b>\u043f\u0440\u0438 \u0432\u0445\u043e\u0434\u0435 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u043d\u0443\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u00ab\u043e\u0442\u0437\u0443\u043c\u043c\u0438\u0442\u044c\u0441\u044f\u00bb \u043d\u0430 \u0442\u043e\u0447\u043a\u0443 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f (\u0431\u043e\u043d\u0443\u0441: \u043d\u0430\u0434\u043e \u0431\u044b \u0435\u0449\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u0432 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0432\u0438\u0434\u0435 \u0432\u043c\u0435\u0441\u0442\u0435 \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c\u0438 \u0430\u0442\u0438\u0431\u0443\u0442\u0430\u043c\u0438). <\/b><\/p>\n<p>  <u>\u0412\u0440\u0443\u0431\u0430\u0435\u043c \u0430\u043d\u0430\u043b\u0438\u0442\u0438\u043a\u0430: \u00ab\u0420\u0430\u0437\u0434\u0435\u043b\u044f\u0439 \u0438 \u0432\u043b\u0430\u0441\u0442\u0432\u0443\u0439\u00bb. <\/u><\/p>\n<p>  \u0414\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u043d\u043e\u0439 \u0446\u0435\u043b\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0440\u0435\u0448\u0438\u0442\u044c \u0440\u044f\u0434 \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u0431\u0438\u0437\u043d\u0435\u0441-\u0437\u0430\u0434\u0430\u0447, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e:<\/p>\n<p>  0. \u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441 \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u043c \u043c\u043e\u0434\u0443\u043b\u0435\u043c \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u0435\u0439 (\u041c\u0420\u0421\u0413), callBack-\u0430\u043c\u0438 \u0438 \u0442.\u0434.<\/p>\n<p>  1. \u041c\u0420\u0421\u0413 <br \/>   1.1 \u0420\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u041c\u0420\u0421\u0413<br \/>   1.2 \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u041c\u0420\u0421\u0413<br \/>   1.2.1 \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f<br \/>   1.2.2 \u041e\u0442\u0437\u0443\u043c\u043c\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u043d\u0435\u0433\u043e<br \/>  2*. \u041f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0430\u0434\u0440\u0435\u0441 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u0432 \u0447\u0438\u0442\u0430\u0435\u043c\u043e\u043c \u0444\u043e\u0440\u043c\u0430\u0442\u0435. <\/p>\n<p>  \u041f\u0435\u0440\u0435\u0445\u043e\u0434 \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 (VIPER + Configurator)<\/p>\n<pre><code class=\"swift\">extension AddPresenter: AddPresentationLogic {     \/\/ ...     func openMap(_ delegate: YandexMapSetPointViewControllerProtocol?) {            router.routeTo(target: .addPlace(delegate))      }     \/\/ ... }<\/code><\/pre>\n<p>  \u0414\u0435\u043b\u0435\u0433\u0430\u0442 \u0438\u043c\u0435\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0434\u043d\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0438 \u043d\u0443\u0436\u043d\u043e\u0439 \u0442\u043e\u0447\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0432\u0435\u0440\u043d\u0443\u0442\u044c \u0435\u0435 \u043f\u043e \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u0443 \u0432 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440, \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0438\u0439 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441 \u043a\u0430\u0440\u0442\u043e\u0439:<\/p>\n<pre><code class=\"swift\">protocol YandexMapSetPointViewControllerProtocol {     func didSelectPoint(_ place: Place) }<\/code><\/pre>\n<p>  \u0412 \u0434\u0435\u043b\u0435\u0433\u0430\u0442 \u043c\u044b \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u044f\u0435\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u044e\u0449\u0443\u044e \u0447\u0430\u0441\u0442\u044c \u0432\u044b\u0437\u044b\u0432\u0430\u044e\u0449\u0435\u0433\u043e \u043a\u043e\u0434\u0430. \u0422\u0443\u0442 \u043a\u0430\u043a \u0431\u044b \u0432\u0441\u0435 \u043f\u043e\u043d\u044f\u0442\u043d\u043e.<\/p>\n<p>  \u0412\u043e\u0442 \u0442\u0430\u043a \u043d\u0435\u0437\u0430\u0442\u0435\u0439\u043b\u0438\u0432\u043e \u043c\u044b \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u043c \u043d\u0430 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zx\/7v\/yu\/zx7vyupurluv41qjgddrpsseehk.png\" alt=\"image\"><\/p>\n<p>  \u041f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u0438\u0435 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u043e\u0447\u043d\u043e \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440\u0430 \u0438 \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 UIView \u043a\u0430\u0440\u0442. \u041f\u0440\u0435\u0434\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u0435, \u0447\u0442\u043e \u0437\u0443\u043c\u043c\u0438\u043d\u0433 \u0432\u043d\u0443\u0442\u0440\u0438 \u043a\u0430\u0440\u0442 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0432 \u0446\u0435\u043d\u0442\u0440 \u043e\u043a\u043d\u0430. \u0422\u0430\u043a \u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c. <\/p>\n<p>  \u041b\u0435\u0432\u0435\u0435 \u0438 \u0447\u0443\u0442\u044c \u043d\u0438\u0436\u0435 \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u0438\u044f \u2014 UILabel. \u0422\u0443\u0434\u0430 \u043f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0432\u044b\u0432\u043e\u0434\u0438\u0442\u044c \u0447\u0438\u0442\u0430\u0435\u043c\u044b \u0430\u0434\u0440\u0435\u0441. \u0421\u043f\u0440\u0430\u0432\u0430 \u043a\u043d\u043e\u043f\u043a\u0430 \u0441 UIActivityIndicator. \u0421\u043c\u044b\u0441\u043b \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e, \u043f\u043e\u043a\u0430 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u044b \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043d\u0435 \u043f\u0440\u0438\u0448\u043b\u0438, \u043e\u043d \u00ab\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f\u00bb \u0438 \u043a\u043d\u043e\u043f\u043a\u0430 \u0437\u0430\u0442\u0435\u043c\u043d\u0435\u043d\u0430 \u0438 disabled. \u041f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u0441 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u044b\u043c\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442\u0430\u043c\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u043c\u044b \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c \u043f\u0435\u0440\u0435\u043a\u0440\u0435\u0441\u0442\u0438\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e. <b>\u042d\u0442\u0430\u043a\u043e\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043f\u043e\u0437\u0438\u0446\u0438\u0438, \u043e\u0442\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u044f\u0441\u044c \u043e\u0442 \u043f\u043e\u0437\u0438\u0446\u0438\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/b> <\/p>\n<p>  \u0412\u043d\u0438\u0437\u0443 \u043a\u043d\u043e\u043f\u043a\u0430 \u00ab\u0412\u044b\u0431\u0440\u0430\u0442\u044c \u0442\u043e\u0447\u043a\u0443\u00bb. \u041f\u043e \u043d\u0430\u0436\u0430\u0442\u0438\u044e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u043c\u0430\u0433\u0438\u044f \u0431\u0438\u0437\u043d\u0435\u0441-\u043b\u043e\u0433\u0438\u043a\u0438:<\/p>\n<pre><code class=\"swift\">@IBAction func selectButtonWasPressed(_ sender: Any) {         let place = Place()         place.name = \"\u0423\u043a\u0430\u0437\u0430\u043d\u043d\u0430\u044f \u0433\u0435\u043e\u043f\u043e\u0437\u0438\u0446\u0438\u044f\"         place.point.latitude = \"\\(String(describing: selectedPoint!.latitude))\"         place.point.longitude = \"\\(String(describing: selectedPoint!.longitude))\"         place.addressText = selectedPointGeocoderedAddress                  delegate?.didSelectPoint(place)         navigationController?.popViewController(animated: true)     } <\/code><\/pre>\n<p>  <u>\u0423\u0440\u0430! \u041c\u044b \u043e\u0431\u0441\u0443\u0434\u0438\u043b\u0438 \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u044d\u0442\u0430\u043f! <\/u> <\/p>\n<p>  \u041f\u0440\u0438\u0441\u0442\u0443\u043f\u0430\u0435\u043c \u043a \u041c\u0420\u0421\u0413.<\/p>\n<p>  \u041d\u0438\u0436\u0435 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043d \u0442\u0430\u0431\u043b\u0438\u0447\u043d\u043e\u043e\u0431\u0440\u0430\u0437\u043d\u043e-\u043e\u0442\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0442\u0435\u043a\u0441\u0442, \u043e\u0442\u0440\u0430\u0436\u0430\u044e\u0449\u0438\u0439 <b>\u043b\u0438\u0447\u043d\u043e \u043c\u043e\u0438 \u043e\u0446\u0435\u043d\u043a\u0438 <\/b>(\u0441 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u043d\u0435\u0447\u0435\u0442\u043a\u043e\u0441\u0442\u0438) \u0441\u0430\u043c\u044b\u0445 \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u044b\u0445 (\u043d\u0430 \u0442\u043e\u0442 \u043c\u043e\u043c\u0435\u043d\u0442 \u044f \u043d\u0435 \u0437\u043d\u0430\u043b \u043f\u0440\u043e <u><i><a href=\"http:\/\/www.openstreetmap.org\">www.openstreetmap.org<\/a><\/i><\/u>, \u0441\u043f\u0430\u0441\u0438\u0431\u043e, <a href=\"https:\/\/habr.com\/ru\/users\/daglob\/\" class=\"user_link\">daglob<\/a>) \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u044b\u0445 \u043c\u043e\u0434\u0443\u043b\u0435\u0439 \u043a\u0430\u0440\u0442. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/qx\/sa\/mv\/qxsamvrveuo9d9cnrk_0cc9x73e.png\"><\/p>\n<p>  \u00ab\u0422\u0430\u043a \u043a\u0430\u043a \u0437\u0430\u0434\u0430\u0447\u0430 \u043f\u0440\u043e\u0441\u0442\u0430\u044f, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e-\u043a\u0430 \u042f\u043d\u0434\u0435\u043a\u0441.\u041a\u0430\u0440\u0442\u044b. \u041e\u043d\u0438 \u043a\u0440\u0430\u0441\u0438\u0432\u044b\u0435, \u0448\u0443\u0441\u0442\u0440\u044b\u0435&#8230;\u00bb \u2014 \u043f\u043e\u0434\u0443\u043c\u0430\u043b \u044f.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u043a\u043e\u043c\u0443 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u043a\u0430\u043a \u044d\u0442\u043e \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c, \u2014 \u043d\u0430\u043f\u0438\u0448\u0438\u0442\u0435 \u043c\u0438\u043d\u0438\u043f\u0440\u043e\u0435\u043a\u0442, \u043d\u043e, \u0435\u0441\u043b\u0438 \u043b\u0435\u043d\u044c \u2014 <a href=\"https:\/\/tech.yandex.ru\/maps\/mapkit\/?from=mapsapi\">tech.yandex.ru\/maps\/mapkit\/?from=mapsapi<\/a>, \u0432\u0441\u0442\u0430\u0432\u0430\u0439 \u043d\u0430 \u0440\u0435\u043b\u044c\u0441\u044b \u043c\u043e\u0435\u0433\u043e \u043f\u0443\u0442\u0438. \u041d\u0430\u0447\u0430\u0442\u044c \u043d\u0435\u0441\u043b\u043e\u0436\u043d\u043e. <\/p>\n<p>  \u0424\u0430\u043a\u0442 \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0432 \u0442\u0430\u043a\u043e\u043c \u0432\u0438\u0434\u0435:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/7s\/zu\/aa\/7szuaaqboitjjfwfa7rib56wcfg.png\"><\/p>\n<p>  \u041e\u0431\u0440\u0430\u0442\u0438\u0442\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043d\u0430 \u0441\u043a\u0443\u0434\u043d\u043e\u0435 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0438 \u043e\u0433\u0440\u043e\u043c\u043d\u044b\u0439 \u0441\u043f\u0438\u0441\u043e\u043a \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432 \u0441\u043b\u0435\u0432\u0430. \u0427\u0451\u0440\u0442 \u043d\u043e\u0433\u0443 \u0441\u043b\u043e\u043c\u0438\u0442.<br \/>  \u00ab\u041d\u0430\u0432\u0435\u0440\u043d\u043e\u0435, \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442 \u043e\u0442\u0432\u0435\u0442\u0438\u0442 \u043d\u0430 \u043c\u043e\u0438 \u0432\u043e\u043f\u0440\u043e\u0441\u044b\u00bb. \u041d\u0443 \u043d\u0443. <\/p>\n<p>  \u0412\u043e\u0442 \u044d\u0442\u043e\u0442 \u0437\u0432\u0435\u0440\u044c. <a href=\"https:\/\/github.com\/yandex\/mapkit-ios-demo\">github.com\/yandex\/mapkit-ios-demo<\/a><br \/>  \u0420\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u0441\u0432\u043e\u0435\u0439 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u044f \u0442\u0430\u043c \u043d\u0435 \u0443\u0432\u0438\u0434\u0435\u043b. <br \/>   \u2014 \u041b\u0430\u0434\u043d\u043e, \u2014 \u0434\u0443\u043c\u0430\u044e \u2014 \u043e\u043f\u044b\u0442\u0430 \u043c\u043d\u0435 \u0445\u0432\u0430\u0442\u0438\u0442, \u044f \u043b\u0438 \u043d\u0435 \u0440\u0430\u0437\u0440\u0430\u0431.<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/dl\/-h\/7t\/dl-h7tjvei8fgovgu0ztbcx6eyy.gif\"><\/p>\n<p>  \u0421\u043e\u0431\u0440\u0430\u043b \u0442\u0435\u0441\u0442\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0435\u043a\u0442, \u0434\u043e\u043b\u0433\u043e \u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043d\u0430 \u0444\u0438\u0447\u0443 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043c\u0430\u0440\u043a\u0435\u0440\u0430 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<\/p>\n<p>  \u041a\u043b\u044e\u0447\u0435\u0432\u044b\u0435 \u043c\u043e\u043c\u0435\u043d\u0442\u044b:<br \/>  \u0415\u0441\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442:<\/p>\n<pre><code class=\"swift\">@IBOutlet weak var mapView: YMKMapView! \/\/ \u0438 YMKUserLocationObjectListener - \u0441\u043b\u0443\u0448\u0430\u0442\u0435\u043b\u044c, \u043f\u043e\u043b\u0443\u0447\u0430\u044e\u0449\u0438\u0439 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f<\/code><\/pre>\n<p>  \u00ab\u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0435 \u043b\u043e\u0433\u0438\u0447\u043d\u043e\u00bb \u0441\u043a\u0430\u0436\u0435\u0442\u0435 \u0432\u044b. \u0410\u043d \u043d\u0435\u0442. \u041f\u0440\u043e\u0438\u043c\u043f\u043b\u0435\u043c\u0435\u043d\u0442\u0438\u0432 \u043c\u0435\u0442\u043e\u0434\u044b:<\/p>\n<pre><code class=\"swift\">    func onObjectAdded(with view: YMKUserLocationView) {}      func onObjectRemoved(with view: YMKUserLocationView) {}      func onObjectUpdated(with view: YMKUserLocationView, event: YMKObjectEvent) {}<\/code><\/pre>\n<p>  \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0430\u0435\u043c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u043a point.lat \u0438 point.long \u043a\u0440\u0430\u0439\u043d\u0435 \u043d\u0435\u043f\u0440\u043e\u0441\u0442\u044b\u043c\u0438 \u043f\u0443\u0442\u044f\u043c\u0438. <br \/>  \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0432\u043e\u0442 \u0442\u0430\u043a:<\/p>\n<pre><code class=\"swift\">userLocation = YMKPoint(latitude: view.pin.geometry.latitude, longitude: view.pin.geometry.longitude)<\/code><\/pre>\n<p>  \u0412\u0440\u0435\u043c\u044f \u043e\u0436\u0438\u0434\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0433\u0440\u0443\u0437\u043a\u0438 \u043a\u043e\u043e\u0440\u0434\u0438\u043d\u0430\u0442 \u0432\u0430\u0440\u044c\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u0442\u0430\u043a\u043e\u043c \u043f\u043e\u0434\u0445\u043e\u0434\u0435 \u043e\u0442 2 \u0434\u043e 50 \u0441\u0435\u043a\u0443\u043d\u0434. <\/p>\n<p>  \u00ab\u0422\u044b \u043d\u0435\u043f\u0440\u0430\u0432, \u0442\u0430\u043c \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0446\u0435\u043b\u0435\u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043d\u044b\u0439 LocationManager\u00bb \u2014 \u0441\u043a\u0430\u0437\u0430\u043b \u044f \u0441\u0430\u043c \u0441\u0435\u0431\u0435. \u041a\u0430\u043a \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0434\u0430\u043b\u0435\u0435 \u2014 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e, \u0442\u0430\u043a\u043e\u0439 \u00ab\u0434\u0440\u0443\u0433\u00bb \u0435\u0441\u0442\u044c \u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438\u2026 \u041d\u041e \u0413\u0414\u0415 \u041f\u0420\u0418\u041c\u0415\u0420 \u0421 \u041d\u0418\u041c?!?<br \/>  \u0412 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u043c \u043f\u0440\u043e\u0435\u043a\u0442\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0442\u0430\u043a\u043e\u0433\u043e \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u043d\u0435\u0442:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pw\/ok\/fi\/pwokfiikcpwl70dbvsixdmnedxi.png\"><\/p>\n<p>   \u2014 \u041d\u0443 \u043b\u0430\u0434\u043d\u043e, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f, \u043e\u0441\u0442\u0430\u043b\u0438\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043c\u044b \u0441 \u0442\u043e\u0431\u043e\u0439.<br \/>   \u2014 \u0414\u0430 \u043d\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c, \u00ab\u043d\u043e\u0432\u0430\u0442\u043e\u0440\u00bb, \u043d\u0430\u0441\u043b\u0430\u0436\u0434\u0430\u0439\u0441\u044f:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/6f\/ze\/hl\/6fzehl2usa1mxgciyziz6h3rl1u.png\"><\/p>\n<p>  \u041f\u043e\u0434\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c UIViewController \u043d\u0430 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b (\u043d\u0430\u0434\u0435\u044e\u0441\u044c, \u043d\u0435 \u043d\u0430\u0434\u043e \u0442\u0443\u0442 \u043d\u0438\u0447\u0435\u0433\u043e \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043f\u043e\u044f\u0441\u043d\u044f\u0442\u044c, \u043d\u0443 \u0440\u0435\u0430\u043b\u044c\u043d\u043e, \u0440\u0435\u0431\u044f\u044f\u044f\u044f\u0442):<\/p>\n<pre><code class=\"swift\">\/\/ MARK: - \/\/ Params var userLocation: YMKPoint? {         didSet {             guard userLocation != nil &amp;&amp; userLocation?.latitude != 0 &amp;&amp; userLocation?.longitude != 0 else { return }                          if isItFirstSelection {                 isItFirstSelection = false                 selectedPoint = userLocation                                  mapView.mapWindow.map.move(                     with: YMKCameraPosition.init(target: userLocation!, zoom: 16, azimuth: 0, tilt: 0),                     animationType: YMKAnimation(type: YMKAnimationType.smooth, duration: 1),                     cameraCallback: nil)             }                          activityIndicator.stopAnimating()         }     }  \/\/ MARK: - \/\/ Some like didLoad setupLocationManager()  \/\/ MARK: - \/\/ Setup private func setupLocationManager() {         locationManager = YMKMapKit.sharedInstance()!.createLocationManager()         locationManager.subscribeForLocationUpdates(withDesiredAccuracy: 0, minTime: 10, minDistance: 0, allowUseInBackground: true, filteringMode: .on, locationListener: self)              }  \/\/ MARK: - \/\/ MARK: YMKLocationDelegate extension YandexMapSetPointViewController: YMKLocationDelegate {     func onLocationUpdated(with location: YMKLocation) {         userLocation = YMKPoint(latitude: location.position.latitude, longitude: location.position.longitude)     }          func onLocationStatusUpdated(with status: YMKLocationStatus) {} } <\/code><\/pre>\n<p>  \u0418\u2026<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/vy\/se\/rx\/vyserx968bbz28plbyag_jc-mmk.jpeg\"><\/p>\n<p>  1-15 \u0441\u0435\u043a\u0443\u043d\u0434, \u041a\u0410\u0420\u041b! 15! \u0418\u043d\u043e\u0433\u0434\u0430 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u043e\u0442\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442 \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0438\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442! \u041a\u0430\u043a \u0442\u0430\u043a-\u0442\u043e??<br \/>  \u042f\u043d\u0434\u0435\u043a\u0441, \u043d\u0443 \u0447\u0442\u043e \u0437\u0430 \u043f\u0440\u0438\u043a\u043e\u043b? \u0421\u0442\u043e\u043b\u044c\u043a\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u043e \u0432\u0441\u0435 \u043f\u043e\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u0442\u044c, \u0442\u0430\u043a \u0435\u0449\u0435 \u0438 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0442\u0430\u043a\u043e\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u2014 \u043d\u0443 \u044d\u0442\u043e \u0432\u043e\u043e\u0431\u0449\u0435 \u0433\u0440\u0443\u0441\u0442\u043d\u043e. <\/p>\n<p>  \u0414\u0443\u043c\u0430\u043b \u044f, \u0434\u0443\u043c\u0430\u043b\u2026 \u041d\u0443 \u043d\u0435 \u0440\u0435\u0430\u043b\u044c\u043d\u043e \u0436\u0435. \u0414\u0430\u0442\u044c \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u0443 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 \u0441 \u043a\u0430\u0440\u0442\u0430\u043c\u0438 \u0438 \u0432\u0432\u0435\u0441\u0442\u0438 \u0435\u0433\u043e \u0432 \u0441\u0442\u0443\u043f\u043e\u0440 \u043f\u0440\u0438 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0435 \u043d\u0430 \u043d\u0435\u0433\u043e \u0431\u043e\u043b\u0435\u0435, \u0447\u0435\u043c \u043d\u0430 4 \u0441\u0435\u043a\u0443\u043d\u0434\u044b \u2014 \u044d\u0442\u043e \u0441\u0430\u043c\u043e\u0443\u0431\u0438\u0439\u0441\u0442\u0432\u043e \u0434\u043b\u044f \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041d\u0438\u043a\u0442\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u0436\u0434\u0430\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435 5 \u0441\u0435\u043a\u0443\u043d\u0434 \u0441 \u043f\u043e\u043b\u043d\u043e\u0439 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e (\u0435\u0441\u043b\u0438 \u043d\u0435 \u0432\u0435\u0440\u0438\u0442\u0435 \u043c\u043d\u0435 \u2014 \u043f\u043e\u0441\u043b\u0443\u0448\u0430\u0439\u0442\u0435 \u0434\u043e\u043a\u043b\u0430\u0434\u044b \u0412\u0438\u0442\u0430\u043b\u0438\u044f \u0424\u0440\u0438\u0434\u043c\u0430\u043d\u0430 \u043f\u043e UI\/UX). <\/p>\n<p>  \u041f\u043e\u0434\u0443\u043c\u0430\u043b \u0435\u0449\u0435\u2026 \u0438 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0430\u044f \u044d\u043c\u043e\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/-8\/f_\/wb\/-8f_wbwxosvigxvw_qu905rrpla.gif\"><br \/>  <i>\u041a\u0442\u043e \u0445\u043e\u0447\u0435\u0442 \u0441\u043e \u0437\u0432\u0443\u043a\u043e\u043c \u2014 <a href=\"https:\/\/www.youtube.com\/watch?v=pTZaNHZGsQo\">www.youtube.com\/watch?v=pTZaNHZGsQo<\/a><\/i><\/p>\n<p>  \u0420\u0435\u0446\u0435\u043f\u0442 \u0443\u0441\u043f\u0435\u0445\u0430 \u0431\u044b\u043b \u0442\u0430\u043a\u043e\u0439:<br \/>  \u0411\u0435\u0440\u0435\u043c <s>\u043a\u0438\u043b\u043e &#8230;<\/s> CLLocationManager \u0438 YMKLocationManager \u0438\u2026 \u0437\u0430\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u043c \u0438\u0445 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0432\u043c\u0435\u0441\u0442\u0435. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/zu\/qt\/b9\/zuqtb90bcok18z_qs7pw1zxd88g.jpeg\"><\/p>\n<p>  \u0412\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u044d\u0442\u0430 \u0441\u043e\u0432\u043c\u0435\u0441\u0442\u043d\u0430\u044f\u2026 \u00ab\u0440\u0430\u0431\u043e\u0442\u0430\u00bb \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0442\u0430\u043a: <\/p>\n<pre><code class=\"swift\">\/\/ Params private var locationManager: YMKLocationManager!     private var nativeLocationManager = CLLocationManager()  \/\/ MARK: - \/\/ Some like didLoad setupNativeLocationManager()  \/\/ MARK: - \/\/ Setup private func setupNativeLocationManager() {         if CLLocationManager.locationServicesEnabled() {             nativeLocationManager.delegate = self             nativeLocationManager.desiredAccuracy = kCLLocationAccuracyNearestTenMeters             nativeLocationManager.startUpdatingLocation()         }     }  \/\/ MARK: - \/\/ CLLocationManagerDelegate extension YandexMapSetPointViewController: CLLocationManagerDelegate {     func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {         userLocation = YMKPoint(latitude: locations.last!.coordinate.latitude, longitude: locations.last!.coordinate.longitude)     } } <\/code><\/pre>\n<p>  <s>\u2026 \u0438 \u043f\u043b\u043e\u0432 \u0433\u043e\u0442\u043e\u0432<\/s> <\/p>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0442\u043e\u0447\u043a\u0438 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f: \u0447\u0443\u0442\u044c \u0431\u043e\u043b\u044c\u0448\u0435, \u0447\u0435\u043c 0 \u0441\u0435\u043a\u0443\u043d\u0434. <\/p>\n<p>  \u0422\u043e\u0442 \u0441\u0430\u043c\u044b\u0439 \u0441\u043b\u0443\u0447\u0430\u0439, \u043a\u043e\u0433\u0434\u0430 (\u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434) \u043f\u0440\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0442\u0440\u0438\u0432\u0438\u0430\u043b\u044c\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u0440\u043e\u0442\u0438\u0432\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u0438 \u0432\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0435\u043c\u043e\u0439 \u0447\u0430\u0441\u0442\u0438 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u043e \u0442\u0430\u043a:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/lk\/we\/ub\/lkweublnp6onabh3cdpfigc5z-m.gif\"><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0413\u0435\u043e\u043a\u043e\u0434\u0435\u0440*<\/b><\/p>\n<div class=\"spoiler_text\">\u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0431\u043e\u043d\u0443\u0441\u0430 \u043f\u043e\u043a\u0430\u0436\u0443 \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044e \u0433\u0435\u043e\u043a\u043e\u0434\u0435\u0440\u0430.<br \/>  \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0413\u0435\u043e\u043a\u043e\u0434\u0435\u0440 \u042f\u043d\u0434\u0435\u043a\u0441\u0430 <a href=\"https:\/\/tech.yandex.ru\/maps\/geocoder\/\">tech.yandex.ru\/maps\/geocoder<\/a><\/p>\n<pre><code class=\"swift\">\/\/ Params private let geocoderManager = GeocoderManager.shared  \/\/ \u041d\u0435 \u0441\u0442\u0430\u043b \u0448\u0435\u0440\u0441\u0442\u0438\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442 \u043d\u0430 \u0438\u0437\u0431\u044b\u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c. \u0412\u0440\u043e\u0434\u0435 \u0431\u044b \u0432\u0441\u0435 \u043d\u0443\u0436\u043d\u043e import Foundation import Alamofire import Alamofire_SwiftyJSON import SwiftyJSON import PromiseKit import UIKit  \/\/ MARK: - \/\/ MARK: GeocoderManager class GeocoderManager {     static let shared = GeocoderManager()     private init() {}          func getAddressBy(latitude: String, longitude: String, completion: @escaping (Bool, String?, Error?)-&gt;()) {         GeocoderAPI().request(latitude: latitude, longitude: longitude).done { (response) in             completion(true, response.getAddress(), nil)             print(\"success\")         }.catch { (error) in             completion(false, nil, error)         }     } }  \/\/  import Foundation import Alamofire import PromiseKit  \/\/ MARK: - \/\/ MARK: Request enum GeocoderRequest {     case addressRequest(String, String) }  \/\/ MARK: - \/\/ MARK: GeocoderRequest extension GeocoderRequest: DefaultRequest {     var path: String {         switch self {         case .addressRequest:             return \"1.x\/\"         }     }          var method: HTTPMethod {         switch self {         case .addressRequest:             return .get         }     }          var headers: HTTPHeaders {         return [:]     }          var parameters: [String: Any]? {         switch self {         case .addressRequest(let latitude, let longitude):             return [                 \"apikey\"    : Consts.APIKeys.yandexGeocoderKey,                 \"format\"    : \"json\",                 \"results\"   : 1,                 \"spn\"       : \"3.552069,2.400552\",                 \"geocode\"   : \"\\(longitude),\\(latitude)\"             ]         }     }           func asURLRequest() throws -&gt; URLRequest {         let url = try GlobalConsts.Links.geocoderBaseURL.asURL()\/\/ not good, need new idea for this         var urlRequest = URLRequest(url: url.appendingPathComponent(path))         urlRequest.httpMethod = method.rawValue         urlRequest.allHTTPHeaderFields = headers         switch method {         case .get:             urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)         case .post:             urlRequest = try JSONEncoding.default.encode(urlRequest, with: parameters)         case .put:             urlRequest = try JSONEncoding.default.encode(urlRequest, with: parameters)         case .patch:             urlRequest = try JSONEncoding.default.encode(urlRequest, with: parameters)         case .delete:             urlRequest = try JSONEncoding.default.encode(urlRequest, with: parameters)         default:             break         }         return urlRequest     } } <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u043e\u0442\u0432\u0435\u0442\u0430 \u043e\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0432 \u043c\u043e\u0434\u0435\u043b\u044c \u043e\u0447\u0435\u043d\u044c \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u044d\u0442\u043e\u0442 \u0440\u0435\u0441\u0443\u0440\u0441: <a href=\"https:\/\/app.quicktype.io\">app.quicktype.io<\/a><\/div>\n<\/div>\n<p>  \u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u0442\u0430\u043a\u043e\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/co\/19\/u7\/co19u7hvhmnhdr8r_bh2ek_nl9k.jpeg\"><\/p>\n<p>  \u0420\u0435\u0437\u044e\u043c\u0438\u0440\u0443\u044f \u0432\u044b\u0448\u0435\u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435:<br \/>  \u043a\u043e\u043b\u043b\u0435\u0433\u0438, \u0441\u0442\u0430\u0442\u044c\u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043f\u0440\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432\u044b \u043d\u0435 \u0442\u0440\u0430\u0442\u0438\u043b\u0438 \u0441\u0442\u043e\u043b\u044c\u043a\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u0438, \u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u043b \u044f \u0438 \u043b\u0438\u0431\u043e \u0432\u044b\u0431\u0440\u0430\u043b\u0438 \u0434\u0440\u0443\u0433\u043e\u0439 \u043f\u0443\u0442\u044c, \u043b\u0438\u0431\u043e \u043f\u0440\u043e\u0448\u043b\u0438 \u0435\u0433\u043e \u0431\u044b\u0441\u0442\u0440\u043e.<\/p>\n<p>  \u0425\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u0438\u0432\u043d\u0443\u044e \u043a\u0440\u0438\u0442\u0438\u043a\u0443 \u0438\/\u0438\u043b\u0438 \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u044b\u0435 <b>\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u044b\u0435<\/b> \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u0442\u0430\u0442\u044c\u044f \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439 \u2014 \u043f\u043e\u043f\u0440\u0430\u0432\u044c\u0442\u0435 \u043c\u043d\u0435 \u0440\u0435\u0439\u0442\u0438\u043d\u0433 \u043b\u043e\u0439\u0441\u043e\u043c \u0438, \u0436\u0435\u043b\u0430\u0442\u0435\u043b\u044c\u043d\u043e, \u0437\u0430\u0446\u0435\u043d\u0438\u0442\u0435 \u043f\u043e-\u043d\u043e\u0432\u043e\u043c\u0443 <a href=\"https:\/\/habr.com\/ru\/post\/479102\/\">\u043f\u0435\u0440\u0432\u043e\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u044b\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0432\u0435\u0441\u0442\u0432\u043e\u0432\u0430\u043d\u0438\u044f<\/a>.<\/p>\n<p>  \u0412\u0441\u0435\u043c \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u043a\u0438\u0445 \u0443\u0441\u043f\u0435\u0445\u043e\u0432 \u0438 \u043f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f!<\/p><\/div>\n<p>               <script class=\"js-mediator-script\">!function(e){function t(t,n){if(!(n in e)){for(var r,a=e.document,i=a.scripts,o=i.length;o--;)if(-1!==i[o].src.indexOf(t)){r=i[o];break}if(!r){r=a.createElement(\"script\"),r.type=\"text\/javascript\",r.async=!0,r.defer=!0,r.src=t,r.charset=\"UTF-8\";var d=function(){var e=a.getElementsByTagName(\"script\")[0];e.parentNode.insertBefore(r,e)};\"[object Opera]\"==e.opera?a.addEventListener?a.addEventListener(\"DOMContentLoaded\",d,!1):e.attachEvent(\"onload\",d):d() } } }t(\"\/\/mediator.mail.ru\/script\/2820404\/\",\"_mediator\")}(window);<\/script>      <br \/> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/479432\/\"> https:\/\/habr.com\/ru\/post\/479432\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html js-mediator-article\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/479432\/\">\u0421\u043d\u043e\u0432\u0430 \u043f\u0440\u0438\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e!<\/p>\n<p>  \u0421\u043e\u0432\u0441\u0435\u043c \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u044f \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u044e, \u0431\u0443\u043a\u0432\u0430\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0442\u0430\u043d\u043d\u0443\u044e \u043b\u044e\u0431\u043e\u0432\u044c\u044e \u043a \u042f\u043d\u0434\u0435\u043a\u0441.\u041a\u0430\u0440\u0442\u0430\u043c. \u041f\u043e\u044d\u043c\u0443. \u041e\u0434\u0443. \u0412\u043e\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u043e\u043d\u0430 <a href=\"https:\/\/habr.com\/ru\/post\/479102\/\">habr.com\/ru\/post\/479102<\/a><\/p>\n<p>  \u0423\u0434\u043e\u0441\u0442\u043e\u0432\u0435\u0440\u0438\u0432\u0448\u0438\u0441\u044c, \u0447\u0442\u043e \u0441\u0440\u0435\u0434\u0438 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u043e\u0432 \u043c\u0430\u043b\u043e \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u0441\u0442\u0438\u0445\u043e\u0432, \u044f \u0432\u0441\u0435 \u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u043e\u0441\u0432\u0435\u0442\u0438\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0431\u043e\u043b\u0435\u0435 \u00ab\u043f\u043e-\u0425\u0410\u0411\u0420\u043e\u0432\u0441\u043a\u0438\u00bb. \u041b\u043e\u0432\u0438\u0442\u0435 \u043a\u0443\u0447\u043a\u0443 \u043a\u043e\u0434\u0430, \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u0439 \u0438 \u0441\u043a\u0440\u0438\u043d\u043e\u0432. \u041f\u043e\u0435\u0445\u0430\u043b\u0438. <\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/getpro\/habr\/post_images\/c36\/cfb\/219\/c36cfb21967c60f0ee4a932e7e60dc43.jpg\" alt=\"image\">  <\/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-295796","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/295796","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=295796"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/295796\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=295796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=295796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=295796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}