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

How to become a better programmer. ios - Swift

So I started learning Swift about a month ago. And I enjoy it greatly. My only problem is that I have a hard time applying my knowledge. I understand the basics, but once I need to get to point B from point A, I struggle. I have a hard time bring all my knowledge together.

So my question is, is there any book (or website, article..ect) out there that will help get into the programming mindset?

A lot of the time I struggle to solve code challenges, and when I look up some advise or solutions to the challenge, I am always like, "Well Duh, Why didn't i think to do that". I often make the problem way more complex then it really is.

I saw a website that has a bunch of math problems that you can solve using whatever programming language you want. Is that a good way to start? To just solve random problems with Swift?

Any advice would be much appreciated!

Thanks :D

2 Answers

For one, it definitely just take practice. If you run into a problem then just look online and next time you run into the same problem you will remember the solution.

One way to learn it is to make a game. It can be anything, and every time you run into a problem just ask somebody or ask on any programming forum, and work your way through it. By the time you are finished you will be experienced enough to make a more complex game, and you will probably see how you could of made your game better and you learn from those mistakes.

I can't point to any specific website or book--besides the one apple made--but there are resources online everywhere, and remember "practice make perfect!"

Thanks for the advice. I really like that game idea!

The only thing that will really help is to keep practicing.

In order to apply your knowledge, try building your own applications. I just got this book, and I would highly recommend it.

http://www.amazon.com/Beginning-iPhone-Development-Swift-Exploring/dp/1484204107/ref=sr_1_2?ie=UTF8&qid=1415663738&sr=8-2&keywords=swift+ios

It's essential to become very familiar with the iOS SDK if you want to be an app developer.

If you get stuck, just visit stackoverflow.com

http://stackoverflow.com/

There are thousands of experienced developers who are ready to help you out, and chances are someone has already encountered your problem.

Best of luck!

Thanks for the advise and links! :D

Sure thing. :)