I partially agree with Ross idea. It uses one of the key feature of
obj-j but it can create confusion in the api and can be quite anoying
if it become common practice (aka keep compatibility with new
versions).
I haven't tried out the theme api yet but here is an idea to decrese
the verbosity and keep the themimg code together: like the dictionary:
[myButton setValuesForThemedAttributeNames:
"text-color", [CPColor blueColor],
"text-color:highlighted", [CPColor redColor],
nil];
the ":highlighted" part would like to be a shourtcut to specify the
control state but again, this could be confusing in the specification.
just an idea :P
> > taking into account.- Nascondi testo citato
>
> - Mostra testo citato -