Skip to content

Allow #[method_id] in declare_class!#354

Merged
madsmtm merged 6 commits intomasterfrom
declare-class-method-id
Jan 18, 2023
Merged

Allow #[method_id] in declare_class!#354
madsmtm merged 6 commits intomasterfrom
declare-class-method-id

Conversation

@madsmtm
Copy link
Copy Markdown
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