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

Fix up designated initializers 8/x #47300

Closed
wants to merge 2 commits into from

Conversation

cipolleschi
Copy link
Contributor

Summary: In preparation of enabling -Wobjc-designated-initializers error

Differential Revision: D65180118

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 30, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65180118

Nolan O'Brien added 2 commits October 30, 2024 09:22
Summary: We're going to fix up a bunch of designated initializers.  `RCTSurfaceHostingProxyRootView` is particularly problematic because different initializers will do different things even though reading the code it looks like they should be equivalent.  Remove the encapsulated "start" to the provided "surface", and require it to be explicit at the callsite.

Differential Revision: D65214656
Summary:

In preparation of enabling `-Wobjc-designated-initializers` error

Differential Revision: D65180118
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65180118

NSProgrammer pushed a commit to NSProgrammer/react-native that referenced this pull request Oct 30, 2024
Summary:

In preparation of enabling `-Wobjc-designated-initializers` error

Reviewed By: caodoan

Differential Revision: D65180118
facebook-github-bot pushed a commit that referenced this pull request Oct 31, 2024
Summary:
Pull Request resolved: #47316

Pull Request resolved: #47300

In preparation of enabling `-Wobjc-designated-initializers` error

## Changelog:

[iOS][Fixed] - Fix numerous class interfaces having incorrect designated initializer patterns

Reviewed By: caodoan

Differential Revision: D65180118

fbshipit-source-id: 6f977816ede0397225ec681a5357241c28e83f6c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants