UIKit
Finding the common superview
Given several UIViews, how would you design a function that returns their nearest common superview?
Finding the common superview
Given several UIViews, how would you design a function that returns their nearest common superview?
UIKitShort answerBasics
How would you write a function that starts at a root view and finds a view matching some …
#view-hierarchy #coding
UIKitShort answerBasics
You're writing a function that finds the nearest common parent of two UIViews. Which data…
#view-hierarchy
ArchitectureShort answerAdvanced
This is a live coding exercise. Without Foundation's NotificationCenter, design and imple…
#coding
CS fundamentals and algorithmsShort answerAdvanced
You're given a specific UIView instance in an original view hierarchy, plus a copy of tha…
#view-hierarchy