565

所属分类:其他书籍
开发工具:Objective-C
文件大小:1151KB
下载次数:1
上传日期:2014-01-17 21:23:02
上 传 者no_user
说明:  超炫的电子书书架管理工具应用,精选ios编程学习源码,很好的参考资料。
(Stunning book shelf management tool application, selection ios programming learning source, a good reference.)

文件列表:
BookShelf (0, 2012-06-25)
BookShelf.xcodeproj (0, 2012-06-25)
BookShelf.xcodeproj\project.pbxproj (27036, 2012-06-25)
BookShelf\1.png (6980, 2012-06-25)
BookShelf\1@2x.png (11463, 2012-06-25)
BookShelf\2.png (7053, 2012-06-25)
BookShelf\2@2x.png (11446, 2012-06-25)
BookShelf\3.png (7161, 2012-06-25)
BookShelf\3@2x.png (11231, 2012-06-25)
BookShelf\4.png (7366, 2012-06-25)
BookShelf\4@2x.png (12142, 2012-06-25)
BookShelf\AboveTopView.h (1633, 2012-06-25)
BookShelf\AboveTopView.m (3730, 2012-06-25)
BookShelf\AppDelegate.h (1796, 2012-06-25)
BookShelf\AppDelegate.m (4002, 2012-06-25)
BookShelf\BelowBottomView.h (1639, 2012-06-25)
BookShelf\BelowBottomView.m (2320, 2012-06-25)
BookShelf\BookShelf-Info.plist (1173, 2012-06-25)
BookShelf\BookShelf-Prefix.pch (321, 2012-06-25)
BookShelf\BookShelfCell.png (43196, 2012-06-25)
BookShelf\BookShelfCell@2x.png (139718, 2012-06-25)
BookShelf\BookShelfCellView.h (2017, 2012-06-25)
BookShelf\BookShelfCellView.m (4061, 2012-06-25)
BookShelf\BookView.h (2010, 2012-06-25)
BookShelf\BookView.m (3154, 2012-06-25)
BookShelf\BookViewChecked.png (4920, 2012-06-25)
BookShelf\BookViewChecked@2x.png (7330, 2012-06-25)
BookShelf\comments.png (378687, 2012-06-25)
BookShelf\en.lproj (0, 2012-06-25)
BookShelf\en.lproj\InfoPlist.strings (45, 2012-06-25)
BookShelf\en.lproj\ViewController.xib (5407, 2012-06-25)
BookShelf\GSBookShelfCell.h (1707, 2012-06-25)
BookShelf\GSBookShelfView.h (6234, 2012-06-25)
BookShelf\GSBookShelfView.m (8769, 2012-06-25)
BookShelf\GSBookView.h (1697, 2012-06-25)
BookShelf\GSBookViewContainerView.h (3266, 2012-06-25)
BookShelf\GSBookViewContainerView.m (47343, 2012-06-25)
BookShelf\GSCellContainerView.h (2211, 2012-06-25)
BookShelf\GSCellContainerView.m (8162, 2012-06-25)
BookShelf\main.m (335, 2012-06-25)
... ...

#GSBookShelf An iBooks-inspired bookshelf control. Supports animated deletion, reordering, and addition. --- 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) 5. **[NEW 12.04.03]** The demo supports oritation changing now, but I'm too lazy to make a new cell image. Just reset the number of books in each cell.(3 when portrait, 4 when landscape). --- 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 "GSBookView" / "GSBookShelfCell" protocols. (You'd better do this, perfromance will be a lot better). 4. **[NEW 12.04.03]** To support oritation change, you should call the reload method and return different values (if necessary) in the delegate method with different orientation. 5. **[NEW 12.04.03]** For more information about the data GSBookShelf need for layout, take a look at the "[comments.png](https://github.com/ultragtx/GSBookShelf/blob/ReadyTo/BookShelf/comments.png?raw=true)" (also available in the project). 6. **[NEW 12.05.18]** The books are center-aligend when there are more than one books in a row. If you only have one per row, it's left-aligend, you can set the "cellMargin" to make it center-aligend manually. --- TODO: 1. **[Done]** ~~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. **[Done]** ~~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.~~ 3. **[NEW 12.04.03]** Need some animation for cell when the orientation change. 4. **[NEW 12.05.14]** Go to a proper row when orientation change. (Always go to top currently) 5. **[NEW 12.05.18]** Maybe it's better to support left-aligend center-aligend and right-aligend. --- Demo:(Be Patient, some gifs' size > 1M) ![image](https://github.com/ultragtx/ultragtx.github.com/blob/master/images/Move_s.gif?raw=true) ![image](https://github.com/ultragtx/ultragtx.github.com/blob/master/images/Add_s.gif?raw=true) ![image](https://github.com/ultragtx/ultragtx.github.com/blob/master/images/Delete_s.gif?raw=true) --- Please support if you like it! PayPal - The safer, easier way to pay online!

近期下载者

相关文件


收藏者