R_objcobjective-c 资源类生成器
Objective-C 资源类生成器,可以将物理目录结构映射到类的成员属性中,灵感来自 android.R。
使用:
$ robjc ~/Documents/myproj/resources
usage: robjc.py [-h] [-c [CLASS_NAME]] [-m [MAP_DIR_STRUCTURE]] [-a [ALIAS_ENABLED]] [-l [SHOW_LOG]] [<target path>] [<destination path>] Objective-c resource class generator positional arguments: <target path> Target path to read directories. (default=./) <destination path> Destination path to create a class file. (default=./) optional arguments: -h, --help show this help message and exit -c [CLASS_NAME], --class-name [CLASS_NAME] Class name. (default=R) -m [MAP_DIR_STRUCTURE], --map-dir-structure [MAP_DIR_STRUCTURE] Map structure of all directories from target path. (default=False) -a [ALIAS_ENABLED], --alias-enabled [ALIAS_ENABLED] Enabling symbolic alias. (default=False) -l [SHOW_LOG], --show-log [SHOW_LOG] Show log. (default=False)
评论