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

[ObjC] Add Swift helpers for GPBUnknownFields/GPBUnknownField. #17297

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Jul 1, 2024

[ObjC] Add Swift helpers for GPBUnknownFields/GPBUnknownField.

GPBUnknownFields additions:

  • Provide Optional based apis for the getFirst* apis.
  • Map the NSFastEnumeration over as a Sequence to support looping over the fields.

GPBUnknownField addition:

  • Add an enum with associated values to provide a more type-safe way for inspection.

@copybara-service copybara-service bot force-pushed the test_648443554 branch 3 times, most recently from f2d328e to cc04878 Compare July 2, 2024 16:14
@copybara-service copybara-service bot changed the title [ObjC] Add some Swift helpers for GPBUnknownFields. [ObjC] Add Swift helpers for GPBUnknownFields/GPBUnknownField. Jul 2, 2024
@copybara-service copybara-service bot force-pushed the test_648443554 branch 5 times, most recently from 271acbd to 42af8f2 Compare July 3, 2024 15:34
`GPBUnknownFields` additions:
- Provide `Optional` based apis for the `getFirst*` apis.
- Map the `NSFastEnumeration` over as a `Sequence` to support looping over the fields.

`GPBUnknownField` addition:
- Add an `enum` with associated values to provide a more type-safe way for inspection.

PiperOrigin-RevId: 649090744
@copybara-service copybara-service bot merged commit 6750ed8 into main Jul 3, 2024
@copybara-service copybara-service bot deleted the test_648443554 branch July 3, 2024 15:58
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.

1 participant