-(void)test { self.view.alpha = 0.4; } 

If this is done from the view class on which actions are performed, everything works; if delegated to another class, it is executed, but does not work. What to do to make it work?

    1 answer 1

    If you delegate to another class, then it must know the path to the view on which you want to perform an action. Or in the delegate to transfer view and in the delegated class to process it.

    • basically in the delegated method the object itself is passed, IMHO the second option is better. I would have done so - Alexander Sviridov