Daily iOS
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?

Submit