Storyboard Segue Identifier naming conventions

前端 未结 4 363
情书的邮戳
情书的邮戳 2021-01-31 14:46

I\'m building a large storyboard and I was wondering if anyone has come up with helpful naming conventions for segue identifiers.

It looks like Apple j

4条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 15:21

    "ViewControllerAToViewControllerB"
    

    For example, if you have a MasterViewController and a DetailViewController, the segue identifier could be:

    "MasterToDetail"
    

提交回复
热议问题