im having trouble overriding the initialization method for my CustomViewController thats designed in my Storyboard.
now im doing (in my mainViewController):
As another "workaround" for this problem, you could use delegation. Create a protocol that would act as data source for your UIViewController subclass from storyboard. Conform to this data source protocol, implement it and use it right after loading your UIViewController subclass:
required init?(coder aDecoder: NSCoder)
{
super.init(coder: aDecoder)
//invoke your data source here
}
I know... I also don't like this but... ;)