aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/README-CFSTREAM.md
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-08-07 11:47:09 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-08-07 11:47:09 -0700
commite8e73bfd8d36ed545fe44946f33379ebfa949e25 (patch)
tree08571241aa146ae3045002249abab08b684c9e13 /src/objective-c/README-CFSTREAM.md
parentdf5205f74d3bfd3d77cb7e076e43e74fcb15c3cf (diff)
Update document
Diffstat (limited to 'src/objective-c/README-CFSTREAM.md')
-rw-r--r--src/objective-c/README-CFSTREAM.md14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/objective-c/README-CFSTREAM.md b/src/objective-c/README-CFSTREAM.md
index 0b5215a7b3..d0cd57b7cd 100644
--- a/src/objective-c/README-CFSTREAM.md
+++ b/src/objective-c/README-CFSTREAM.md
@@ -13,17 +13,17 @@ interface that gRPC uses when it is ready for production.
## Usage
If you use gRPC following the instructions in
[README.md](https://github.com/grpc/grpc/blob/master/src/objective-c/README.md):
-- Simply replace the
-dependency on `gRPC-ProtoRPC` with `gRPC-ProtoRPC/CFStream`. The build system will take care of
-everything else and switch networking to CFStream.
+- Replace the
+dependency on `gRPC-ProtoRPC` with `gRPC-ProtoRPC/CFStream`.
+- Enable CFStream with environment variable `grpc_cfstream=1`. This can be done either in Xcode
+ console or by your code with `setenv()`.
If your project directly depends on podspecs other than `gRPC-ProtoRPC` (e.g. `gRPC` or
`gRPC-Core`):
-- Make your projects depend on subspecs corresponding to CFStream in each gRPC podspec. For
- `gRPC-Core`, you will need to make sure that the completion queue you create is of type
- `GRPC_CQ_NON_POLLING`. This is expected to be fixed soon so that you do not have to modify the
- completion queue type.
+- Make your projects depend on subspecs corresponding to CFStream in each gRPC podspec.
+- Enable CFStream with environment variable `grpc_cfstream=1`. This can be done either in Xcode
+ console or by your code with `setenv()`.
## Notes