Coder Social home page Coder Social logo

bookshelf's Introduction

Bookshelf

Displaying a list of books.

Requirement

Install

$ cd Bookshelf
$ carthage bootstrap --platform iOS --use-xcframeworks

Usage

  1. Prepare server and CDN.
  2. Set Server URL to Const.kServerEndpoint.
  3. Set CDN URL to Const.kCdnEndpoint.
  4. Build & open App.

Server JSON Format

Please look at the BookApiModel..

Find

  • Display book list in server.

BookDetails

  • Display book info.
  • Can be saved to MyBooks.

Licence

This software is released under the MIT License, see LICENSE.md.

Author

mitsuaki1229

bookshelf's People

Contributors

mitsuaki1229 avatar

Watchers

 avatar

bookshelf's Issues

画像ダウンロードが遅い

  • 画像ダウンロードをバックグランドで実行し、終了したら反映、同時にキャッシュ出来るようにする。

Add MybooksとAdd Mybooksの判定が逆に見える

if myBook != nil {
view.myBookButton.setTitle("Add Mybooks", for: .normal)
view.myBookButton.setTitleColor(.red, for: .normal)
view.myBookButton.titleLabel?.adjustsFontSizeToFitWidth = true
view.myBookButton.layer.cornerRadius = 5
view.myBookButton.layer.borderColor = UIColor.red.cgColor
view.myBookButton.layer.borderWidth = 2
view.myBookButton.backgroundColor = .white
} else {
view.myBookButton.setTitle("Remove MyBooks", for: .normal)
view.myBookButton.setTitleColor(.lightGray, for: .normal)
view.myBookButton.titleLabel?.adjustsFontSizeToFitWidth = true
view.myBookButton.layer.cornerRadius = 5
view.myBookButton.layer.borderColor = UIColor.lightGray.cgColor
view.myBookButton.layer.borderWidth = 2
view.myBookButton.backgroundColor = .white

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.