Page 1 of 1

Property Generator

PostPosted: Sat Jun 02, 2012 9:44 am
by udo.killermann
Hello Board,

I just finished a little utility. You enter the name and type of a variable and it generates the corresponding property methods for you. Afterwards you can copy the text (command-C) and paste it into your OB code window. The definition for the setter is on the one hand KVC compliant and on the other hand OB compliant. If you have a variable named "thing" KVC expects you to use "setThing" (camel notation so the first character is upper case ), whereas OB expects "setthing" with no case conversion at all.

The UI is straight forward:
propertyGenerator.jpg (38.1 KiB) Viewed 1030 times

Kind regards,
(761.13 KiB) Downloaded 165 times