logos
logos copied to clipboard
%property add interface
Not really a bug or anything, just a small feature request.
Would be cool if adding a %property
to a class automatically created an @interface
with the property.
I mostly agree on this, but annoyingly the API was designed how it was and changing it would break all current code using %property
and also defining an @property
. There’s also a slight issue I see that if the property is accessed from another file, the developer may not realise that they need to define the @property
manually for that other file, and they also wouldn’t be able to put it in a global header (e.g. imported with -include Global.h
compiler flag) because that would trigger a compile warning.
@kirb why was this left open?
It’s open as a wishlist thing, unlikely to happen for current Logos but could be added to Logos 2.