Lightweight generic text parser in Obj-C