I am creating an application in which some users will have more access to functions than others. The concept is that some users are parents, while others are children, and parents can, for example, add responsibilities, and children can not. I am wondering what are the best practices for implementing such a setup, including:
1. Do I have to have separate storyboards and VC for parents and children? Basically, there are some buttons and functions that should exist on certain pages for parents, as well as additional screens.
2. Is it better to do this to have a role attribute in a custom class?
3. In general, for an application in which information is shared among users (for example, one family), what are the best design methods?
If anyone has any sample Swift code for this kind of thing, it would be very helpful to look since I am just starting out with iOS.
Thanks in advance.
source
share