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

Make NSObject based protocols optional #92

Merged
merged 2 commits into from
Jul 10, 2022

Conversation

li-feng-sc
Copy link
Contributor

@li-feng-sc li-feng-sc commented Jul 1, 2022

Port over the same changes from our friends here
cross-language-cpp/djinni-generator#134

By default base protocol will be generated, so no change from current behavior. The user can turn off the base protocol with --objc-strict-protocols false if they need.

@li-feng-sc li-feng-sc changed the title revert <NSObject> in generated protocols Make NSObject based protocols optional Jul 7, 2022
@paulocoutinhox
Copy link
Contributor

Hi,

With NSObject my code is breaking when inherit.

image

@paulocoutinhox
Copy link
Contributor

Can you add focus to solve this, please?

@li-feng-sc li-feng-sc merged commit 7602165 into main Jul 10, 2022
@li-feng-sc li-feng-sc deleted the lf/revert-nsobject-in-protocols branch July 10, 2022 22:59
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.

3 participants