Cleanup
This commit is contained in:
Родитель
04f0e0708d
Коммит
bc661e3e7a
|
@ -162,15 +162,4 @@ module TypeBuilder =
|
|||
|
||||
//add outlet release
|
||||
providedController.AddMember releaseOutletsMethod
|
||||
|
||||
providedController
|
||||
|
||||
// add InitialViewController to container as property, only the root controller should have this
|
||||
// let buildInitialController providedController (designerFile:Uri) =
|
||||
// let storyboardName = designerFile.AbsolutePath |> Path.GetFileNameWithoutExtension
|
||||
// ProvidedMethod("CreateInitialViewController", [], providedController,
|
||||
// IsStaticMethod = true,
|
||||
// InvokeCode = fun _ -> let viewController =
|
||||
// <@@ let mainStoryboard = UIStoryboard.FromName (storyboardName, null)
|
||||
// mainStoryboard.InstantiateInitialViewController () @@>
|
||||
// Expr.Coerce (viewController, providedController) )
|
||||
providedController
|
Загрузка…
Ссылка в новой задаче