{"id":4399,"date":"2014-03-30T10:32:14","date_gmt":"2014-03-30T10:32:14","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-dont-non-existent-iboutlets-crash-the-application-collection-of-common-programming-errors\/"},"modified":"2014-03-30T10:32:14","modified_gmt":"2014-03-30T10:32:14","slug":"why-dont-non-existent-iboutlets-crash-the-application-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/why-dont-non-existent-iboutlets-crash-the-application-collection-of-common-programming-errors\/","title":{"rendered":"Why don&#39;t non-existent IBOutlets crash the application?-Collection of common programming errors"},"content":{"rendered":"<p>Depending on the version of the cocoa runtime you are using several things could happen:<\/p>\n<p>IBOutlet will send a message, but since the reciever(NIL?) does not understand it an exception is thrown, but is caught the console likely prints a message to inform you of this.<\/p>\n<p>IBOutlet first checks <code>[object respondsTo:@SEL(selector)]<\/code>, if false it does nothing.<\/p>\n<p>The XIB object does not invoke your message delegate message (getter) at all, because it is not intersted in it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Depending on the version of the cocoa runtime you are using several things could happen: IBOutlet will send a message, but since the reciever(NIL?) does not understand it an exception is thrown, but is caught the console likely prints a message to inform you of this. IBOutlet first checks [object respondsTo:@SEL(selector)], if false it does [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-4399","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4399","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=4399"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4399\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4399"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4399"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4399"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}