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

gen: Remove _As* pattern to clean up generated code #129

Merged
merged 4 commits into from
Jul 9, 2023

Conversation

tmc
Copy link
Collaborator

@tmc tmc commented Jul 8, 2023

This shortens up have many of these constructors/initialization methods.

I have not yet done so for the bear inits in part because it would mean that classes no longer easily satisfy the core.Object interface. Let's discuss further.

0.4.0 vs after this:
Screenshot 2023-07-08 at 11 35 55 AM

Screenshot 2023-07-08 at 11 35 45 AM

Fixes #124

@tmc tmc changed the title Remove most of the _As* pattern gen: Remove _As* pattern to clean up generated code Jul 8, 2023
@progrium progrium merged commit 8d32f63 into progrium:main Jul 9, 2023
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

Successfully merging this pull request may close these issues.

Question about NSControl initWithFrame
2 participants