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

为何从 iBook 的 Swift 教程拷贝源代码到 Xcode Playground 中,提示语法错误?

  •  
  •   davidlau ·
    liuslevis · Oct 29, 2014 · 3141 views
    This topic created in 4301 days ago, the information mentioned may be changed or developed.
    比如拷贝 let ​vegetable​ = ​"red pepper"
    let没有语法高亮,提示更正为let ; vege...

    删掉let重新打let就可以了。
    2 replies    2014-10-29 10:23:31 +08:00
    fanzeyi
        1
    fanzeyi  
       Oct 29, 2014 via iPhone   ❤️ 2
    可能複製過來的是 unicode 的 nbsp ,而不是普通的 \u0020 空格。
    jox
        2
    jox  
       Oct 29, 2014 via iPhone
    epub本身就是html,你打开一个epub看看就知道了,所以如1L所说,空格字符不对
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   880 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 21:12 · PVG 05:12 · LAX 14:12 · JFK 17:12
    ♥ Do have faith in what you're doing.