Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to comment on storyboards?

So I've been using Xcode 7's new feature to reference storyboards within storyboards. To add clarity to my references, I want to add a comment of sorts that can explain exactly why I've split up my storyboards.

Does this feature exist? I know I can create some dummy views but I feel like this is lazy and a bit inefficient.

like image 708
vivatus Avatar asked Mar 15 '23 03:03

vivatus


2 Answers

In you identity inspector there is a place you can write notes, that's basically your comment section.

  1. Select your storyboard Object
  2. Click show the identity inspector. enter image description here
  3. Then write your comment in the document note section.

enter image description here

like image 115
Brian Nezhad Avatar answered Apr 26 '23 06:04

Brian Nezhad


This is a good way of commenting visually on a storyboard, but still isn't perfect and is still a dummy view. I find it is probably the cleanest way to do it right now.

  1. Add a Storyboard Reference to your storyboardenter image description here
  2. Navigate to the Identity Inspector on the Storyboard Reference you addedenter image description here
  3. Set the Label attribute to your desired commententer image description here
  4. You can now move the your comment wherever you want inside the storyboardenter image description here
like image 40
Dylan Avatar answered Apr 26 '23 06:04

Dylan