V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
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
aaaron7
V2EX  ›  iDev

用 Swift 撸一个解析 Markdown 字符串然后生成 NSAttributedString 的轮子

  •  
  •   aaaron7 ·
    aaaron7 · Apr 14, 2016 · 3451 views
    This topic created in 3668 days ago, the information mentioned may be changed or developed.

    Github 传送门: https://github.com/aaaron7/SwiftyDown

    大家有兴趣的话可以看看,提点意见(害怕.jpg

    现在渲染的效果还很随意……大概长这样:

    Supplement 1  ·  Apr 18, 2016

    新发了个版本,现在已经支持 ```代码块, > 引用文字 以及 删除线~~

    比如这样:

    7 replies    2016-04-25 15:33:28 +08:00
    Ixizi
        1
    Ixizi  
       Apr 15, 2016
    first blood~
    ooTwToo
        2
    ooTwToo  
       Apr 15, 2016
    ace
    aaaron7
        3
    aaaron7  
    OP
       Apr 15, 2016
    @Ixizi
    @ooTwToo

    /w\ 我还以为要一直冷到沉……
    ooTwToo
        4
    ooTwToo  
       Apr 15, 2016 via iPhone
    DingSoung
        5
    DingSoung  
       Apr 17, 2016
    好东西
    aaaron7
        6
    aaaron7  
    OP
       Apr 17, 2016
    @dingsoung 😊
    Patiencec
        7
    Patiencec  
       Apr 25, 2016
    对于造轮子的同学,不管造出来是啥轮子,都要首先赞一个先
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   864 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 22:09 · PVG 06:09 · LAX 15:09 · JFK 18:09
    ♥ Do have faith in what you're doing.