Both ddl and tbox are an instance of a class that are both subclasses of UIControl. Hence both ddl and tbox inherit from UIControl.