removing reference to bitmaskhelpers, adding a UIKit import, and code reviewing.