From 5e1e35ebb9ad1124fd7961a9856ac41e993bffb2 Mon Sep 17 00:00:00 2001 From: Ryan Wilson Date: Mon, 14 Aug 2017 17:26:39 -0400 Subject: Clean up FIRBundleUtil. (#191) Remove `relevantBundleIdentifiers method that isn't used anywhere. --- Firebase/Core/FIRBundleUtil.m | 8 -------- Firebase/Core/Private/FIRBundleUtil.h | 5 ----- 2 files changed, 13 deletions(-) (limited to 'Firebase') 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 @@ -44,11 +44,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. */ -- cgit v1.2.3