Code snippet get cuts off when use ..< in a for in loop
-
I love the plugin so far, but I’m having trouble when I create a for in loop that uses a half open range operator
For example:
let myArr = [5, 4, 8, 10, 1] for i in 1..<myArr.count { print (i) }
This will get displayed on a post as:
let myArr = [5, 4, 8, 10, 1] for i in 1..
Not sure what is causing this to get cut off. Any help would be much appreciated! Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Code snippet get cuts off when use ..< in a for in loop’ is closed to new replies.