Tell me what's your preference when writing UI's? Xib files, Storyboards or programmatic UIView?
Submitted by: MuhammadThere's no right or wrong answer to this, but it's great way of seeing if you understand the benefits and challenges with each approach. Here's the common answers I hear:
☛ Storyboard's and Xib's are great for quickly producing UI's that match a design spec. They are also really easy for product managers to visually see how far along a screen is.
☛ Storyboard's are also great at representing a flow through an application and allowing a high-level visualization of an entire application.
☛ Storyboard's drawbacks are that in a team environment they are difficult to work on collaboratively because they're a single file and merge's become difficult to manage.
☛ Storyboards and Xib files can also suffer from duplication and become difficult to update. For example if all button's need to look identical and suddenly need a color change, then it can be a long/difficult process to do this across storyboards and xibs.
☛ Programmatically constructing UIView's can be verbose and tedious, but it can allow for greater control and also easier separation and sharing of code. They can also be more easily unit tested.
Most developers will propose a combination of all 3 where it makes sense to share code, then re-usable UIViews or Xib files.
Submitted by: Muhammad
☛ Storyboard's and Xib's are great for quickly producing UI's that match a design spec. They are also really easy for product managers to visually see how far along a screen is.
☛ Storyboard's are also great at representing a flow through an application and allowing a high-level visualization of an entire application.
☛ Storyboard's drawbacks are that in a team environment they are difficult to work on collaboratively because they're a single file and merge's become difficult to manage.
☛ Storyboards and Xib files can also suffer from duplication and become difficult to update. For example if all button's need to look identical and suddenly need a color change, then it can be a long/difficult process to do this across storyboards and xibs.
☛ Programmatically constructing UIView's can be verbose and tedious, but it can allow for greater control and also easier separation and sharing of code. They can also be more easily unit tested.
Most developers will propose a combination of all 3 where it makes sense to share code, then re-usable UIViews or Xib files.
Submitted by: Muhammad
Read Online UX Designer Job Interview Questions And Answers
Top UX Designer Questions
☺ | Tell Us What Do You Do When There’s Not Enough Time To Do Research? |
☺ | Tell us what are cards in mobile design? Why are they good and when is the best time to use them? |
☺ | Tell me what is the best search pattern for mobile phones? |
☺ | Explain me how can designers leverage audio to enhance user experience? |
☺ | Tell us what is onboarding and why is it so important for mobile design? |
Top Designing Categories
☺ | Web Designing Interview Questions. |
☺ | 3D Maya Interview Questions. |
☺ | Textile Dyeing Specialist Interview Questions. |
☺ | Fashion Designer Interview Questions. |
☺ | Physical Product Designer Interview Questions. |