首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
V2EX
›
SwiftSandbox
›
全部回复第 1 页 / 共 1 页
回复总数
3
2015-08-26 08:15:09 +08:00
回复了
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-08-25 23:11:18 +08:00
回复了
shanksxiao
创建的主题
›
iDev
›
iOS 开发的最佳实践、MVVM 架构以及编程艺术
Here is a another list of iOS best practices:
https://github.com/futurice/ios-good-practices
2015-08-25 22:23:15 +08:00
回复了
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
·
实用小工具
·
1756 人在线
最高记录 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 12ms ·
UTC 01:24
·
PVG 09:24
·
LAX 18:24
·
JFK 21:24
Developed with
CodeLauncher
♥ Do have faith in what you're doing.