UIKitOracleinterview report
Finding the common UIView parent
You're writing a function that finds the nearest common parent of two UIViews. Which data structure would you keep one view's superview chain in?
Finding the common UIView parent
You're writing a function that finds the nearest common parent of two UIViews. Which data structure would you keep one view's superview chain in?
UIKitShort answerAdvanced
How do UIView and CALayer relate to each other, and why are their roles split?
#uiview
UIKitShort answerBasics
How would you write a function that starts at a root view and finds a view matching some …
#view-hierarchy
UIKitShort answerAdvanced
Given several UIViews, how would you design a function that returns their nearest common …
#view-hierarchy
CS fundamentals and algorithmsMultiple choiceBasics
What problem does this type cause when you put it in a Set? …
#set