I’ve struggled to get a login / startup view to show before my mainWindow nav controllers and its finally working, but I’m now getting these analyzer warnings. If I release the navigation controller, the release in the dismiss button with cause an error.
what should I do here ?

You get a warning, because you allocate a new object, but your reference is lost when the method returns. You probably want to make your lvc an instance variable, so that you can access it later (and maybe release it when it’s no longer needed).