DEShi ported from Python to Obj-C/Cocoa