{"id":232,"date":"2015-06-17T15:51:49","date_gmt":"2015-06-17T07:51:49","guid":{"rendered":"http:\/\/www.olinone.com\/?p=232"},"modified":"2015-12-01T14:56:05","modified_gmt":"2015-12-01T06:56:05","slug":"%e8%87%aa%e9%87%8a%e6%94%be%e5%9c%a8ios%e5%bc%80%e5%8f%91%e4%b8%ad%e7%9a%84%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"http:\/\/www.olinone.com\/?p=232","title":{"rendered":"\u201c\u81ea\u91ca\u653e\u201d\u5728iOS\u5f00\u53d1\u4e2d\u7684\u5e94\u7528"},"content":{"rendered":"<address class=\"\">\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904:<a href=\"http:\/\/www.olinone.com\/\">http:\/\/www.olinone.com\/<\/a><\/address>\n<p class=\"\">\u4eca\u5929\uff0c\u8ddf\u5927\u5bb6\u804a\u804a\u201c\u81ea\u91ca\u653e\u201d\u601d\u60f3\u5728iOS\u5f00\u53d1\u4e2d\u7684\u5e94\u7528\uff0c\u4f55\u4e3a\u201c\u81ea\u91ca\u653e\u201d\uff1f\u53ef\u4ee5\u7b80\u5355\u7684\u7406\u89e3\u4e3a\u5bf9\u8c61\u5728\u751f\u547d\u5468\u671f\u7ed3\u675f\u540e\u81ea\u52a8\u6e05\u7406\u56de\u6536\u6240\u6709\u4e0e\u5176\u76f8\u5173\u7684\u8d44\u6e90\u6216\u94fe\u63a5\uff0c\u8fd9\u4e2a\u6e05\u7406\u4e0d\u4ec5\u4ec5\u5305\u62ec\u5bf9\u8c61\u5185\u5b58\u7684\u56de\u6536\uff0c\u8fd8\u5305\u62ec\u5bf9\u8c61\u89e3\u8026\u4ee5\u53ca\u9644\u5c5e\u4e8b\u4ef6\u7684\u6e05\u7406\u7b49\uff0c\u6bd4\u5982\u5b9a\u65f6\u5668\u7684\u81ea\u6211\u505c\u6b62\u3001KVO\u5bf9\u8c61\u7684\u76d1\u542c\u79fb\u9664\u7b49<\/p>\n<h3 class=\"\"><strong>\u5bf9\u8c61\u5185\u5b58\u7684\u56de\u6536<\/strong><\/h3>\n<p>\u5f00\u53d1\u4e2d\uff0c\u5bf9\u8c61\u7ba1\u7406\u7684\u57fa\u672c\u539f\u5219\u2014\u2014\u8c01\u521b\u5efa\u8c01\u91ca\u653e\u3002\u4f46\u662f\uff0c\u975eARC\u5de5\u7a0b\u4e2d\uff0c\u6211\u4eec\u4f1a\u7528autorelease\u6765\u6807\u8bb0\u4e00\u4e2a\u5bf9\u8c61\uff0c\u544a\u8bc9\u7f16\u8f91\u5668\uff0c\u8fd9\u4e2a\u5bf9\u8c61\u6211\u4e0d\u8d1f\u8d23\u91ca\u653e\uff0c\u6b64\u65f6\uff0c\u8fd9\u4e2a\u5bf9\u8c61\u5c31\u53d8\u6210\u4e86\u201c\u81ea\u91ca\u653e\u201d\u5bf9\u8c61\uff0c\u5f53\u5176\u4e0d\u518d\u9700\u8981\u65f6\uff0c\u7cfb\u7edf\u5c31\u4f1a\u81ea\u52a8\u56de\u6536\u5176\u5185\u5b58\u3002\u800cARC\u5de5\u7a0b\u4e2d\uff0c\u6240\u6709\u5bf9\u8c61\u5bf9\u4e8e\u6211\u4eec\u6765\u8bf4\u90fd\u662f\u81ea\u91ca\u653e\u5bf9\u8c61\uff0c\u5f88\u9ad8\u5174\uff0c\u6211\u4eec\u4e0d\u518d\u9700\u8981\u5904\u5904\u7559\u610f\u5185\u5b58\u6cc4\u9732\u7684\u95ee\u9898\uff0c\u53ef\u4ee5\u628a\u66f4\u591a\u7684\u7cbe\u529b\u653e\u5728\u4e1a\u52a1\u903b\u8f91\u4e0a\uff0c\u4f46\u662f\u8fd9\u5e76\u4e0d\u610f\u5473\u7740\u771f\u7684\u6ca1\u6709\u5185\u5b58\u6cc4\u9732\uff0c\u8bd5\u8bd5\u8fd9\u4e2a\u5de5\u5177<a href=\"http:\/\/www.olinone.com\/?p=25\">HJNSObjectRelease<\/a>\uff0c\u4e5f\u8bb8\u4f60\u4f1a\u6709\u610f\u60f3\u4e0d\u5230\u7684\u6536\u83b7\u3002<\/p>\n<h3><strong>\u5b9a\u65f6\u5668\u7684\u81ea\u91ca\u653e<\/strong><\/h3>\n<p>\u5b9a\u65f6\u5668\u4e0e\u4e00\u822c\u5bf9\u8c61\u4e0d\u540c\uff0c\u5f53\u521b\u5efa\u5b8c\u5b9a\u65f6\u5668\u540e\uff0c\u5176\u5e76\u4e0d\u4f1a\u81ea\u6211\u91ca\u653e\uff0c\u9700\u8981\u5728\u9002\u5f53\u65f6\u523binvalidate\u3002\u5728\u5b9e\u9645\u5f00\u53d1\u4e2d\uff0c\u4e5f\u8bb8\u4f60\u7ecf\u5e38\u4f1a\u8fd9\u6837\u521b\u5efa\u5b9a\u65f6\u5668<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">self.timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(onTimerCount) userInfo:nil repeats:YES];<\/pre>\n<p>\u7136\u540e\u5728dealloc\u51fd\u6570\u4e2d\u5c06\u5b9a\u65f6\u5668invalidate\u3002\u5f88\u9057\u61be\uff0c\u4f60\u4f1a\u53d1\u73b0\u7a0b\u5e8f\u6c38\u8fdc\u4e5f\u4e0d\u4f1a\u6267\u884c\u5230dealloc\u51fd\u6570\uff0c\u56e0\u4e3aNSTimer\u5f3a\u5f15\u7528target\u5bf9\u8c61\uff0c\u5faa\u73af\u5f15\u7528\u7684\u51fa\u73b0\u5fc5\u7136\u5bfc\u81f4\u5185\u5b58\u6cc4\u9732\u3002\u6b64\u65f6\uff0c\u4f60\u80af\u5b9a\u975e\u5e38\u60f3\u8981\u4e00\u4e2aweak target\u7684\u5b9a\u65f6\u5668\uff0c\u5f88\u9ad8\u5174\uff0c<a href=\"https:\/\/github.com\/mindsnacks\/MSWeakTimer\">MSWeakTimer<\/a>\u5f88\u597d\u7684\u6ee1\u8db3\u4e86\u4f60\u7684\u9700\u6c42\u3002\u4f46\u662f\uff0cTimer\u4ecd\u7136\u6ca1\u6709\u81ea\u6211\u91ca\u653e\uff0c\u4f60\u4ecd\u7136\u9700\u8981\u5728dealloc\u4e2d\u5c06\u5176invalidate\u3002\u90a3\u4e48\uff0c\u5982\u4f55\u624d\u80fd\u4e0d\u5199invalidate\uff1f\u5b9a\u65f6\u5668\u80fd\u5426\u81ea\u91ca\u653e?\u6211\u4eec\u5148\u628a\u8fd9\u4e2a\u95ee\u9898\u653e\u5728\u4e00\u8fb9\uff0c\u63a5\u7740\u5f80\u4e0b\u770b<\/p>\n<h3><strong>KVO\u7684\u81ea\u91ca\u653e<\/strong><\/h3>\n<p>iOS\u5f00\u53d1\u4e2d\uff0c\u7ecf\u5e38\u4f1a\u7528\u5230\u6d88\u606f\u901a\u77e5\u53caKVO\uff0c\u4e5f\u8bb8\u4f60\u4f1a\u8fd9\u6837\u5199\u4ee3\u7801<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">- (void)viewDidLoad {\r\n    [super viewDidLoad];\r\n    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(onNotice) name:@\"NoticeIdentifier\" object:nil];\r\n    [self addObserver:target forKeyPath:@\"keyPath\" options:NSKeyValueObservingOptionNew context:nil];\r\n}\r\n\r\n- (void)dealloc {\r\n    [[NSNotificationCenter defaultCenter] removeObserver:self name:@\"NoticeIdentifier\" object:nil];\r\n    [self removeObserver:target forKeyPath:@\"keyPath\"];\r\n}<\/pre>\n<p>\u968f\u7740\u65f6\u95f4\u7684\u79ef\u7d2f\uff0c\u4f60\u4f1a\u975e\u5e38\u4e60\u60ef\u8fd9\u79cd\u5199\u6cd5\uff0c\u5e76\u4e14\u82f9\u679c\u4e5f\u662f\u8fd9\u6837\u63a8\u8350\u7684\u3002\u4f46\u662f\u6162\u6162\u4f60\u4f1a\u53d1\u73b0\u6240\u6709\u5bf9\u8c61\u7684Dealloc\u51fd\u6570\u90fd\u53ea\u505a\u4e86\u8fd9\u4e00\u4ef6\u4e8b\uff0c\u80fd\u4e0d\u80fd\u4e0d\u505a\u8fd9\u4ef6\u4e8b\uff1f<a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u4e5f\u8bb8\u4f1a\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0cDemo\u53ef\u4ee5\u8fd9\u6837\u5199<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">[self.KVOController observe:clock keyPath:@\"date\" options:NSKeyValueObservingOptionInitial|NSKeyValueObservingOptionNew block:^(ClockView *clockView, Clock *clock, NSDictionary *change) {\r\n    clockView.date = change[NSKeyValueChangeNewKey];\r\n}];<\/pre>\n<p><a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u7684\u5b9e\u73b0\u539f\u7406\u53ef\u4ee5\u67e5\u770b\u8fd9\u7bc7<a href=\"http:\/\/blog.csdn.net\/becomedragonlong\/article\/details\/45539003\">\u6587\u7ae0<\/a>\uff0c\u901a\u8fc7\u81ea\u91ca\u653e\u7684\u5b9e\u73b0\uff0c\u7a0b\u5e8f\u733f\u4e0d\u518d\u5173\u5fc3remove\u76d1\u542c\u3002\u4f46\u662f\u5176\u8fd8\u662f\u6709\u4e00\u5b9a\u7684\u5c40\u9650\u6027\u2014\u2014\u5bf9\u8c61\u65e0\u6cd5\u76d1\u542c\u81ea\u5df1\u7684\u5c5e\u6027\uff0c\u5982\u679c\u4f60\u7684\u4ee3\u7801\u662f\u8fd9\u6837\u7684<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">[self.KVOController observe:self keyPath:@\"date\" options:NSKeyValueObservingOptionNew block:^(NSDictionary *change) {\r\n    \/\/ to do\r\n}];<\/pre>\n<p>\u5f88\u9057\u61be\uff0c\u5faa\u73af\u5f15\u7528\u7684\u95ee\u9898\u53c8\u51fa\u73b0\uff0c\u56e0\u4e3a<a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u4e2d\u7684NSMapTable\u5bf9\u8c61\u4f1aretain key\u5bf9\u8c61\uff0c\u5177\u4f53\u4ee3\u7801\u5982\u4e0b<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">[_objectInfosMap setObject:infos forKey:object];<\/pre>\n<p>\u90a3\u4e48\uff0c<a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u662f\u5982\u4f55\u505a\u5230\u81ea\u91ca\u653e\u7684\uff1f\u53ef\u4ee5\u5f52\u7eb3\u4e3a\u56db\u4e2a\u5b57\u2014\u2014\u52a8\u6001\u5c5e\u6027\u3002\u5176\u4e3a\u89c2\u5bdf\u8005\u7ed1\u5b9a\u52a8\u6001\u5c5e\u6027self.KVOController\uff0c\u52a8\u6001\u7ed1\u5b9a\u7684KVOController\u4f1a\u968f\u7740\u89c2\u5bdf\u8005\u7684\u91ca\u653e\u800c\u91ca\u653e\uff0cKVOController\u5728\u81ea\u5df1\u7684dealloc\u51fd\u6570\u4e2d\u79fb\u9664KVO\u76d1\u542c\uff0c\u5de7\u5999\u7684\u5c06\u89c2\u5bdf\u8005\u7684remove\u8f6c\u79fb\u5230\u5176\u52a8\u6001\u5c5e\u6027\u7684dealloc\u51fd\u6570\u4e2d\u3002<\/p>\n<p>\u53ef\u662f\uff0c\u8fd9\u53c8\u6709\u4ec0\u4e48\u7528\uff1f\u5bf9\u8c61\u4ecd\u7136\u65e0\u6cd5\u76d1\u542c\u81ea\u5df1\u7684\u5c5e\u6027\uff0c\u8fd8\u662f\u8981\u91cd\u5199set\u51fd\u6570\u3002<a href=\"https:\/\/github.com\/thehtb\/HTBKVObservation\">HTBKVObservation<\/a>\u4e5f\u8bb8\u4f1a\u6539\u53d8\u4f60\u7684\u60f3\u6cd5\uff0c\u5176\u548c<a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u6765\u81ea\u540c\u4e00\u4eba\uff0c\u4ee3\u7801\u53ef\u4ee5\u8fd9\u6837\u5199<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">self.anObservation = [HTBKVObservation observe:anObjectToObserve keyPath:@\"observeMe\" options:0 callback:^(HTBKVObservation *observation, NSDictionary *changeDictionary) {\r\n   \/\/ to do\r\n}];<\/pre>\n<p><a href=\"https:\/\/github.com\/thehtb\/HTBKVObservation\">HTBKVObservation<\/a>\u5e76\u6ca1\u7528\u91c7\u7528\u52a8\u6001\u5c5e\u6027\uff0c\u800c\u662f\u91c7\u7528\u5c5e\u6027\u7684\u65b9\u5f0f\u5b9e\u73b0\u81ea\u91ca\u653e\u3002\u53ef\u4ee5\u76d1\u63a7\u5bf9\u8c61\u81ea\u5df1\u7684\u5c5e\u6027\uff0c\u4f46\u662f\u9700\u8981\u521b\u5efa\u5c5e\u6027HTBKVObservation\u3002 <a href=\"https:\/\/github.com\/panghaijiao\/HTBKVObservationCategory\">\u8fd9\u91cc<\/a>\u6211\u5bf9\u5176\u505a\u4e86\u4e00\u70b9\u6269\u5c55\uff0c\u65b9\u4fbf\u4f7f\u7528\uff0c\u4ee3\u7801\u53ef\u4ee5\u8fd9\u6837\u5199<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">[self observe:self keyPath:@\"KVOPath\" options:NSKeyValueObservingOptionNew callback:^(HTBKVObservation *observation, NSDictionary *changeDictionary) {\r\n   \/\/ to do\r\n}];<\/pre>\n<p><a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u00a0\u548c<a href=\"https:\/\/github.com\/thehtb\/HTBKVObservation\">HTBKVObservation<\/a>\u901a\u8fc7\u5c5e\u6027\u6216\u52a8\u6001\u5c5e\u6027\u5de7\u5999\u7684\u5c06KVO\u7684remove\u8f6c\u79fb\u7ed9\u7b2c\u4e09\u8005\uff0c\u5b9e\u73b0\u4e86KVO\u4e8b\u4ef6\u7684\u89e3\u8026\uff0c\u4e3a\u81ea\u91ca\u653e\u7684\u5b9e\u73b0\u63d0\u4f9b\u4e86\u4e00\u79cd\u501f\u9274\u601d\u8def<\/p>\n<h3><strong>NSNotification\u7684\u81ea\u91ca\u653e<\/strong><\/h3>\n<p>\u8c08\u5b8c KVO\uff0c\u518d\u6765\u8c08\u8c08NSNotification\u3002\u9488\u5bf9Notification\uff0c<a href=\"https:\/\/github.com\/ReactiveCocoa\/ReactiveCocoa\">ReactiveCocoa<\/a>\u505a\u4e86\u5f88\u597d\u7684\u5c01\u88c5\uff0c\u7f51\u4e0a\u6709\u5f88\u591a\u4ecb\u7ecd\u5176\u5982\u4f55\u4f7f\u7528\u7684\u6587\u7ae0\uff0c\u5728\u6b64\u4e0d\u518d\u7d2f\u8ff0\u3002\u76f4\u63a5\u770b\u4ee3\u7801<\/p>\n<pre class=\"lang:objc highlight:0 decode:true\">[[[NSNotificationCenter defaultCenter] rac_addObserverForName:UIKeyboardDidChangeFrameNotification object:nil] subscribeNext:^(id x) {\r\n        \/\/ to do\r\n    }\r\n];<\/pre>\n<p>\u7b80\u5355\u660e\u4e86\uff0c\u5f53\u89c2\u5bdf\u8005dealloc\uff0c\u5f88\u9057\u61be\uff0cNSNotification\u5e76\u6ca1\u7528\u79fb\u9664\uff0c\u56e0\u4e3a\u5bf9\u8c61\u5e76\u6ca1\u7528\u81ea\u91ca\u653e\uff0c\u6b63\u786e\u4ee3\u7801\u5e94\u8be5\u662f\u8fd9\u6837<\/p>\n<pre class=\"lang:objc highlight:0 decode:true \">[[[[NSNotificationCenter defaultCenter] rac_addObserverForName:UIKeyboardDidChangeFrameNotification object:nil] takeUntil:self.rac_willDeallocSignal] subscribeNext:^(id x) {\r\n        \/\/ to do\r\n    }\r\n];<\/pre>\n<p><a href=\"https:\/\/github.com\/ReactiveCocoa\/ReactiveCocoa\">ReactiveCocoa<\/a>\u81ea\u91ca\u653e\u7684\u539f\u7406\u4e0e<a href=\"https:\/\/github.com\/facebook\/KVOController\">FBKVOController<\/a>\u4e0d\u540c\uff0c\u5176\u5e76\u4e0d\u662f\u901a\u8fc7\u5c5e\u6027\u6216\u8005\u52a8\u6001\u5c5e\u6027\u7684\u65b9\u5f0f\u5b9e\u73b0\uff0c\u800c\u662f\u901a\u8fc7swizzling\u89c2\u5bdf\u5bf9\u8c61\u7684dealloc\u51fd\u6570\uff0c\u5728\u81ea\u5b9a\u4e49dealloc\u51fd\u6570\u5b9e\u65bd\u6e05\u7406\uff0c\u4f46\u4e0d\u662f\u9ed8\u8ba4\u6e05\u7406\uff0c\u9700\u8981\u6211\u4eec\u544a\u8bc9\u5b83willDeallocSignal\u7684\u65f6\u5019\u5b8c\u6210\u6240\u6709\u6e05\u7406\u5de5\u4f5c\u3002<\/p>\n<p>\u9664\u4e86\u5b9a\u65f6\u5668\u3001KVO\u3001NSNotification\uff0c\u5305\u62ec\u5c01\u88c5\u7684\u67d0\u4e2a\u529f\u80fd\u5bf9\u8c61\uff0c\u6bd4\u5982HttpRequest\uff0c\u6216\u8005\u6570\u636e\u5e93ListSql\u7b49\uff0c\u5408\u7406\u7684\u5229\u7528\u81ea\u91ca\u653e\u53ef\u4ee5\u7ed9\u4f7f\u7528\u8005\u5e26\u6765\u66f4\u591a\u7684\u4fbf\u5229\uff0c\u540c\u65f6\u4e5f\u4f1a\u51cf\u5c11 crash \u4ea7\u751f\u7684\u6982\u7387\u3002\u5b9e\u73b0\u81ea\u91ca\u653e\u7684\u65b9\u6cd5\u53ef\u4ee5\u603b\u7ed3\u4e3a\u4ee5\u4e0b\u4e09\u79cd\u65b9\u5f0f<\/p>\n<ol>\n<li>\u00a0\u52a8\u6001\u5c5e\u6027\u7684\u81ea\u91ca\u653e<\/li>\n<li>@property \u7684\u81ea\u91ca\u653e<\/li>\n<li>swizzling dealloc\u7684\u81ea\u91ca\u653e<\/li>\n<\/ol>\n<p>\u53ef\u4ee5\u6839\u636e\u5177\u4f53\u4e1a\u52a1\u6216\u8005\u8bbe\u8ba1\u601d\u60f3\u9009\u62e9\u5bf9\u5e94\u7684\u5b9e\u73b0\u65b9\u5f0f\uff0c\u8fd9\u662f\u4e00\u79cd\u601d\u60f3\uff0c\u66f4\u662f\u4e00\u4e2a\u4e60\u60ef\u3002\u76f8\u4fe1\u4f60\u4f1a\u7231\u4e0a\u5b83\uff0c\u6bd5\u7adf\u8c01\u4e0d\u559c\u6b22\u7b80\u6d01\u7684\u5b9e\u73b0\u65b9\u5f0f\u4e86\uff01<\/p>\n<address class=\"\">\u540e\u8bb0: \u597d\u4e45\u6ca1\u6709\u66f4\u65b0\u6587\u7ae0\uff0c\u4e00\u662f\u6700\u8fd1\u4efb\u52a1\u6bd4\u8f83\u91cd\uff0c\u63a5\u624b\u8001\u4ee3\u7801\uff0c\u51e0\u5343\u884c\u7684Controller\u5b9e\u5728\u65e0\u80fd\u4e3a\u529b\uff0c\u53ea\u80fd\u91cd\u5199\u3002\u5982\u4eca\uff0c\u9762\u5bf9\u4e0d\u5230300\u884c\u7684Controller\u8fd8\u662f\u633a\u6709\u6210\u5c31\u611f\u3002\u751f\u547d\u4e0d\u606f\uff0c\u6298\u817e\u4e0d\u6b62\uff01\u4e8c\u662f\u60f3\u4e3a\u5927\u5bb6\u5206\u4eab\u4e00\u70b9\u5e72\u8d27\uff0c\u4e0d\u6562\u8f7b\u6613\u63d0\u7b14\u3002\u4f9d\u65e7\uff0c\u8bb0\u5f97<a href=\"https:\/\/github.com\/panghaijiao\">\u70b9\u8d5e<\/a>\uff0c\u611f\u8c22\u5927\u5bb6\u6765\u8bbf!<\/address>\n","protected":false},"excerpt":{"rendered":"<p>\u8f6c\u8f7d\u8bf7\u6ce8\u660e\u51fa\u5904:http:\/\/www.olinone.com\/ \u4eca\u5929\uff0c\u8ddf\u5927\u5bb6\u804a\u804a\u201c\u81ea\u91ca\u653e\u201d\u601d\u60f3\u5728iOS\u5f00\u53d1\u4e2d\u7684\u2026 <span class=\"read-more\"><a href=\"http:\/\/www.olinone.com\/?p=232\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/posts\/232"}],"collection":[{"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.olinone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=232"}],"version-history":[{"count":14,"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions"}],"predecessor-version":[{"id":381,"href":"http:\/\/www.olinone.com\/index.php?rest_route=\/wp\/v2\/posts\/232\/revisions\/381"}],"wp:attachment":[{"href":"http:\/\/www.olinone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=232"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.olinone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=232"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.olinone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=232"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}