lundi 25 juillet 2016

XIB required initializers - no storyboard

Click Here For Image

Hey, in the image I am simply creating a view controller that manages a blue view. When I create and initialize everything in the AppDelegate.swift, everything works regardless of whether or not I comment out the 2 top initializers (commented out in green in the photo).

I heard from other developers that when working with XIB and not story board, the 2 initializers are required. Can someone explain to me why it works even if I don't have them?

Aucun commentaire:

Enregistrer un commentaire