It is possible to use Apache Thrift only as serializer and deserializer on Objective-C. To do it, you should use: TMemoryBuffer as transport. TBinaryProtocol as protocol. Serializer example: Note that, TMemoryBuffer doesn’t support framing. You should encode frame size yourself, if you need it.
If you want to develop a Cocoa/Objective-C application with Thrift support, I should note that there are some limitations in the current version (0.9.0): Thrift’s protocols describe “what” is transmitted, and transports are the “how”. Only binary protocol is implemented (TBinaryProtocol). TBinaryProtocol creates a binary data which doesn’t have length field. If you want to use […]