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

Allow #[method_id] in declare_class! #354

Merged
merged 6 commits into from
Jan 18, 2023
Merged

Conversation

madsmtm
Copy link
Owner

@madsmtm madsmtm commented Jan 18, 2023

Fixes #282 and fixes #317.

This required quite the big refactor, partly because I had forgotten most of how the declare_class! internals worked... 🙄

@madsmtm madsmtm added enhancement New feature or request A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates labels Jan 18, 2023
@madsmtm madsmtm force-pushed the declare-class-method-id branch 3 times, most recently from dcac8ce to 4997924 Compare January 18, 2023 05:56
@madsmtm madsmtm force-pushed the declare-class-method-id branch from 4997924 to e5e22d7 Compare January 18, 2023 06:01
@madsmtm madsmtm merged commit c5fd147 into master Jan 18, 2023
@madsmtm madsmtm deleted the declare-class-method-id branch January 18, 2023 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-objc2 Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` crates enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implementing protocol methods with Id<_, _> return types Allow #[method_id] in declare_class!
1 participant