Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Rebuilding from Scratch

Hey everyone, I have some problems with my Simulator, there is black screen and I can`t see my array. I have latest Xcode. Can anybody help me?

2 Answers

Sometimes it's helpful to close out the simulator program and restart it by running your app again. The default background should be white, so if you're getting a black background, it's either something wrong with one of your views, or it's Simulator acting weird. I would try commenting out the code in your App Delegate file that loads a root view controller (or adds a view to the window, whatever the case may be). See if the view is white. If not, then the simulator is acting weird. If it actually is white, try to figure out which view is causing the black screen by commenting out lines of code.

after a little time it worked by itself :)

The simulator is slow. I have the same problem on my 5 year old MBP. I am sure they're using a Power Mac with Gigs of ram and stupid processing power...

yeah, man. do you know any medicine for give second life for MacBook Pro?

Not really. big problem is the graphics card with the older MBPs they were crap on the 13" models. They are much better now I hear.