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

gio gulua
gio gulua
1,474 Points

Just a remark: it's second time I've stopped learning swift in a year, because of this video....

video is too hard and emphasis is made on typing rather than explaining what structs do...

2 Answers

gio gulua
gio gulua
1,474 Points

Structs in Swift track

Just keep going through the course. Try not to let things like this keep you from learning.

A struct is just a structure used to organize a related set of information. For example, you can put the contents of an address in a struct, giving it the fields (or variables) street, city, state and zipCode. That's all it is, conceptually.

gio gulua
gio gulua
1,474 Points

Thanks for kind words, actually the problem in my opinion is, that the videos main emphasis is on building a tower game which is complex itself, I just had to look for other videos on youtube which made perfect sense and now I think I get it.