Property Generator
Posted: Sat Jun 02, 2012 9:44 am
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:
Kind regards,
Udo
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:
Kind regards,
Udo