2

enter image description here

Hi, I want to separate properties and functions using comment.

How to comment in the code to achieve like greenline?

0

1 Answer 1

6

Use MARK

Example:

// MARK: Properties

Also if you put a dash afterwards it gives you a line separator

// MARK: - Properties 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.