首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
SwiftSandbox
›
全部回复第 1 页 / 共 1 页
回复总数
3
2015 年 8 月 26 日
回复了
cxq
创建的主题
›
iDev
›
MAC App 开发, 能不能运行 mac 本地的脚本?
Enter the code inside a Mac app and you can read the command line parameters. Is that what you are looking for help with?
2015 年 8 月 25 日
回复了
shanksxiao
创建的主题
›
iDev
›
iOS 开发的最佳实践、MVVM 架构以及编程艺术
Here is a another list of iOS best practices:
https://github.com/futurice/ios-good-practices
2015 年 8 月 25 日
回复了
cxq
创建的主题
›
iDev
›
MAC App 开发, 能不能运行 mac 本地的脚本?
To read Mac app command line arguments:
NSUserDefaults *standardDefaults = [NSUserDefaults standardUserDefaults];
NSString *strArg = [standardDefaults stringForKey:@"str"];
NSInteger intArg = [standardDefaults integerForKey:@"x"];
// Examples: here is command line with app and two parameters
yourApp -str "StringArg" -x 99
关于
·
帮助文档
·
自助推广系统
·
博客
·
API
·
FAQ
·
Solana
·
3912 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 10ms ·
UTC 05:25
·
PVG 13:25
·
LAX 21:25
·
JFK 00:25
♥ Do have faith in what you're doing.
❯