Paul Beusterien 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 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 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 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.