Skip to content

Commit

Permalink
[Docs] Update firebase-api-guidelines.md (#14360)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Jan 17, 2025
1 parent ff3acfb commit ca51b03
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/firebase-api-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,14 @@ introduces strict concurrency checking and enforces Sendable types in
asynchronous code. If applicable, new APIs should be Sendable and designed to be
used in an async context (e.g. `Task`).

### Access Control

New Swift APIs should use the `public` access level over `open`. The `open`
access level allows for subclasses to override the API.

Additionally, new Swift classes should be `final` to prevent clients from
subclassing, unless otherwise justified.

### API Availability

By design, an API may not be available on a given Apple platform. Swift supports
Expand Down

0 comments on commit ca51b03

Please sign in to comment.