As you may know, right now we are very busy in development of FooTweet, our upcoming Twitter client for Mac. It will come with two different UI’s, a compact and extended one, for which we are going to use Alex Rozanski’s awesome PXSourceList control. Unfortunately PXSourceList is not Garbage Collector compatible, until now. I revised the code to make it fully GC-compliant, but it will still work in non GC-enviroments. This is achieved with preprocessor directives that will invoke the appropiate code, depending whether Garbage Collector is enabled or not. Bon Appetit, have fun with it!
In this basic Cocoa example I’m explaining how to access file attributes with NSFileManager and also a simple way of converting a NSURL to a path. Feel free to share and to use this for your own projects.