Skip to content

Commit 2ffc2f3

Browse files
authored
Fix public method names. (#4666)
`s/<SDK>WithApp/<SDK>ForApp/g` Note: this doesn't affect `initWithApp:` since that's an internal method.
1 parent ba8ebce commit 2ffc2f3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Interop/FirebaseComponentSystem.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ an example:
179179
return @[ internalProvider ];
180180
}
181181
182-
+ (FIRFunctions *)functionsWithApp:(FIRApp *)app {
182+
// The public entry point for the SDK.
183+
+ (FIRFunctions *)functionsForApp:(FIRApp *)app {
183184
// Get the instance from the `FIRApp`'s container. This will create a new instance the
184185
// first time it is called, and since `isCacheable` is set in the component creation
185186
// block, it will return the existing instance on subsequent calls.
@@ -238,7 +239,8 @@ could conform to and provide to other frameworks:
238239
return @[authInterop];
239240
}
240241
241-
+ (FIRAuth *)authWithApp:(FIRApp *)app {
242+
// The public entry point for the SDK.
243+
+ (FIRAuth *)authForApp:(FIRApp *)app {
242244
// Use the instance from the provided app's container.
243245
id<FIRAuthInteroperable> auth = FIR_COMPONENT(FIRAuthInteroperable, app.container);
244246
return (FIRAuth *)auth;

0 commit comments

Comments
 (0)