SwiftSandbox 最近的时间轴更新
SwiftSandbox

SwiftSandbox

V2EX 第 134955 号会员,加入于 2015-08-25 11:41:29 +08:00
I've been coding iOS apps since 2008, when the first iPhone was released. I started one of the first iOS developer blogs (iOSDeveloperTips.com) and recently started a free, weekly, Swift developer Newsletter (http://SwiftSandbox.io).
SwiftSandbox 最近回复了
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   ·   实用小工具   ·   1307 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 17:40 · PVG 01:40 · LAX 09:40 · JFK 12:40
Developed with CodeLauncher
♥ Do have faith in what you're doing.