miércoles, 21 de octubre de 2015

How to change the name of a viewController file

The file will be named to RecordSoundsViewController.swift

Four things to do:
  • Change the name of the file in the Project Navigator.


  • Changes in the code inside the file
    • In the comments at the beginning of the file
    • The name of the class
     

  • The name of the class in the Identity Inspector.
    • Select in the Project Navigator the Main.storyboard
    • Select the scene associated to this ViewController, and in the Identity Inspector select the class.


No hay comentarios:

Publicar un comentario