I might be missing something really stupid here but can someone tell me why this isn't working? nothing is getting added to the Array.
var goblin = NSImage[]()
for (var i = 2; i == 50; i++) {
var imageString = "/Users/Neil/Developer/iOS Apps/Resources/Goblin/\(i).png"
var image = NSImage(contentsOfFile: imageString)
goblin.append(image)
}
goblin[0]
my files are just simply called 2.png, 3.png up to 50.png. I'm just working in playground for now