Below is my code:
var arrCategory:[NSString] =
["Australia","Austria","Belgium","Brazil","Cameroon","Canada","Chile","China","Denmark","Argentina"]
The strings given in above array are the name of images.
Below is my code:
var arrCategory:[NSString] =
["Australia","Austria","Belgium","Brazil","Cameroon","Canada","Chile","China","Denmark","Argentina"]
The strings given in above array are the name of images.
My Question Of Answer i find out and is Here:
cell.imgView.image = NSImage(named:self.arrCategory[indexPath.item])
cell.lbl.stringValue = arrlbl[indexPath.item] as String