【文件属性】:
文件名称:BRLOptionParser:getopt_long(3)的简短包装。 解析Objective-C的命令行选项
文件大小:18KB
文件格式:ZIP
更新时间:2021-05-06 07:21:18
Objective-C
BRLOptionParser
(和getopt_long_only(3))的简短包装。
安装
使用 :
# Podfile
pod 'BRLOptionParser' , '~> 0.3.1'
例子
// main.m
# import < BRLOptionParser>
int main ( int argc, const char * argv[])
{
@autoreleasepool {
NSString *name = @" world " ;
BOOL verbose = NO ;
BRLOptionParser *options = [BRLOptionParser new ];
[options setBanner: @" usage: %s [-n <n
【文件预览】:
BRLOptionParser-master
----BRLOptionParser.podspec(797B)
----README.markdown(2KB)
----.travis.yml(105B)
----Podfile(51B)
----LICENSE(1KB)
----Makefile(269B)
----BRLOptionParserTests()
--------BRLOptionParserTests-Info.plist(674B)
--------BRLOptionParserTests.m(11KB)
----BRLOptionParser.xcworkspace()
--------xcshareddata()
--------contents.xcworkspacedata(175B)
----BRLOptionParser.xcodeproj()
--------xcshareddata()
--------project.xcworkspace()
--------project.pbxproj(16KB)
----.gitignore(77B)
----BRLOptionParser()
--------BRLOptionParser.h(2KB)
--------BRLOptionParser.m(11KB)