Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Designing Interviews:2D Artist2D Game Graphic Designer3-D Animation3D Artist3D Game Modeler3D Graphics3D Illustrator3D Interior Designer3D Maya3D ModelingAssistant Design EngineerAutomobile DesignerDesign EngineerFashion DesignerFreelance Textile DesignerItalian Kitchen DesignerLogo DesignerMobile Apps DesignerPhysical Product DesignerProduct DesignerTextile Dyeing SpecialistUX DesignerWeb Designing
Copyright © 2018. All Rights Reserved
UX Designer Interview Question:
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
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.