DEV Community

Discussion on: Tags in Swift UIViews

Collapse
 
ithinker profile image
Roman Temchenko

Yeah. Usually it is the last resort when it is very hard to manage view for whatever reason. As other answer suggests you may toggle some state variable on a view controller or the view itself if you can subclass it.

Collapse
 
midhetfatema94 profile image
Midhet Sulemani

Thanks for the opinions :)