Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

%property add interface #46

Open
qwertyuiop1379 opened this issue Oct 17, 2019 · 3 comments
Open

%property add interface #46

qwertyuiop1379 opened this issue Oct 17, 2019 · 3 comments

Comments

@qwertyuiop1379
Copy link

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.

@kirb
Copy link
Member

kirb commented Oct 17, 2019

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.

@uroboro uroboro transferred this issue from theos/theos Oct 17, 2019
@NSExceptional
Copy link
Contributor

@kirb why was this left open?

@kirb
Copy link
Member

kirb commented Apr 30, 2020

It’s open as a wishlist thing, unlikely to happen for current Logos but could be added to Logos 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants