Fix ChildView template for swift