{"id":225969,"date":"2014-06-11T13:16:03","date_gmt":"2014-06-11T09:16:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=225969"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=225969","title":{"rendered":"<span class=\"post_title\">\u0420\u0430\u0437\u0431\u0438\u0440\u0430\u0435\u043c\u0441\u044f \u0441 NSURL \/ NSURLComponents<\/span>"},"content":{"rendered":"<div class=\"content html_format\">       <i>\u041e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430:<\/i> \u0412 \u0441\u0432\u0435\u0442\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0431\u044b\u0442\u044c iOS-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u0443\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u043c\u043e\u0434\u043d\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0431\u0435\u0433\u0443\u0442 \u0441\u0434\u0430\u0432\u0430\u0442\u044c Objective-C \u0432 \u0443\u0442\u0438\u043b\u044c, \u043d\u043e \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u043d\u043e\u0432\u0430\u0442\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u043f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0435\u0431\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c. \u041d\u0430\u0447\u0430\u0432 \u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b, \u043d\u0435 \u0436\u0434\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432, \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0439 \u0442\u0435\u043c\u0435, \u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0432\u044b\u043d\u0435\u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432.<\/p>\n<p>  <a name=\"habracut\"><\/a><br \/>  \u0421\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0442, \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u0438\u0445 \u043d\u0430\u0437\u043e\u0432\u0435\u043c \u00ab\u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u043c\u0438\u00bb, \u0442\u0438\u043f\u044b \u0434\u0430\u043d\u043d\u044b\u0445: \u0447\u0438\u0441\u043b\u0430, \u0441\u0442\u0440\u043e\u043a\u0438, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0435 \u0432 \u0441\u0435\u0431\u0435 \u043f\u043e \u0441\u0443\u0442\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0433\u0443\u0442 \u0431\u044b\u0442\u044c \u0438\u0437\u0432\u043b\u0435\u0447\u0435\u043d\u044b \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043c\u0430\u0442\u0435\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u0438\u043b\u0438 \u043f\u0440\u043e\u0441\u0442\u044b\u043c \u043f\u0430\u0440\u0441\u0438\u043d\u0433\u043e\u043c. \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u0430 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u0448\u0435\u0441\u0442\u043d\u0430\u0434\u0446\u0430\u0442\u0435\u0440\u0438\u0447\u043d\u0443\u044e \u0437\u0430\u043f\u0438\u0441\u044c \u0446\u0432\u0435\u0442\u0430 <i>#EE8262<\/i>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0434\u043b\u044f \u043a\u0440\u0430\u0441\u043d\u043e\u0433\u043e, \u0441\u0438\u043d\u0435\u0433\u043e \u0438 \u0437\u0435\u043b\u0435\u043d\u043e\u0433\u043e \u0446\u0432\u0435\u0442\u0430, \u0438\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440, \u0440\u0435\u0433\u0443\u043b\u044f\u0440\u043d\u043e\u0435 \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043f\u0430\u0440\u044b \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u0432 \u043f\u043e\u0432\u0437\u043e\u043b\u044f\u0435\u0442 \u0438\u0441\u043a\u0430\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u043f\u043e\u0434\u0441\u0442\u0440\u043e\u043a\u0438.<\/p>\n<p>  \u0421\u0440\u0435\u0434\u0438 \u0432\u0441\u0435\u0445 \u00ab\u043e\u0434\u043d\u043e\u043c\u0435\u0440\u043d\u044b\u0445\u00bb \u0442\u0438\u043f\u043e\u0432 \u0434\u0430\u043d\u043d\u044b\u0445 \u0431\u0435\u0437\u0443\u0441\u043b\u043e\u0432\u043d\u044b\u043c \u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u043c \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f <a href=\"http:\/\/ru.wikipedia.org\/wiki\/URI\"><i>URI<\/i><\/a>. \u041f\u043e\u0441\u0443\u0434\u0438\u0442\u0435 \u0441\u0430\u043c\u0438, \u0437\u0434\u0435\u0441\u044c \u0432 \u043e\u0434\u043d\u043e\u0439 \u0447\u0435\u043b\u043e\u0432\u0435\u043a\u043e\u0447\u0438\u0442\u0430\u0435\u043c\u043e\u0439 \u0441\u0442\u0440\u043e\u0447\u043a\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u043d\u043d\u044b\u0445, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u043d\u044f\u0442\u044c \u0433\u0434\u0435 \u043d\u0430\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0442\u0430 \u0438\u043b\u0438 \u0438\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0431\u044b\u043b\u0430, \u0435\u0441\u0442\u044c \u0438\u043b\u0438 \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0431\u0443\u0434\u0435\u0442 \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435.<\/p>\n<p>  \u041e\u0431\u044b\u0447\u043d\u043e <i>URI<\/i> \u0432\u043a\u043b\u044e\u0447\u0430\u0435\u0442 \u0432 \u0441\u0435\u0431\u044f \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b: \u0441\u0445\u0435\u043c\u0443, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0443\u044e \u0447\u0430\u0441\u0442\u044c, \u0437\u0430\u043f\u0440\u043e\u0441 \u0438 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442:<br \/>  <code>&lt;scheme name&gt; : &lt;hierarchical part&gt; [ ? &lt;query&gt; ] [ # &lt;fragment&gt; ]<\/code><\/p>\n<p>  \u041c\u043d\u043e\u0433\u0438\u0435 \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u044b, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 <i>HTTP<\/i>, \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0437\u0430\u0434\u0430\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0443 \u0442\u0430\u043a\u0443\u044e \u043a\u0430\u043a \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f, \u043f\u0430\u0440\u043e\u043b\u044c, \u043f\u043e\u0440\u0442 \u0438 \u043f\u0443\u0442\u044c \u0432 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u043e\u0439 \u0447\u0430\u0441\u0442\u0438:  <\/p>\n<table>\n<tr>\n<td>foo:\/\/<\/td>\n<td>username:<\/td>\n<td>password<\/td>\n<td> @ example.com <\/td>\n<td> :8042 <\/td>\n<td> \/over\/there\/index <\/td>\n<td> .dtb <\/td>\n<td> ?type=animal&#038;name=narwhal <\/td>\n<td> #nose<\/td>\n<\/tr>\n<tr>\n<td>scheme <\/td>\n<td> username <\/td>\n<td>password<\/td>\n<td>hostname<\/td>\n<td>port<\/td>\n<td>path<\/td>\n<td>extension<\/td>\n<td>query<\/td>\n<td> fragment<\/td>\n<\/tr>\n<\/table>\n<p>  \u0414\u043b\u044f \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 \u0441\u0435\u0442\u0435\u0432\u044b\u043c \u0432\u0437\u0430\u0438\u043c\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u0437\u043d\u0430\u043d\u0438\u0435 <i>URL<\/i> \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432. \u0414\u043b\u044f \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0441\u0442\u0430 \u044d\u0442\u043e \u043e\u0437\u043d\u0430\u0447\u0430\u0435\u0442 \u0441\u0432\u043e\u0431\u043e\u0434\u043d\u043e\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 <i>URI<\/i> \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u043e\u0432 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438.<\/p>\n<p>  \u0412 <i>Foundation<\/i> <i>URL&#8217;\u044b<\/i> \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u044b \u043a\u043b\u0430\u0441\u0441\u043e\u043c <i>NSURL<\/i>.<\/p>\n<p>  <i>NSURL<\/i> \u043e\u0431\u044b\u0447\u043d\u043e \u0438\u043d\u0441\u0442\u0430\u043d\u0446\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438 \u043a\u043b\u0430\u0441\u0441\u043e\u0432\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 <i>URLWithString<\/i>:  <\/p>\n<pre><code class=\"objectivec\">NSURL *url = [NSURL URLWithString:@&quot;http:\/\/example.com&quot;]; <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0441\u0442\u0440\u043e\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u043e\u0442\u0434\u0430\u0435\u043c, \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435 \u0432\u0430\u043b\u0438\u0434\u043d\u044b\u043c <i>URL<\/i>, \u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043c <i>nil<\/i>.<\/p>\n<p>  <i>NSString<\/i> \u0438\u043c\u0435\u0435\u0442 \u043d\u0435\u043a\u0438\u0439 \u0440\u0443\u0434\u0438\u043c\u0435\u043d\u0442\u0430\u0440\u043d\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b \u0434\u043b\u044f \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 \u0441 \u043f\u0443\u0442\u044f\u043c\u0438, \u043e\u0431 \u044d\u0442\u043e\u043c \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0447\u0438\u0442\u0430\u0442\u044c <a href=\"http:\/\/nshipster.com\/nstemporarydirectory\/\">\u0437\u0434\u0435\u0441\u044c<\/a> (\u0442\u0430\u043c \u0432 \u0442\u043e\u043c \u0447\u0438\u0441\u043b\u0435 \u0440\u0430\u0441\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043f\u0440\u043e \u0442\u043e, \u0447\u0442\u043e Apple \u0441\u043e\u0432\u0435\u0442\u0443\u0435\u0442 \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u044c \u043e\u0442 <i>NSString<\/i> \u043a <i>NSURL-like<\/i> <i>API<\/i> \u0434\u043b\u044f \u0442\u0430\u043a\u0438\u0445 \u043a\u043b\u0430\u0441\u0441\u043e\u0432 \u043a\u0430\u043a <i>NSFileManager<\/i>). \u041a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u043c\u0438\u0433\u0440\u0430\u0446\u0438\u044f \u043e\u0442 <i>NSString<\/i> \u043a <i>NSURL<\/i> \u043d\u0435 \u0438\u0434\u0435\u0442 \u0442\u0430\u043a \u0433\u043b\u0430\u0434\u043a\u043e, \u043a\u0430\u043a \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b. Hec\u043c\u043e\u0442\u0440\u044f \u043d\u0430 \u0442\u043e, \u0447\u0442\u043e \u043f\u0440\u0435\u043e\u0431\u0440\u0430\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0438\u0437 <i>NSString<\/i> \u0432 <i>NSURL<\/i> \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u0448\u0430\u0433, \u044d\u0442\u043e \u2014 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e. \u0415\u0441\u043b\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u2014 <i>URL<\/i>, \u043e\u043d\u043e \u0434\u043e\u043b\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u0442\u044c\u0441\u044f \u043a\u0430\u043a <i>NSURL<\/i>; \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043a\u043b\u0430\u0441\u0441\u0430 \u043d\u0435 \u043f\u043e \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044e \u2014 \u043f\u0440\u0438\u0437\u043d\u0430\u043a \u043b\u0435\u043d\u0438 \u0438 \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043b\u043e\u0445\u043e\u0433\u043e \u0434\u0438\u0437\u0430\u0439\u043d\u0430 <i>API<\/i>.<\/p>\n<blockquote><p>\u041a\u0441\u0442\u0430\u0442\u0438, \u0447\u0442\u043e \u0434\u0443\u043c\u0430\u0435\u0442\u0435 \u043d\u0430\u0441\u0447\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f @@ \u0432 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u043b\u0438\u0442\u0435\u0440\u0430\u043b\u0430 \u0434\u043b\u044f <i>NSURL<\/i> (\u0442.\u0435. @@\u00ab<a href=\"http:\/\/example.com\">example.com<\/a>\u00bb)?<\/p><\/blockquote>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0443 <i>NSURL<\/i> \u0435\u0441\u0442\u044c \u043a\u043b\u0430\u0441\u0441\u043e\u0432\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 <i>+URLWithString:relativeToURL:<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f <i>URL<\/i> \u0438\u0437 \u0441\u0442\u0440\u043e\u043a\u0438 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0433\u043e \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u0431\u0430\u0437\u043e\u0432\u043e\u0433\u043e URL. \u041f\u043e\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043c\u0435\u0442\u043e\u0434\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u044b\u043c \u0432 \u0441\u043b\u0443\u0447\u0430\u0435, \u043a\u043e\u0433\u0434\u0430 \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0443\u0442\u044c \u043a\u043e\u043d\u0447\u0430\u0435\u0442\u0441\u044f \u043d\u0430 `\/`<\/p>\n<p>  \u0412\u043e\u0442 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043a\u0430\u0436\u0443\u0442 \u043a\u0430\u043a \u044d\u0442\u043e\u0442 \u043c\u0435\u0442\u043e\u0434 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<\/p>\n<pre><code class=\"objectivec\">NSURL *baseURL = [NSURL URLWithString:@&quot;http:\/\/example.com\/v1\/&quot;];  [NSURL URLWithString:@&quot;foo&quot; relativeToURL:baseURL]; \/\/ http:\/\/example.com\/v1\/foo  [NSURL URLWithString:@&quot;foo?bar=baz&quot; relativeToURL:baseURL]; \/\/ http:\/\/example.com\/v1\/foo?bar=baz  [NSURL URLWithString:@&quot;\/foo&quot; relativeToURL:baseURL]; \/\/ http:\/\/example.com\/foo  [NSURL URLWithString:@&quot;foo\/&quot; relativeToURL:baseURL]; \/\/ http:\/\/example.com\/v1\/foo  [NSURL URLWithString:@&quot;\/foo\/&quot; relativeToURL:baseURL]; \/\/ http:\/\/example.com\/foo\/  [NSURL URLWithString:@&quot;http:\/\/example2.com\/&quot; relativeToURL:baseURL]; \/\/ http:\/\/example2.com\/ <\/code><\/pre>\n<h2>URL Components<\/h2>\n<p>  <i>NSURL<\/i> \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u043c\u0435\u0442\u043e\u0434\u044b \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a\u043e \u0432\u0441\u0435\u043c <i>URL<\/i> \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c, \u043e\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u043c \u0432 <a href=\"http:\/\/www.ietf.org\/rfc\/rfc2396.txt\">RFC 2396<\/a>:  <\/p>\n<ul>\n<li>absoluteString<\/li>\n<li>absoluteURL<\/li>\n<li>baseURL<\/li>\n<li>fileSystemRepresentation<\/li>\n<li>fragment<\/li>\n<li>host<\/li>\n<li>lastPathComponent<\/li>\n<li>parameterString<\/li>\n<li>password<\/li>\n<li>path<\/li>\n<li>pathComponents<\/li>\n<li>pathExtension<\/li>\n<li>port<\/li>\n<li>query<\/li>\n<li>relativePath<\/li>\n<li>relativeString<\/li>\n<li>resourceSpecifier<\/li>\n<li>scheme<\/li>\n<li>standardizedURL<\/li>\n<li>user<\/li>\n<\/ul>\n<p>  \u0414\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u0438 \u043f\u0440\u0438\u043c\u0435\u0440\u044b \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432 <a href=\"https:\/\/developer.apple.com\/library\/mac\/documentation\/Cocoa\/Reference\/Foundation\/Classes\/NSURL_Class\/Reference\/Reference.html\">\u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0435\u043d\u0442\u0430\u0446\u0438\u0438<\/a> \u2014 \u044d\u0442\u043e \u043d\u0435\u043f\u043b\u043e\u0445\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u043f\u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f \u0441\u043e \u0432\u0441\u0435\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438.<\/p>\n<blockquote><p>\u041e\u0442\u0434\u0435\u043b\u044c\u043d\u043e \u043d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u0447\u0442\u043e \u0445\u043e\u0442\u044c \u0438\u043c\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438 \u043f\u0430\u0440\u043e\u043b\u044c \u043c\u043e\u0436\u043d\u043e \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0432 <i>URL<\/i>, \u043b\u0443\u0447\u0448\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <i>NSURLCreditnal<\/i> \u0438\u043b\u0438 \u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0438\u0445 \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u043a\u043b\u044e\u0447\u0435\u0439.<\/p><\/blockquote>\n<h2>NSURLComponents<\/h2>\n<p>  <i>NSURLComponents<\/i> \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0432 iOS 7 \u0438 Mac OS 10.9, \u0447\u0435\u0441\u0442\u043d\u043e \u0433\u043e\u0432\u043e\u0440\u044f, \u043b\u0443\u0447\u0448\u0438\u043c \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043a\u043b\u0430\u0441\u0441\u0430 \u0431\u044b\u043b\u043e \u0431\u044b <i>NSMutableURL<\/i>. \u0418\u0437-\u0437\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438, \u044d\u0442\u043e\u0442 \u043a\u043b\u0430\u0441\u0441 \u0441\u0442\u0430\u043b \u043e\u0434\u043d\u0438\u043c \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u00ab\u0441\u0435\u043a\u0440\u0435\u0442\u043d\u044b\u0445\u00bb \u0434\u043e\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0439 \u0432 <i>Foundation<\/i>.<\/p>\n<p>  \u0418\u043d\u0441\u0442\u0430\u043d\u0441\u044b <i>NSURLComponents<\/i> \u0441\u043e\u0437\u0434\u0430\u044e\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u043c\u043e\u0449\u0438:(<i>+componentsWithString:<\/i> \u0438 <i>+componentsWithURL:resolvingAgainstBaseURL:<\/i>). \u0421\u0430\u043c\u043e \u0441\u043e\u0431\u043e\u0439 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u043f\u043e\u0441\u043b\u0430\u0442\u044c <i>alloc<\/i> \u0438 <i>init<\/i>, \u0431\u0435\u0437 \u043a\u0430\u043a\u0438\u0445 \u043b\u0438\u0431\u043e \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u043e\u0432, \u0447\u0442\u043e\u0431\u044b \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u043f\u0443\u0441\u0442\u043e\u0439 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440.<\/p>\n<p>  \u0420\u0430\u0437\u043b\u0438\u0447\u0438\u0435 \u043c\u0435\u0436\u0434\u0443 <i>NSURL<\/i> \u0438 <i>NSURLComponents<\/i> \u0432 \u0442\u043e\u043c, \u0447\u0442\u043e \u0443 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0433\u043e \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435. \u042d\u0442\u043e \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u044b\u0439 \u0438 \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0441\u043f\u043e\u0441\u043e\u0431 \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u044b\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b \u0432 <i>URL<\/i>:  <\/p>\n<ul>\n<li>scheme<\/li>\n<li>user<\/li>\n<li>password<\/li>\n<li>host<\/li>\n<li>port<\/li>\n<li>path<\/li>\n<li>query<\/li>\n<li>fragment<\/li>\n<\/ul>\n<p>  <\/p>\n<blockquote><p>\u041f\u043e\u043f\u044b\u0442\u043a\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0438\u043b\u0438 \u0432\u044b\u0431\u0440\u0430\u0442\u044c \u043e\u0442\u0440\u0438\u0446\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435 \u0447\u0438\u0441\u043b\u043e \u0434\u043b\u044f \u043f\u043e\u0440\u0442\u0430 \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u0441\u044f \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c.<\/p><\/blockquote>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u0443 <i>NSURLComponents<\/i> \u0435\u0441\u0442\u044c \u0438\u0437\u043c\u0435\u043d\u044f\u0435\u043c\u044b\u0435 <a href=\"http:\/\/en.wikipedia.org\/wiki\/Percent-encoding\">percent-encoded<\/a> \u0432\u0430\u0440\u0438\u0430\u043d\u0442\u044b \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430.  <\/p>\n<ul>\n<li>percentEncodedUser<\/li>\n<li>percentEncodedPassword<\/li>\n<li>percentEncodedHost<\/li>\n<li>percentEncodedPath<\/li>\n<li>percentEncodedQuery<\/li>\n<li>percentEncodedFragment<\/li>\n<\/ul>\n<p>  <\/p>\n<blockquote><p>\u041f\u0440\u0438 \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u0438 \u044d\u0442\u0438\u0445 \u0441\u0432\u043e\u0439\u0441\u0442\u0432 \u043c\u044b \u043f\u043e\u043b\u0443\u0447\u0438\u043c \u0438\u0445 \u0432 percent-encoded \u0432\u0438\u0434\u0435. \u0418\u0437\u043c\u0435\u043d\u044f\u044f \u044d\u0442\u0438 \u0441\u0432\u043e\u0439\u0441\u0442\u0432\u0430 \u043d\u0443\u0436\u043d\u043e \u043e\u0442\u0434\u0430\u0432\u0430\u0442\u044c \u0443\u0436\u0435 \u0437\u0430\u044d\u043d\u043a\u043e\u0436\u0435\u043d\u043d\u0443\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0443, \u0438\u043d\u0430\u0447\u0435 \u2014 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435. `;` \u2014 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u043c \u0441\u0438\u043c\u0432\u043e\u043b\u043e\u043c, \u043d\u043e \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0435\u0433\u043e \u0442\u0430\u043a\u0436\u0435 \u044d\u043d\u043a\u043e\u0434\u0438\u0442\u044c \u0434\u043b\u044f \u043b\u0443\u0447\u0448\u0435\u0439 \u0441\u0432\u043e\u043c\u0435\u0441\u0442\u0438\u043c\u043e\u0441\u0442\u0438 \u0441 <i>NSURL<\/i>. (<i>-stringByAddingPercentEncodingWithAllowedCharacters:<\/i> \u0437\u0430\u044d\u043d\u043a\u043e\u0434\u0438\u0442 \u0432\u0441\u0435 `;` \u0435\u0441\u043b\u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c <i>URLPathAllowedCharacterSet<\/i>)<\/p><\/blockquote>\n<h2>Percent-Encoding<\/h2>\n<p>  <i>NSURL<\/i> \u2014 <a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/CoreFoundation\/Conceptual\/CFDesignConcepts\/Articles\/tollFreeBridgedTypes.html\">toll-free<\/a> bridged \u0434\u043b\u044f <i>CFURLRef<\/i>. \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0438\u0437\u043a\u043e\u0443\u0440\u043e\u0432\u043d\u0435\u0432\u044b\u043c <i>API<\/i> \u043d\u0430 <i>\u0421<\/i>, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442\u0438\u0432\u043d\u043e \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0435\u0442 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0441\u0442\u044c <i>NSURL<\/i>, \u043d\u043e \u0437\u0430 \u0438\u0441\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435\u043c <i>CFURLCreateStringByAddingPercentEscapes<\/i> \u0438 <i>CFURLCreateStringByReplacingPercentEscapesUsingEncoding<\/i>:<\/p>\n<p>   \u2014 <i>CFURLCreateStringByAddingPercentEscapes:<\/i> \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u043a\u043e\u043f\u0438\u044e \u0441\u0442\u0440\u043e\u0447\u043a\u0438, \u0437\u0430\u043c\u0435\u043d\u044f\u044f \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u044b\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0438\u043c \u0437\u0430\u044d\u0441\u043a\u0435\u0439\u043f\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0435.  <\/p>\n<pre><code class=\"objectivec\">CFStringRef CFURLCreateStringByAddingPercentEscapes (    CFAllocatorRef   allocator,    CFStringRef      originalString,    CFStringRef      charactersToLeaveUnescaped,    CFStringRef      legalURLCharactersToBeEscaped,    CFStringEncoding encoding ); <\/code><\/pre>\n<p>   \u2014 <i>CFURLCreateStringByReplacingPercentEscapesUsingEncoding:<\/i> \u0434\u0435\u043b\u0430\u0435\u0442 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u0437\u0430\u043c\u0435\u043d\u044f\u0435\u0442 \u0437\u0430\u044d\u0441\u043a\u0435\u0439\u043f\u0435\u043d\u043d\u044b\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u043d\u0430 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u0441\u0438\u043c\u0432\u043e\u043b\u044b.<\/p>\n<pre><code class=\"objectivec\">CFStringRef CFURLCreateStringByReplacingPercentEscapesUsingEncoding (    CFAllocatorRef   allocator,    CFStringRef      origString,    CFStringRef      charsToLeaveEscaped,    CFStringEncoding encoding ); <\/code><\/pre>\n<h2>URL \u0434\u043b\u044f \u0437\u0430\u043a\u043b\u0430\u0434\u043e\u043a<\/h2>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0432\u043e\u043f\u0440\u043e\u0441, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043e\u0431\u0441\u0443\u0434\u0438\u0442\u044c \u2014 <i>URL&#8217;\u044b<\/i> \u0434\u043b\u044f \u0437\u0430\u043a\u043b\u0430\u0434\u043e\u043a, \u044d\u0442\u043e \u0442\u0435 \u043f\u0443\u0442\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e \u0441\u0441\u044b\u043b\u0430\u0442\u044c\u0441\u044f \u043d\u0430 \u0444\u0430\u0439\u043b\u044b \u043c\u0435\u0436\u0434\u0443 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043c\u0438 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f. \u041c\u043e\u0436\u043d\u043e \u0434\u0443\u043c\u0430\u0442\u044c \u043e \u043d\u0438\u0445 \u043a\u0430\u043a \u043e <a href=\"http:\/\/en.wikipedia.org\/wiki\/File_descriptor\">\u0444\u0430\u0439\u043b\u043e\u0432\u044b\u0445 \u0434\u0435\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0440\u0430\u0445<\/a>.<\/p>\n<blockquote><p>\u0417\u0430\u043a\u043b\u0430\u0434\u043a\u0430 \u2014 \u0437\u0430\u043a\u0440\u044b\u0442\u0430\u044f \u0444\u0430\u0439\u043b\u043e\u0432\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0437\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u0432 \u043e\u0431\u044a\u0435\u043a\u0442 <i>NSData<\/i>, \u043e\u043d\u0430 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u0442 \u043c\u0435\u0441\u0442\u043e\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0435 \u0444\u0430\u0439\u043b\u0430. \u0412 \u0442\u043e \u0432\u0440\u0435\u043c\u044f \u043a\u0430\u043a \u043f\u0443\u0442\u044c \u0438 \u0441\u0441\u044b\u043b\u043e\u0447\u043d\u044b\u0439 <i>URL<\/i> \u043f\u043e\u0442\u0435\u043d\u0446\u0438\u0430\u043b\u044c\u043d\u043e \u043d\u0435\u043d\u0430\u0434\u0435\u0436\u043d\u044b, \u0437\u0430\u043a\u043b\u0430\u0434\u043a\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0430 \u0447\u0442\u043e\u0431\u044b \u0432\u043e\u0441\u0441\u043e\u0437\u0434\u0430\u0442\u044c <i>URL<\/i>, \u0435\u0441\u043b\u0438 \u0434\u0430\u0436\u0435 \u0444\u0430\u0439\u043b \u0431\u044b\u043b \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d \u0438\u043b\u0438 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d.<\/p><\/blockquote>\n<p>  \u0411\u043e\u043b\u044c\u0448\u0435 \u043f\u0440\u043e \u0441\u0441\u044b\u043b\u043a\u0438 \u043c\u043e\u0436\u043d\u043e \u043f\u0440\u043e\u0447\u0438\u0442\u0430\u0442\u044c \u0432 <a href=\"https:\/\/developer.apple.com\/library\/ios\/documentation\/FileManagement\/Conceptual\/FileSystemProgrammingGuide\/AccessingFilesandDirectories\/AccessingFilesandDirectories.html\">\u00abLocating Files Using Bookmarks\u00bb<\/a> \u0438\u0437 \u044f\u0431\u043b\u043e\u0447\u043d\u043e\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u0438.   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/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\/225969\/\"> http:\/\/habrahabr.ru\/post\/225969\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">       <i>\u041e\u0442 \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u0447\u0438\u043a\u0430:<\/i> \u0412 \u0441\u0432\u0435\u0442\u0435 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0445 \u0441\u043e\u0431\u044b\u0442\u0438\u0439 \u0431\u044b\u0442\u044c iOS-\u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u043c \u0441\u0442\u0430\u043b\u043e \u0443\u0436\u0435 \u043d\u0435 \u0442\u0430\u043a \u043c\u043e\u0434\u043d\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0431\u0435\u0433\u0443\u0442 \u0441\u0434\u0430\u0432\u0430\u0442\u044c Objective-C \u0432 \u0443\u0442\u0438\u043b\u044c, \u043d\u043e \u044f \u0441\u0447\u0438\u0442\u0430\u044e, \u0447\u0442\u043e \u044d\u0442\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435 \u0440\u0430\u043d\u043e\u0432\u0430\u0442\u043e, \u043f\u043e\u0442\u043e\u043c\u0443 \u043f\u043e\u0437\u0432\u043e\u043b\u044e \u0441\u0435\u0431\u0435 \u043f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f \u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u043c. \u041d\u0430\u0447\u0430\u0432 \u0447\u0438\u0442\u0430\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b, \u043d\u0435 \u0436\u0434\u0430\u043b \u043d\u0438\u0447\u0435\u0433\u043e \u043d\u043e\u0432\u043e\u0433\u043e \u0432, \u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0431\u044b, \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043e\u0447\u0435\u0432\u0438\u0434\u043d\u043e\u0439 \u0442\u0435\u043c\u0435, \u043d\u043e \u0432 \u0438\u0442\u043e\u0433\u0435 \u0432\u044b\u043d\u0435\u0441 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0445 \u043c\u043e\u043c\u0435\u043d\u0442\u043e\u0432.<\/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-225969","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225969","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=225969"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/225969\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225969"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}