I have created a custom view (Quantity View) with nib
file in Swift. I have created some IBOutlets
& IBActions
(for buttons, labels etc.) in my custom view.
I tried to use this custom view (Quantity View) by assigning class name to a UIView
in my storyboard.
It's showing me all the IBOutlets
& IBActions
in the Connections Inspector, as shown in this screenshot: .
I just want to show only delegate
for the Custom view.
Possible Answer:
I thought I can use the -viewWithTag
to get the views instead of Outlets.
But, I want to know if it's possible with having Outlets also or if there is much better way to do this?
What are the other possible ways (optimum) to handle this situation?