I'm not sure if we can declare a protocol like:
protocol UIProtocol {
var height: CGFloat {get set}
}
protocol myProtocol : UIProtocol {
var item: AnyObject? {get set}
}
And then if I init an array of [myProtocol], this will give me: array cannot be bridged from Objective-C
Any help?