I would like to wire up a custom swift delegate in IB. The delegate is an object that implements a certain protocol in swift.
protocol ThumbnailTableViewCel
Not ideal, but an option is to do something like this:
@IBOutlet var objectType: NSObject! private var conformingObject: SomeProtocol { return objectType as SomeProtocol }
Got to make sure your objectType conforms to SomeProtocol or things will explode
objectType
SomeProtocol