If I have an instance of UILabel
in storyboard and I have it connected to view controller as IBOutlet
. If I want add some functionality only to this label
, how can I do it? I know that for obj-c you make a subclass of UILabel
. But I wonder if there is better approach in swift.
Is it possible for this specific label
to conform to some protocol that I'll make.