GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fansidele/GSBookShelf: And iBooks Style book shelf for iOS

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

38 Commits
38 Commits

Folders and files

NameName
Last commit message
Last commit date
BookShelf.xcodeproj
BookShelf.xcodeproj
 
 
BookShelf
BookShelf
 
 
README.md
README.md
 
 

Repository files navigation

An iBooks style book shelf

Attention:

  1. This code should be compiled with ARC turned on;

Features:

  1. drag & drop
  2. scroll up/down while draging
  3. add & remove animation
  4. custom header (add a search bar or anything you want)

How TO:

  1. Just take a look at the demo.
  2. bookView and shelfCell are just UIViews. So you can cutomize them almost whatever you want. But the frame of each view is fixed, if you want to have different size of bookView, you can try adding your content on a transparent UIView.
  3. To enable reusing for bookViews and cells, add the / protocols. (You'd better do this, perfromance will be a lot better).

TODO:

  1. does not support orientation change now, it's fixed Portrait or landscape (doesn't have a convenient method to reload the parameters which was set in the init method.)
  2. the init method need too many parameters now. I will move all of them to GSBookShelfViewDataSource protocol methods, and this will help a lot when orientation changes, but maybe there'll be too many protocol methods.

Demo:

image image image

About

And iBooks Style book shelf for iOS

Resources

Readme
Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.