Created
Mar ’20
Replies
4
Boosts
0
Views
546
Participants
2
Everything is foldable, even a var or struct or enum declaration outside of a class.
So what is your exact case ?
I defined a long Array inside a ViewController, I dont see its foldable only the whole ViewController code and the functions !
Could you show this part of code ?
I tested:
let arr = ["1",
"2",
"3",
"4"]
I can fold on one line
let arr = [•••]
Aha got it, my array was like a one long line, once I brake it into 2 lines by hitting enter the folding showed