There are three types of users in an iOS app which I am working on these days, the user types are listed below:
- Standard User
- Team Leader
- Board Member
As the functionalities for the users can be different, I think it would make sense to have three Storyboards in the app, each containing its respective flow for the user who is currently logged in. So, the Story Boards will be:
- Standard User Story Board
- Team Leader Story Board
- Board Member Story Board
So far, so good!
Now, I have a TasksViewController which is responsible for displaying tasks specific to user currently logged in, this View Controller is created in XIB. TasksViewController offers a common functionality and it makes some logical sense to me that I should be able to use TasksViewController in all the Story Boards.
The questions are:
- Is this a right thing to do?
- If it is a right thing to do, is it possible to do so?
- If its possible, how to implement it?