tmquiltview's People
Forkers
fsosa jyothepro offensivepolitics bstahlhood andrekandore kokomo amitagrawal proximamonkey n1rvana xxhp alpascual jogloran donfrancisco yarchiko wahyusumartha ihwy lionelwang nembi teeppiphat ryanolson chilang mokerjoke serkanbudak protez dovy easonoutlook scottliu1234 bottah spopenko edison9888 hds1989824 xpg ilyi1116 pawartur kostassite theniks wangcrystal akdsouza yuanshankongmeng williamren leonardopasquini-infocorp janak-nirmal gordonxie evifree muratsevim phamquy andrewrauh williamzang davidsph abc4715760 syedfa jackill annamharikrishna01 6david9 zendapps larascasse hongdougao vertra hjanuschka dyf128 steamx albertvt madalbert echoliao silicn tjkoifoly masong2012 sea2gh alloyapple leonsuper showhilllee baiity pofeng2000 mingsai notnewbie loftierthoughts 408711789 xumeng ctaodream germc fuwenhuai jatwaston wzhifang yangwei0401 you520t wuchangqi alexguoq watermeion girishpc kingja01 beautiflly123 tiger8888 kalsariyac xiaoxinla kakukeme wanglj7525 wtuyp iweig johnson888 wxxwebtmquiltview's Issues
Underlying UIScrollView loses scrolling behaviour when touched outside of TMQuiltViewCells
Steps to reproduce
- Open
TMQuiltViewDemo
project from HEAD - Remove
self.quiltView.backgroundColor = [UIColor blackColor];
fromviewDidLoad
- Attempt to scroll the quilt view by dragging anywhere outside of the
TMQuiltViewCell
(in the margin area)
Expected
Underlying scroll view scrolls.
Actual
No scrolling behaviour occurs.
can not add as a subview of other view?
is it?
Cell disappear (serious bug)
In original demo project
Change number of cell
- (NSInteger)quiltViewNumberOfCells:(TMQuiltView *)TMQuiltView {
return 3; // [self.images count];
}
Change the height of cell
- (CGFloat)quiltView:(TMQuiltView *)quiltView heightForCellAtIndexPath:(NSIndexPath *)indexPath {
return 100; //[self imageAtIndexPath:indexPath].size.height / [self quiltViewNumberOfColumns:quiltView];
}
After scroll to top to so that first two cell hidden then release scrolling, the second cell is disappeared.
iOS 7 / ARC Compatible?
Love this library! Want to use it for an app I am building, but can you update it to be more compliant with ARC and iOS 7? Thanks!
Infinite Scroll like facebook
Hi, it a very good component,
how can we add infinite scroll in TMQuiltView
1 photo disappears
Modify TMDemoQuiltViewController to have only one cell:
const NSInteger kNumberOfCells = 1;
Run the demo project and scroll up the view until you completely hide the photo in the upper margin. It seems as if the photo doesn't come back down.
Label burry
After adding UILabel to the TMQuiltViewCell view, text getting blurred on right list of the view.
two issues
the first one, each append datas, the view will calculate cell's frame from index 0.
the second, drag up the scroll view and make the last cell out of visible view , then move up your fingers you'll find all of cells is remove from supperview.
Don't call "didSelectCellAtIndexPath"
Why don't call in my controller
- (void)quiltView:(TMQuiltView *)quiltView didSelectCellAtIndexPath:(NSIndexPath *)indexPath ?
Reload cells after new cell insertion with NSFetchedResultsController
Trying to insert a new Cell with NSFetchedResulltController doesn't seems to reload the cells. New cell doesn't appear event if I put a reloadData after it. It appears when I restarted the app, so the insertion in Core Data works. I'm using the last TMQuiltView.m.
How to know which cell was clicked?
Hello i want to display the image in a uiimageview when the user click on an image. How do i know which cell index was clicked? Mant thanks :)
how to load images from network server?
for this TMQuiltView load images must get the image height,but if the load images come from network server,how to load it ?
TMQuiltView memory leak
dealloc code releases _reusableViewsDictionary first, but then cleanupColumns code path will re-create the dictionary and leak all objects in it. The fix is to move cleanupColumns to the beginning of dealloc.
-
(void)dealloc {
[_indexPaths release], _indexPaths = nil;
[_reusableViewsDictionary release], _reusableViewsDictionary = nil;
[_rowsToInsert release], _rowsToInsert = nil;
[_rowsToDelete release], _rowsToDelete = nil;[self cleanupColumns]; <== leaks _reusableViewsDictionary
[self removeGestureRecognizer:self.tapGestureRecognizer];
[_tapGestureRecognizer release], _tapGestureRecognizer = nil;[super dealloc];
}
TMQuiltView should cache the heightForCellAtIndexPath
TMQuiltViewDelegate
have protocol: - (CGFloat)heightForCellAtIndexPath:(NSIndexPath *)indexPath;
. And it result a performance issue if the height need a calculation according to cell content. The currently implementation simply request the method every time it layoutSubView
(though rectForCellAtIndex
).
Like UITableView, it should call once for each indexPath and cache it. Prevent re-calculation during scroll. The cache should be clear after the user call follow method:
- (void)beginUpdates;
- (void)resetView;
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.