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

Gitbook 客户端 App 分享

  •  
  •   abcyuxue123 ·
    KrisYu · May 29, 2017 · 13093 views
    This topic created in 3306 days ago, the information mentioned may be changed or developed.
    做了一个 Gitbook 客户端

    https://github.com/KrisYu/Octobook

    科普一下,(不用科普的话请无视,gitbook 是 github 旗下的电子书网站,上面有一些免费的电子书,你可以下载或者自己写,用 markdown 写,然后可以导出 epub,mobi,pdf


    纯用 gitbook.com 的网页来 parse,没有用它提供的 API

    网络方面的库用的:Alamofire
    解析 html 用的库:Fuzi
    epub 阅读用库:FolioReaderKit
    提示 banner 用:BRYXBanner

    不满的地方就是没怎么把网络单独分出来,造成一些代码重复,暂时也没想到更好的办法,欢迎围观指正 star/pull/fork/提意见
    再则可能 gitbook 在某些地方会很慢(疑惑脸?
    6 replies    2017-05-30 12:33:14 +08:00
    zhangneww
        1
    zhangneww  
       May 30, 2017 via Android
    好奇为什么不用 API
    abcyuxue123
        2
    abcyuxue123  
    OP
       May 30, 2017
    @zhangneww 因为发现网页 parse 已经足够 反倒 API 没那么好用
    hantsy
        3
    hantsy  
       May 30, 2017
    Gitbook 有自己的客户端啊
    hantsy
        5
    hantsy  
       May 30, 2017
    @abcyuxue123 现在已经习惯 了网页版本了
    abcyuxue123
        6
    abcyuxue123  
    OP
       May 30, 2017
    @hantsy 我这个是弄了一个 iOS 版本的,然后可以下载和离线阅读电子书,主要是自己也在学习
    所以折腾一下
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   968 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 19:46 · PVG 03:46 · LAX 12:46 · JFK 15:46
    ♥ Do have faith in what you're doing.