網頁

2012年7月30日 星期一

iOS5 rename ViewController





  • Select ViewController.h in the Project Navigator.
  • Double-click the word “ViewController” in the editor pane so that the word is selected.
  • Right-click, select Refactor\Rename…
  • Change the class name to YourViewController.
  • Ensure that “Rename related files” remains checked, and click “Preview.”
  • Verify the changes (if necessary), and then click “Save” to make the changes. You can opt to create a snapshot before the changes or disable the feature, your choice.

  • 沒有留言:

    張貼留言

    注意:只有此網誌的成員可以留言。