This commit is contained in:
7sharp9 2016-03-22 09:58:30 +00:00
Родитель 04f0e0708d
Коммит bc661e3e7a
1 изменённых файлов: 1 добавлений и 12 удалений

Просмотреть файл

@ -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) )