Until now we had been doing some custom weirdness to render the initial views, either manually adding views to SDL.rootView or SDL.window (neither of which exists any longer) at some undefined point in time.
The current PR makes it a lot easier to make a cross-platform app, because we can use a common entry point that has more clearly-defined behaviour.
Fixes #230
Type of change: Correctness and deployment fix
Motivation
Until now we had been doing some custom weirdness to render the initial views, either manually adding views to
SDL.rootView
orSDL.window
(neither of which exists any longer) at some undefined point in time.The current PR makes it a lot easier to make a cross-platform app, because we can use a common entry point that has more clearly-defined behaviour.
Android
iOS / Mac (
main.swift
)