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?

Shawn Baek
  • 1,928
  • 3
  • 20
  • 34

1 Answers1

6

Use MARK

Example:

// MARK: Properties

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

// MARK: - Properties 
Scriptable
  • 19,402
  • 5
  • 56
  • 72