-
Notifications
You must be signed in to change notification settings - Fork 34
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
%subclass should provide an @interface #8
Comments
Is this already a thing @kirb? |
No, and I'm not entirely sure how to go about this because it would break code that already has its own definition of the @interface. Maybe one day we'll get into semantic versioning so we can make breaking changes like this one (#111). |
If Logos could detect that (to wit: become an actual objc parser), we could
|
I'm a bit reluctant on really changing Logos much because I'm considering whether it could be replaced by @eswick's Logos-ish clang preprocessor (also, I'm terrible at Perl). Of course that introduces the need to compile code, and quite a lot of code at that. (Will make another issue for this) (Edit: Lesson learned: email response does not parse Markdown 👎) |
Problem there is, it hasn't kept up with Clang as it's changed. I'm worried
|
He also has a conflict of interest (recent Apple internship) so it may be infeasible anyway from a maintenance standpoint unless someone else can take over. |
I recconend sticking with Perl. With Clang, we'd have to update code for every new version. Like you said, I have an internship at Apple and don't have the time nor the will to keep it updated. |
Um I know this isn't the place but have you guys ever though of making a way to de-initlize groups? |
@andrewwiik: It isn't possible to implement that in a safe way with all of the behaviours that developers expect. Instead, it can be done in the tweak itself: always call |
Please create a new issue in future or get in touch on IRC or Twitter rather than hijacking an existing thread, @andrewwiik. |
Right now, %subclass treats self as an
id
. Logos could create a secret @interface (_logos_interface$_ungrouped$Blah
, maybe?) and use that for self.The text was updated successfully, but these errors were encountered: