{"id":4598,"date":"2014-03-30T13:48:54","date_gmt":"2014-03-30T13:48:54","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/nib-objects-gets-bad-access-even-though-it-have-been-retained-by-property-collection-of-common-programming-errors\/"},"modified":"2014-03-30T13:48:54","modified_gmt":"2014-03-30T13:48:54","slug":"nib-objects-gets-bad-access-even-though-it-have-been-retained-by-property-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/nib-objects-gets-bad-access-even-though-it-have-been-retained-by-property-collection-of-common-programming-errors\/","title":{"rendered":"nib objects gets bad access even though it have been retained by property-Collection of common programming errors"},"content":{"rendered":"<p>I have nib file having lots of UIViews(More than 100), Also I am creating 500+ UIViews using Code.<\/p>\n<p>Just FYI, Application is kind of Game board with Blocks.<\/p>\n<p>Problem, Randomly application get crashed on nib objects while playing game. I am not able to make test case. But I can say that Application crashed on Nib objects(IBOutlet) only.<\/p>\n<p>each time it throughs bad access on nib&#8217;s IBOutlet only.<\/p>\n<p>I tried by making IBOutlet property with retain. also synthesize properly, but getting the same problem randomly.<\/p>\n<p>Please help me to manage nib objects.<\/p>\n<p>Exact Error Message was : EXC_BAD_ACCESS<\/p>\n<p>Here is Stacktrace<\/p>\n<pre><code>libobjc.A.dylib 0x3995e5aa objc_msgSend + 9\n1WWS 0x00064437 0x5a000 + 42039\n2WWS 0x00063b5d 0x5a000 + 39773\n3Foundation 0x37df7539 + 200\n4Foundation 0x37deedb9 + 840\n5Foundation 0x37e673db + 102\n6libdispatch.dylib 0x370b211f + 10\n7libdispatch.dylib 0x370b14b7 + 22\n8libdispatch.dylib 0x370b61bd + 224\n9CoreFoundation 0x34d57f3b + 1290\n10CoreFoundation 0x34ccaebd CFRunLoopRunSpecific + 356\n11CoreFoundation 0x34ccad49 CFRunLoopRunInMode + 104\n12GraphicsServices 0x3261d2eb GSEventRunModal + 74\n13UIKit 0x342a72f9 UIApplicationMain + 1120\n14WWS 0x0005b09f 0x5a000 + 4255\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have nib file having lots of UIViews(More than 100), Also I am creating 500+ UIViews using Code. Just FYI, Application is kind of Game board with Blocks. Problem, Randomly application get crashed on nib objects while playing game. I am not able to make test case. But I can say that Application crashed on [&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-4598","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4598","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=4598"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/4598\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=4598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=4598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=4598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}