Maksym Malyhin 961e9b0bfb GULLogger: logged issue counting concurrency issue fix (#2627) 7 years ago
..
AppDelegateSwizzler 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) 7 years ago
Common 96438c722b Open source the Swizzler (#1564) 7 years ago
Environment 927a2cd567 Fix GoogleUtilities warnings in static library installs (#1830) 7 years ago
Example 961e9b0bfb GULLogger: logged issue counting concurrency issue fix (#2627) 7 years ago
ISASwizzler 829b9f557c Update the GULObjectSwizzler to handle NSProxy objects (#2053) 7 years ago
Logger 961e9b0bfb GULLogger: logged issue counting concurrency issue fix (#2627) 7 years ago
MethodSwizzler 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) 7 years ago
NSData+zlib c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 years ago
Network 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) 7 years ago
Reachability c6b4b03fff Move GoogleUtilities out of Firebase directory (#1516) 7 years ago
SwizzlerTestHelpers 7c53489e03 Travis to Xcode 10.1 and clang-format to 8.0.0 (tags/google/stable/2018-08-24) (#2222) 7 years ago
UserDefaults 8289c6ca58 Fixed macOS conditional check. (#2245) 7 years ago
CHANGELOG.md 9502e8dda1 Restore GoogleUtilities 5.3.7 - revert os_log changes (#2556) 7 years ago
README.md 2c5bafb7e5 Add documentation on how to use the app delegate swizzler. (#1750) 7 years ago

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.