{"id":400,"date":"2014-10-30T15:47:15","date_gmt":"2014-10-30T06:47:15","guid":{"rendered":"http:\/\/www.chihayafuru.jp\/tech\/?p=400"},"modified":"2017-02-13T14:23:51","modified_gmt":"2017-02-13T05:23:51","slug":"xcode%e3%83%87%e3%83%90%e3%83%83%e3%82%b0-print-object","status":"publish","type":"post","link":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/archives\/400","title":{"rendered":"Xcode\u30c7\u30d0\u30c3\u30b0 print-object"},"content":{"rendered":"<p>Xcode6\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u3066\u30d6\u30ec\u30a4\u30af\u4e2d\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8868\u793a\u3059\u308b\u3002<\/p>\n<h2>print-object\u30b3\u30de\u30f3\u30c9<\/h2>\n<pre class=\"lang:default decode:true \" >(lldb) po foo_object<\/pre>\n<p><\/p>\n<h2>UIView\u306e\u968e\u5c64\u8868\u793a<\/h2>\n<pre class=\"lang:default decode:true \" >(lldb) po [[bar view] recursiveDescription]<\/pre>\n<p>\u51fa\u529b\u4f8b<\/p>\n<pre>\r\n<FooView: 0x1566b5020; baseClass = UICollectionViewCell; frame = (63.5 24; 112 56); animations = { backgroundColor=<CASpringAnimation: 0x17862d5c0>; }; layer = <CALayer: 0x17862d540>>\r\n   | <UIView: 0x178197aa0; frame = (0 0; 112 56); gestureRecognizers = <NSArray: 0x178a48490>; layer = <CALayer: 0x17862d560>>\r\n   | <UILabel: 0x1566b7810; frame = (0 0; 0 0); userInteractionEnabled = NO; layer = <_UILabelLayer: 0x17828c6c0>>\r\n   | <UIView: 0x178197b70; frame = (0 0; 0 0); layer = <CALayer: 0x17862d620>>\r\n   |    | <UILabel: 0x1566b7970; frame = (0 0; 0 0); text = 'ABCabc'; autoresize = W+H; userInteractionEnabled = NO; layer = <_UILabelLayer: 0x17828c710>>\r\n   |    | <BarView: 0x178197c40; frame = (0 0; 0 0); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = <CALayer: 0x178437860>>\r\n   |    |    | <UIView: 0x178197d10; frame = (0 0; 0 0); opaque = NO; autoresize = W+H; userInteractionEnabled = NO; layer = <CALayer: 0x17862d940>><\/pre>\n<p><a href=\"http:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object-300x200.png\" alt=\"Xcode6_print_object\" width=\"300\" height=\"200\" class=\"alignnone size-medium wp-image-407\" srcset=\"https:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object-300x200.png 300w, https:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object-1024x685.png 1024w, https:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object-624x417.png 624w, https:\/\/www.chihayafuru.jp\/tech\/wp-content\/uploads\/2014\/10\/Xcode6_print_object.png 1229w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Xcode6\u306e\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u306b\u3066\u30d6\u30ec\u30a4\u30af\u4e2d\u306b\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u8868\u793a\u3059\u308b\u3002 print-object\u30b3\u30de\u30f3\u30c9 (lldb) po foo_object UIView\u306e\u968e\u5c64\u8868\u793a (lldb) po [[bar view] rec [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[11],"class_list":["post-400","post","type-post","status-publish","format-standard","hentry","category-memo","tag-xcode"],"_links":{"self":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":8,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/400\/revisions"}],"predecessor-version":[{"id":409,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/posts\/400\/revisions\/409"}],"wp:attachment":[{"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/media?parent=400"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/categories?post=400"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.chihayafuru.jp\/tech\/index.php\/wp-json\/wp\/v2\/tags?post=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}