icon in table row

Hi! I apologize for asking something which is already out there, I just can’t find it anymore, I don’t remember where it is… I have a table listing files and folders: how can I put their icons in the table before their name? If I’m not wrong, it takes using an image cell and then making it load the icon of the given path calling NSWorkspace… it was just one line of code… Can anyone help me?

Thanks a lot

You probably want NSWorkspace’s iconForFile_(path).

If you say I need it, that’s certainly true… :wink:
Now I have to play with it a bit…

Thank you very much

PS> I got it, works like a charm. Thanks again