iOS completed application startup code template

Now works directly for MainView of type Code