https://github.com/krisyu/octobook
A simple Gitbook App that offers offline/online gitbooks reading.
https://github.com/krisyu/octobook
alamofire cocoapods swift3
Last synced: 3 months ago
JSON representation
A simple Gitbook App that offers offline/online gitbooks reading.
- Host: GitHub
- URL: https://github.com/krisyu/octobook
- Owner: KrisYu
- License: mit
- Created: 2017-05-29T13:10:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-29T13:42:35.000Z (over 8 years ago)
- Last Synced: 2025-04-09T23:28:45.770Z (6 months ago)
- Topics: alamofire, cocoapods, swift3
- Language: Swift
- Size: 25.6 MB
- Stars: 204
- Watchers: 6
- Forks: 30
- Open Issues: 3
-
Metadata Files:
- Readme: ReadMe.md
- License: LICENSE
Awesome Lists containing this project
README
# Octobook
Octobook is a simple App that offers offline/online [gitbooks](https://www.gitbook.com) reading.
### Features

- check the most popular books
- online reading/check authors' other books
- download book for offline reading
- search### Why make this
This is just an experiment learning more about iOS development and Cocopods 3rd party library usage.
All the UI related thing is done using Storyboard.

### Build
#### Requirements
- iOS 10.0
- Xcode 8.3.2#### Build to your device with Xcode
`git clone` then open `Octobook.xcworkspace`
p.s.
1. you can test iOS app on your device without paid apple developer program or jailbreak ->
2. If anything about 3rd party libraries goes wrong, try update pod or pod (re)install, Google is your friend.### Issues
1. not good code, mix the network model in controller.
2. didn't follow the rule - DRY(don't repeat yourself), want to seperate the network but didn't find a good way, so some code are repeated in the popular books controller and searh controllerIf you have any good idea on how to organize and seperate the code more elegantly, welcome pull requests or [contact me](mailto:yu_xue@me?Subject=Code%20Suggestions).
### Thanks
- CocoaPods
- Alamofire
- Fuzi
- BRYXBanner
- FolioReaderKit