Skip to content

Commit

Permalink
[FirebaseCore] Mark duplicate internal API as unavailable in Swift (#…
Browse files Browse the repository at this point in the history
…9812)

* Mark API as unavailable

* Kick off storage and functions CI as well

* [skip ci] Revert .github/workflows/storage.yml

* [skip ci] Revert .github/workflows/functions.yml

* [skip ci] Revert .github/workflows/functions.yml (2)

* [skip ci] Revert .github/workflows/storage.yml (2)
  • Loading branch information
ncooke3 authored May 17, 2022
1 parent 2201d75 commit 2eb177e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FirebaseCore/Sources/FIRComponentContainerInternal.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ NS_ASSUME_NONNULL_BEGIN

/// Retrieves an instance that conforms to the specified protocol. This will return `nil` if the
/// protocol wasn't registered, or if the instance couldn't be instantiated for the provided app.
- (nullable id)instanceForProtocol:(Protocol *)protocol NS_SWIFT_NAME(instance(for:));
- (nullable id)instanceForProtocol:(Protocol *)protocol
NS_SWIFT_UNAVAILABLE("Use `instance(for:)` from the FirebaseCoreExtension module instead.");

/// Instantiates all the components that have registered as "eager" after initialization.
- (void)instantiateEagerComponents;
Expand Down

0 comments on commit 2eb177e

Please sign in to comment.