{"id":1109,"date":"2014-04-22T23:35:53","date_gmt":"2014-04-22T21:35:53","guid":{"rendered":"http:\/\/www.small-apps.com\/?p=1109"},"modified":"2018-09-25T03:01:32","modified_gmt":"2018-09-25T01:01:32","slug":"black-hole","status":"publish","type":"post","link":"https:\/\/www.small-apps.com\/de\/2014\/04\/black-hole\/","title":{"rendered":"Black hole"},"content":{"rendered":"<p>When I recently did some programming while riding in the commute train, I added an new image view, added an outlet using the Assistant editor of Xcode 5 and started to test my program. All worked well, I added a few changes and had to hop off the train.<\/p>\n<p>Some hours later I continued testing and was surprised to see a black window instead of my app. <span style=\"line-height: 1.5;\">I could not remember what I had changed last time. Could it be, that I had made mistakes in the connection of the scenes? Did not look like so. Did I make a mistake in the code? No evidence for that. <\/span><\/p>\n<p><span style=\"line-height: 1.5;\">Then I finally saw it:\u00a0<\/span>\u00a0Instead of putting the button to hidden, I had put my image view to hidden.\u00a0I had connected the whole view, \u00a0instead of connecting the button only \u00a0&#8211; without noticing it. This meant, I had set the view that was meant to be the background to hidden and thus I had a black view into the endless dark black hole of the background behind the background.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I recently did some programming while riding in the commute train, I added an new image view, added an outlet using the Assistant editor of Xcode 5 and started to test my program. All worked well, I added a few changes and had to hop off the train. Some hours later I continued testing &hellip; <a href=\"https:\/\/www.small-apps.com\/de\/2014\/04\/black-hole\/\" class=\"more-link\"><span class=\"screen-reader-text\">\u201eBlack hole\u201c <\/span>weiterlesen<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1109","post","type-post","status-publish","format-standard","hentry","category-apt-app-programming-tipps"],"_links":{"self":[{"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/posts\/1109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/comments?post=1109"}],"version-history":[{"count":4,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/posts\/1109\/revisions"}],"predecessor-version":[{"id":1114,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/posts\/1109\/revisions\/1114"}],"wp:attachment":[{"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/media?parent=1109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/categories?post=1109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.small-apps.com\/de\/wp-json\/wp\/v2\/tags?post=1109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}