Ecco come ho chiamato l'UIView DraggableViewBackground in Obejective C e sta funzionando perfettamente, ma come fare lo stesso in SwiftCome chiamare initWithFrame di Objective C UIView a Swift
DraggableViewBackground *draggableBackgroundforurl = [[DraggableViewBackground alloc]initWithFrame:self.view.frame];
mio DraggableViewBackground è in Obiettivo C e voglio impostarlo come sottomenu al clic di un pulsante
Vuoi aggiungere un esempio, per favore (la teoria pura non è sufficiente). –