We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff3acfb commit ca51b03Copy full SHA for ca51b03
docs/firebase-api-guidelines.md
@@ -54,6 +54,14 @@ introduces strict concurrency checking and enforces Sendable types in
54
asynchronous code. If applicable, new APIs should be Sendable and designed to be
55
used in an async context (e.g. `Task`).
56
57
+### Access Control
58
+
59
+New Swift APIs should use the `public` access level over `open`. The `open`
60
+access level allows for subclasses to override the API.
61
62
+Additionally, new Swift classes should be `final` to prevent clients from
63
+subclassing, unless otherwise justified.
64
65
### API Availability
66
67
By design, an API may not be available on a given Apple platform. Swift supports
0 commit comments