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 trialDarryl Robinson
iOS Development Techdegree Student 7,978 PointsProject two classes and structs
Should I use individual classes and structs for each individual question or use one class or struct to house every individual question.
1 Answer
Marlon Henry
6,885 PointsApple is pro Structs and only about classes when you basically need to do a view. Strings and such like that are all structs. Look at what these objects are they are mainly structs and enums. Apple even goes pro structs in this WWDC ---> https://developer.apple.com/videos/play/wwdc2016/419/
Jeff McDivitt
23,970 PointsJeff McDivitt
23,970 PointsCan you provide some more detail on what you are trying to build, so I can see if I can assist?