aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firebase
diff options
context:
space:
mode:
authorGravatar Ryan Wilson <wilsonryan@google.com>2017-08-14 17:26:39 -0400
committerGravatar GitHub <noreply@github.com>2017-08-14 17:26:39 -0400
commit5e1e35ebb9ad1124fd7961a9856ac41e993bffb2 (patch)
treef576096c584beab2dc38bd32fc2d1cd4d7656489 /Firebase
parentd7778595c168ae4d6f4838c74fb24c7c838b49c9 (diff)
Clean up FIRBundleUtil. (#191)
Remove `relevantBundleIdentifiers method that isn't used anywhere.
Diffstat (limited to 'Firebase')
-rw-r--r--Firebase/Core/FIRBundleUtil.m8
-rw-r--r--Firebase/Core/Private/FIRBundleUtil.h5
2 files changed, 0 insertions, 13 deletions
diff --git a/Firebase/Core/FIRBundleUtil.m b/Firebase/Core/FIRBundleUtil.m
index 6c1d1e9..93ee02e 100644
--- a/Firebase/Core/FIRBundleUtil.m
+++ b/Firebase/Core/FIRBundleUtil.m
@@ -45,14 +45,6 @@
return result;
}
-+ (NSSet *)relevantBundleIdentifiers {
- NSMutableSet *result = [[NSMutableSet alloc] init];
- for (NSBundle *bundle in [[self class] relevantBundles]) {
- [result addObject:[bundle bundleIdentifier]];
- }
- return result;
-}
-
+ (BOOL)hasBundleIdentifier:(NSString *)bundleIdentifier inBundles:(NSArray *)bundles {
for (NSBundle *bundle in bundles) {
if ([bundle.bundleIdentifier isEqualToString:bundleIdentifier]) {
diff --git a/Firebase/Core/Private/FIRBundleUtil.h b/Firebase/Core/Private/FIRBundleUtil.h
index 4bfef8d..c458a2c 100644
--- a/Firebase/Core/Private/FIRBundleUtil.h
+++ b/Firebase/Core/Private/FIRBundleUtil.h
@@ -45,11 +45,6 @@
+ (NSArray *)relevantURLSchemes;
/**
- * Finds bundle identifiers in all relevant bundles, starting with those from [NSBundle mainBundle].
- */
-+ (NSSet *)relevantBundleIdentifiers;
-
-/**
* Checks if the bundle identifier exists in the given bundles.
*/
+ (BOOL)hasBundleIdentifier:(NSString *)bundleIdentifier inBundles:(NSArray *)bundles;