Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>Was merging a consideration for going all code?</p> </blockquote> <p>Yes, No, and "Portions Of". It depends on things like:</p> <ul> <li>The people involved</li> <li>the complexity of the UI</li> <li>the quality of the implementation you need.</li> <li>the expected lifetime of the implementation</li> </ul> <p>But yes, it has been, and it often is when the case is just not trivial -- Otherwise, you just fight it by decomposing XIBs into smaller pieces. That can work pretty well (or not), depending on what you are faced with.</p> <blockquote> <p>Do you use XIBs just for layout and code the rest?</p> </blockquote> <p>Depends on a lot of things.</p> <ul> <li>XIB-only has its restrictions, and is much like code duplication. I use it at times for prototyping, other times because that's what somebody else favored.</li> <li>"A little of both" can require a lot of glue. At times, it can be pretty disorganized -- e.g. "where's that action <em>really</em> set?". Of course, this can also be used to achieve what some would consider a good balance of XIB and programmatic separation. The simpler the XIB is, the less often it will need to be adjusted, and less likely it will cause merge conflicts.</li> <li>Code-only is my preference, but there are people who just prefer WYSIWYG, and people aren't very familiar writing UIs programmatically. As well, if quality, reusability, and maintainability not requirements (e.g. bang out a prototype), then code-only can be overkill.</li> </ul> <blockquote> <p>Or, have you had any luck merging XIBs and over time you just get better at manually reading?</p> </blockquote> <p>No real luck -- just by breaking them into smaller components. Unfortunately, the "Decompose Interface" option (from IB3) is not available in Xc4's editor.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload