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

Thomas Nilsen
Thomas Nilsen
14,957 Points

storyboards VS. doing it programmatically

Hi!

I have been though most of the IOS courses treehouse have to offer. In several of the projects you use storyboards when implementing the different view controllers.

I have also been though several of codeschool's IOS courses, and they tend to do everything programmatically.

Does one have the advantage over the other? Would love some insight on this.

2 Answers

Amit Bijlani
STAFF
Amit Bijlani
Treehouse Guest Teacher

We had a really good post on our blog titled Why I don't use Storyboards. I think as a beginner it is important for you to learn how to create a user interface programmatically. However, it all depends on your development workflow and style. Personally, I prefer using Storyboards because it helps maintain a clear separation and changes can be made easily.

Thomas Nilsen
Thomas Nilsen
14,957 Points

Thanks! Do you mind having a quick look at my other post: https://teamtreehouse.com/forum/storyboards-in-the-advanced-ios-project as I didn't quite agree/understand the answer? :)

Michael Reining
Michael Reining
10,101 Points

I think it very much depends on the app and the specific use case. It is best to know both approaches. I have read a lot of debates online from many professional developers. It's like asking if Ruby or PHP is better. They both have their pluses and minuses.