You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protocolInterfaceBuilderControllerContainer:UIViewController{associatedtypeXibController:InterfaceBuilderController}extensionInterfaceBuilderControllerContainer{varxibController:XibController{
children.first(where:{ $0 is XibController})as!XibController}init(withXib:Bool){self.init()letvc=XibController.create()addChild(vc)
view.add(vc.view){ v in
v.flex.grow(1)}
vc.didMove(toParent:self)}}
The text was updated successfully, but these errors were encountered:
This protocol will synthesise capability of conforming controller to layout using child interface builder information. But it seems, something strange happens. If we use this protocol initialiser over BaseController convenience one, then prefersLargeTitles won't work.
The text was updated successfully, but these errors were encountered: