Self-sizing cells and Dynamic Type
A UIKit car listing cell has to grow in height and not truncate under the accessibility large text settings. How do you set up the constraints so the cell height is computed automatically from the text size?
A UIKit car listing cell has to grow in height and not truncate under the accessibility large text settings. How do you set up the constraints so the cell height is computed automatically from the text size?
An unbroken vertical chain of constraints has to run from the cell's contentView top to the last label's bottom so Auto Layout can compute the cell height from the text height, and any height constraint should be greaterThanOrEqualTo instead of a fixed value.
UIKitShort answerBasics
You need a UITableView cell whose height varies with the length of a comment. What do you…
#self-sizing
UIKitShort answerBasics
In a UIKit collection view with image cells, fast scrolling makes the previous request's…
#uikit
UIKitShort answerBasics
A tic-tac-toe game built with UIKit needs unlimited undo. What would you store to support…
#uikit
ArchitectureShort answerIntro
How does Cocoa MVC in UIKit differ from the textbook MVC?
#uikit