Posts tagged Gist

File attributes with Cocoa

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.

switchtemp.c

Template for a switchable command line utility, written in portable C. Various flags already set, for example -v for version output. Special feature is a customizable switch counter that limits the amount of processed arguments. On this page you will always find the latest variant, code is maintained at GitHub.

ptarget.h

Portable C header for embedding in your own projects. Aims to detect major operating systems and compilers. Detections works properly with cross-compilers. On this page you will always find the latest variant, code is maintained at GitHub.