Add rgen formula

Resource code generator for iOS inspired by Android resource handling