Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.