SlackTextViewController icon indicating copy to clipboard operation
SlackTextViewController copied to clipboard

init triggers viewDidLoad before subclass init can run

Open russbishop opened this issue 12 years ago • 2 comments

The commonInit method touches the view, which triggers viewDidLoad to fire before a subclass can finish it's init. In our case we can't run the viewDidLoad logic without the values provided to the initializer, which we don't have because it fires prematurely.

All view manipulation logic should be in viewDidLoad, never in the init path.

russbishop avatar Sep 25 '14 17:09 russbishop

Nevermind, I see the update, the pod spec is just out of date

russbishop avatar Sep 25 '14 17:09 russbishop

Yes, it's fixed now. We will release a new pod later today.

dzenbot avatar Sep 25 '14 17:09 dzenbot