common-component for ios