I have an app that is like a questionaire/survey form in format. I'm building for iOS9 and above using Swift, and Core Data. I created my Core Data model simply by having the Xcode template generate the boilerplate code in the AppDelegate when I created the project. I created an Entity called "Person" with attributes for name as a String and date as an NSDate. The rest of the questionaire/form consists of radio buttons that the user can check from a series of sections and areas through out the form where they can actually type in a response for "other". In the end the last screen compiles every selected answer with there name and date at the top. I think this could be a real simple introduction to finally learning Core Data and using it in a project.
My question is: Should I create a boolean attribute for every possible selectable question or is there a better way to handle that? It seems quite repititous to create an attribute for every possible selection? If I supplied an "answers" attribute for the Person Entity of type NSArray would it be a better solution? I would have to hold all those answers til the end I suppose since you can't add to the array over the course of filling out the form I would think? (I can't keep adding to the Array every time they select an answer right?) I have seven screens with questions and spots through out the form for text entries. It seems like even making an attribute for all the "other" selections where they type in an answer is quite repititous too. However typing in an answer (a String) is different from "is something selected or not?"
How would somene experienced with Core Data handle this? Is it best to just make an attribute for everything? Something about getting the Entity portion right seems important and more uncomfortable to change later so I want to make sure I set this up for a better chance of success than otherwise. Any advice on breaking down the attributes of the Person entity would be much appreacited.