Le 24 juil. 09 à 02:16, Eric Wasylishen a écrit : > Sorry about that, I renamed it. > The API of these new classes is still unstable, maybe I should leave > them out of EtoileFoundation.h for now > > Eric > On 23-Jul-09, at 5:46 PM, David Chisnall wrote: > >> [snip] >> It appears that a recent commit introduced both ETEntityDescription >> and ETPropertyDescription, which both declare a -setParent: method >> with different arguments. Please can we rename the version in >> ETPropertyDescription? I've worked around this in LanguageKit for >> now, but introducing polymorphic selectors is something we really >> need >> to avoid, especially among classes in the same framework.
I think this method should be named -setIsParent: or -setIsContainer: to make clear the expected argument is not an object but a boolean, and eliminate potential conflicts with existing or future API. For example, Cocoa has methods such as -setIsPaneSplitter: or - setIsAllDay:. Cheers, Quentin. _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
