user2993422 user2993422 - 4 months ago 17
Swift Question

Accessing a UIView from its UIViewController in Swift

simple question
how do I access something in my

UIView
from the
UIViewController
?
i tried

self.view.functionname(variables)


but it dosent work..

Answer

the solution was -

 (self.view as! MyView'sName).myFunction