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 Swift Enums and Structs Structs and their Methods Initializers

oyemayowa sanwo
oyemayowa sanwo
861 Points

Concise study material or restart whole course

I lost my computer almost 6 weeks ago and stopped classes. As I am a beginner, I feel I have forgotten the bulk of what I learned. Is there a concise guide I can study to go over all I did before or do I need to restart the course from scratch? Still don't get this init with struct.

Traci McGrew
Traci McGrew
2,559 Points

Ugh. That's awful. Glad you're up and running again though. Two ideas instead of doing it all again and you could do one or both of them:

Idea #1:

Go to this link: https://developer.apple.com/swift/resources/

Scroll down to "Presentations, Documentation, and Sample Code".

Click on "The Swift Programming Language" under the "Guides and Reference" section.

On the left hand side click "A Swift Tour". Read over that and it should help refresh some of what you learned in the courses you worked through and then click "Language Guide" and start going through the sections for concepts you could tell you needed to go over again/didn't get well the first time.

Idea #2:

You spent lots of time going through the courses the first time, and you had to pass those exercises/challenges to move on through the courses. So, even though it's been 6 weeks, at one point you knew it well enough to pass those. Go back through all the courses starting at the beginning of the track but just go to the exercises. If you can do them still then great. If you can't, then re-watch as much of the movies as you need to that enables you to be re-familiarized and complete the exercise. Make sure you do the extra credit challenges as well.

Hope this helps.

1 Answer

Max Hirsh
Max Hirsh
16,773 Points

I think a lot of the basics of swift are covered concisely in the swift language e book that apple published. Just search for "swift" in the apple book store -- it's a free download. The official developer documentation on the other hand is pretty dense and self referential. There's also a lot more out there for objective C than swift still.