{"id":5488,"date":"2014-03-30T22:47:42","date_gmt":"2014-03-30T22:47:42","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/control-array-in-xcode-collection-of-common-programming-errors\/"},"modified":"2014-03-30T22:47:42","modified_gmt":"2014-03-30T22:47:42","slug":"control-array-in-xcode-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/control-array-in-xcode-collection-of-common-programming-errors\/","title":{"rendered":"control array in xcode-Collection of common programming errors"},"content":{"rendered":"<p>If you are asking how to detect which label or image is selected which are created at runtime,then<\/p>\n<p>1 Assing tags to the labels\/images while creating through code.<\/p>\n<p>2 Write a method which will be invoked when a particular image\/label is pressed.<\/p>\n<p>3 Pass the id of the sender when invoking that method.<\/p>\n<p>4 When the invoked method is called,write the code for a particular tag of an image or label(you can use switch case here).<\/p>\n<p>Thats it.You are good to proceed.<\/p>\n<p>Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are asking how to detect which label or image is selected which are created at runtime,then 1 Assing tags to the labels\/images while creating through code. 2 Write a method which will be invoked when a particular image\/label is pressed. 3 Pass the id of the sender when invoking that method. 4 When [&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-5488","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5488","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=5488"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5488\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5488"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5488"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5488"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}