iOS

Darryl Robinson
Darryl Robinson
iOS Development Techdegree Student 6,977 Points

Project 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.

Jeff McDivitt
Jeff McDivitt
20,642 Points

Can you provide some more detail on what you are trying to build, so I can see if I can assist?

1 Answer

Apple 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/