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 Build a Self-Destructing Message iPhone App Designing and Starting the App A Storyboard with a Tab Bar Controller

M T
M T
11,934 Points

Has anyone been able to get the self destructing app to work in xcode 6?

Edit: It works fine. Note: don't change the new w and h controls in the storyboard just because Apple removed the zoom buttons. Those actually affect the rendering, even though they have the side effect of resizing the storyboard for better use.

Without any modifications to Xcode?

I've spent a good 8 hours on the log in screen itself, and before I go on studying how to modify templates and all - has anyone been able to get this project working as it is? If I'm on the wrong path and my solution is to rather reinstall XCode, I'd like someone to chime in and say, "Dude, there's no problem with the videos as they are even after the update. You've screwed something up".

Yes, I suck at programming.

6 Answers

Guys, I've only literally started watching this video so forgive me if I'm wrong, but if it's the empty application view that is your problem, you can follow the tutorial on the website code from above.

http://codefromabove.com/2014/09/xcode-6-removing-storyboards-and-creating-useful-empty-projects/

Dude same issue here. Still couldn't figure out the bug. Once I finish the Swift courses, I'll be going back to the Ribbit App and hopefully an answer would be available by then.

Wouldn't want to re-download an older version of Xcode just for this hiccup.

M T
M T
11,934 Points

Joey, I think I've figured out my problem . . . lemme take my time getting to it.

Since the visual navigation in the storyboard view is dogpiss and Apple removed the zoom buttons, did you set the new w/h thingy at the bottom of the screen to wCompact hCompact? And you did this because it zooms out so you can actually see 15 more pixels in order to navigate and organize the storyboard view better 500% better - because they removed the zoom controls but included this w/h thingy? Because you can't otherwise move around the storyboard view and zoom in and zoom out with the buttons Apple provided?

Guess what, this screws with objects in a view. Basically, keep it at wAny hAny and don't touch it, even if it's the fastest thing to do a job that it's not supposed to do.

To zoom, now you have to go to the Editor menu or use

Shift + Alt + Command + [

Shift + Alt + Command + ]

. . . still don't know how to pan around the storyboard.

M T
M T
11,934 Points

I tried changing the device target and disabling size classes to see if it would constrain a view, but that just deleted everything on my view controllers (WHY?) and I'm unable to undo my losses (WHY?).

Szymon Kadłuczka
Szymon Kadłuczka
8,762 Points

To answer your questions:

Go to your Main Storyboard -> Select any Storyboard -> Click "Show File Inspector" (first one on the left) -> Find and untick "Use Size Classes".

It will ask you what is a device of your choice. Choose iPhone. You will now have your "old" Xcode 5 view and everything will work just fine.

Did any one make a self destructing app till now?? I'm planning to learn the following 1)Objective-c basics 2)Build a blog reader iPhone App 3)Build a self-Destructing Message

Any Recommendations ??

M T
M T
11,934 Points

It'll work fine. Part of my problem was that I didn't understand why they got rid of the zooming interface in the storyboard when they updated xcode at the time (so I used the other interface buttons they left which DID have a zooming effect, but "broke" things functionally). If you have a track pad, zooming is easy with a pinch. I use a mouse, so this never occurred to me.