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

S B
S B
4,497 Points

Real-World uses of classes, structs, enums, etc. when creating apps like Facebook and Instragram.

Hi, I'm really enjoying the iOS beginners course. You're really great at breaking down the concepts.

When thinking about Classes, Structs, etc. I totally get how to relate these to real world video game examples (I guess it's just easier to relate to a class being a blueprint for a car, and a subclass the type of car, etc.). What I'm struggling with is conceptualizing how classes, structs, enums, etc. would be used when creating an app like Instagram or Facebook. I would really appreciate if you could provide 5-6 (or more) really good examples of how classes, structs, enums, etc. are used when creating apps like Uber, Instacart, Instagram, etc. This will really help me see the big picture.

Thank you!