Morgan Chen 737c5acc19 Fix leak of url sessions in GoogleUtilities 7 年之前
..
AppDelegateSwizzler 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 7 年之前
Common 96438c722b Open source the Swizzler (#1564) 7 年之前
Environment 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 7 年之前
Example ed30bc97ea Add GULUserDefaults to GoogleUtilities. (#1812) 7 年之前
ISASwizzler 96438c722b Open source the Swizzler (#1564) 7 年之前
Logger 54471e8081 Fix GULLoggerEnableSTDERR by using STDERR_FILENO (#1595) 7 年之前
MethodSwizzler 96438c722b Open source the Swizzler (#1564) 7 年之前
NSData+zlib c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 年之前
Network 737c5acc19 Fix leak of url sessions in GoogleUtilities 7 年之前
Reachability c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 年之前
SwizzlerTestHelpers 75fd4051fb Fix memory leak in GULRuntimeSnapshot (#1767) 7 年之前
UserDefaults ed30bc97ea Add GULUserDefaults to GoogleUtilities. (#1812) 7 年之前
README.md 2c5bafb7e5 Add documentation on how to use the app delegate swizzler. (#1750) 7 年之前

README.md

Google Utilities

Overview

The GoogleUtilities pod is a set of utilities organized into CocoaPods subspecs. See the podspec for a summary of what utilities are currently included. They're used by Firebase and other Google products.

Direct usage by non-Google products and CocoaPods is NOT currently recommended or supported in general.

However, we do specifically recommend that non-Google SDKs can use the App Delegate Swizzler to hook into app delegate methods as this reduces conflicts with multiple SDKs trying to do the same.

Instructions on how to adopt the app delegate swizzler for use by your SDK are available here.

Development

Follow the subsequent instructions to develop, debug, and unit test GoogleUtilities:

$ git clone git@github.com:firebase/firebase-ios-sdk.git
$ cd firebase-ios-sdk/GoogleUtilities/Example
$ pod update
$ open GoogleUtilities.xcworkspace

Running Unit Tests

Choose the one of the Tests* schemes and press Command-u.