iOS 开发实用技术导航
NSHipster 中文版
http://nshipster.cn/
cocos2d 开源 2D 游戏引擎
http://www.cocos2d-iphone.org/
CocoaPods
http://cocoapods.org/
Google Analytics for Mobile 统计解决方案
http://code.google.com/mobile/analytics/
WWDC
https://developer.apple.com/wwdc/
Design Guides and Resources
https://developer.apple.com/design/
Transcripts of WWDC sessions
http://asciiwwdc.com
Cocoa with Love
http://cocoawithlove.com/
Cocoa Dev Central
http://cocoadevcentral.com/
NSHipster
http://nshipster.com/
Style Guides
Google Objective-C Style Guide
NYTimes Objective-C Style Guide
Useful Tools and Services
Charles Web Debugging Proxy
Smore
banxi1988
V2EX  ›  iDev

Automator 真是一个好用但是鲜为人知的神器

  •  
  •   banxi1988 ·
    banxi1988 · Dec 22, 2016 · 4675 views
    This topic created in 3471 days ago, the information mentioned may be changed or developed.
    我主要使用 其来为 Xcode 创建 Service 用于代码生成.
    具体
    1) 创建服务
    2) 选择 Run Shell Script 这一工作流程.
    3) 服务配置: Service receives selected text, in Xcode 以整个选中的文本作为输入. 输出替换选中的文本.
    然后就可以使用了 Python 来进行一些操作. 比 Xcode Source Editor 的扩展的 API 更方便好用.
    4 replies    2016-12-23 08:55:16 +08:00
    ivmm
        1
    ivmm  
       Dec 22, 2016
    听说开发组被砍了
    wensonsmith
        2
    wensonsmith  
       Dec 22, 2016
    确实是神器,批量修改文件名用起来特别爽
    warDoggie
        3
    warDoggie  
       Dec 23, 2016 via iPhone
    在大多数时候,程序员会觉得不如写 shell script 酷,非程序员又觉得太麻烦。结果就是,项目经理都已经下岗了...
    banxi1988
        4
    banxi1988  
    OP
       Dec 23, 2016
    @warDoggie 我也是程序员, 我就觉得这个很 Cool. 另: shell script 可以作为一个工作流包含在里面啊.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3134 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 43ms · UTC 13:08 · PVG 21:08 · LAX 06:08 · JFK 09:08
    ♥ Do have faith in what you're doing.