Add UIView snippet code