migrate Toast+UIView into swift