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
tuoxie007
V2EX  ›  iDev

赞一个XCode插件 KSImageNamed 图片名自动提醒和预览

  •  
  •   tuoxie007 ·
    tuoxie007 · Apr 15, 2013 · 8415 views
    This topic created in 4978 days ago, the information mentioned may be changed or developed.
    https://github.com/ksuther/KSImageNamed-Xcode

    预览功能好像是最新加的,作者给的截图里还没有
    16 replies  •  1970-01-01 08:00:00 +08:00
    Esay
    Esay
    Apr 15, 2013
    1
    试了一下,确实是个好东西!
    allenhsu
    allenhsu
    Apr 15, 2013
    2
    非常实用,曾经因为图片文件名大小写问题导致的问题 Debug 好久。
    allenhsu
    allenhsu
    Apr 15, 2013
    3
    只有 imageNamed 有提示么?pathForResource 没有?
    tuoxie007
    tuoxie007
    OP
    Apr 15, 2013
    4
    @allenhsu 我觉得你可以改下源代码,估计不难改,你改好了高我,我比较懒
    hilenlai
    hilenlai
    Apr 16, 2013
    5
    赞!!!
    hilenlai
    hilenlai
    Apr 16, 2013
    6
    https://github.com/questbeat/Lin

    这个文字提示也不错,但是有bug
    Hysteria
    Hysteria
    Apr 16, 2013
    7
    好东西
    astnd
    astnd
    Apr 16, 2013
    8
    感谢楼主
    tuoxie007
    tuoxie007
    OP
    Apr 16, 2013
    9
    @hilenlai 我一般都定义一个 #define _(s) NSLocalizedString(s)
    然后用label.text = _(@"hello");
    hilenlai
    hilenlai
    Apr 16, 2013
    10
    @tuoxie007 嗯,这样也好~
    对,你有没有总结出来一篇相机的使用啊?我之前被闪退搞死了!!求破
    tuoxie007
    tuoxie007
    OP
    Apr 16, 2013 via iPad
    11
    @hilenlai 当初遇到各种问题解决了也没总结,现在都不知道从何写起了,等我整理下思路吧先
    clowwindy
    clowwindy
    Apr 16, 2013❤️1
    12
    @tuoxie007

    #define _(s) NSLocalizedString(@#s)

    label.text = _(hello);
    leosama
    leosama
    Apr 17, 2013
    13
    的确很赞
    fannheyward
    fannheyward
    Apr 17, 2013
    14
    @clowwindy
    #define _(s) NSLocalizedString(@#s) 报错,Xcode 4.6.2:
    Too few arguments provided to function-like macro invocation

    改成 #define _(s) NSLocalizedString(@#s, nil) 好了.

    感谢你这个 tip。
    tuoxie007
    tuoxie007
    OP
    Apr 18, 2013 via iPad
    15
    @clowwindy 够懒,连@都省了
    clowwindy
    clowwindy
    Apr 20, 2013
    16
    @tuoxie007 引号也省了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2108 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 15:08 · PVG 23:08 · LAX 07:08 · JFK 10:08
    ♥ Do have faith in what you're doing.