Paul Beusterien 013565e9f4 Fix pod lib lint GoogleUtilities.podspec --use-libraries regression (#2130) 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 829b9f557c Update the GULObjectSwizzler to handle NSProxy objects (#2053) 7 年之前
ISASwizzler 829b9f557c Update the GULObjectSwizzler to handle NSProxy objects (#2053) 7 年之前
Logger 1eed3ee483 GULLogger: ignore a data race (#1959) 7 年之前
MethodSwizzler 96438c722b Open source the Swizzler (#1564) 7 年之前
NSData+zlib c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 年之前
Network 013565e9f4 Fix pod lib lint GoogleUtilities.podspec --use-libraries regression (#2130) 7 年之前
Reachability c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 年之前
SwizzlerTestHelpers 829b9f557c Update the GULObjectSwizzler to handle NSProxy objects (#2053) 7 年之前
UserDefaults ed30bc97ea Add GULUserDefaults to GoogleUtilities. (#1812) 7 年之前
CHANGELOG.md 013565e9f4 Fix pod lib lint GoogleUtilities.podspec --use-libraries regression (#2130) 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.