Latest 0.0.1
Homepage https://github.com/goingta/protocol-for-objectivec
License Copyright
Platforms ios 7.0
Authors ,

Protocol Buffers – objectivec

这是从google protocol buffers官方代码(Protocol Buffers v3.0.0-beta-2)下的objectivec文件夹扣出来的,根据官方文档使用说明:

There are two ways to include the Runtime sources in your project:

Add objectivec/*.h & objectivec/GPBProtocolBuffers.m to your project.

or

Add objectivec/*.h & objectivec/*.m except for objectivec/GPBProtocolBuffers.m to your project.

If the target is using ARC, remember to turn off ARC (-fno-objc-arc) for the .m files.

The files generated by protoc for the .proto files (*.pbobjc.h’ and .pbobjc.m`) are then also added to the target.

需要踢出的文件已经踢出了,而每一个m文件也会自动标记成关闭ARC.
所以使用者不用关心任何事情,只需要引入改pod就可以了.

Latest podspec

{
    "name": "protocol-for-objectivec",
    "version": "0.0.1",
    "summary": "protocol-for-objectivec.",
    "description": "A longer description of protocol-for-objectivec in Markdown format.nn* Think: Why did you write this? What is the focus? What does it do?n* CocoaPods will be using this to generate tags, and improve search results.n* Try to keep it short, snappy and to the point.n* Finally, don't worry about the indent, CocoaPods strips it!",
    "homepage": "https://github.com/goingta/protocol-for-objectivec",
    "license": "Copyright",
    "authors": {
        "goingta": "[email protected]",
        "bolg": "http://www.exiatian.com"
    },
    "source": {
        "git": "https://github.com/goingta/protocol-for-objectivec.git",
        "tag": "0.0.1"
    },
    "requires_arc": false,
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "Classes/**/*.{h,m}"
}

Pin It on Pinterest

Share This