Comments (15)
+1 vote for sections.
Nice work Bryce.
from rfquiltlayout.
+1 vote for sections
That would be great to have sections in this control.
Excellent job btw
from rfquiltlayout.
I got the sections working by bundling up separate quilts into MMHorizontalListViewCells.
https://github.com/jdp-global/MMHorizontalListView
This sits inline with Windows 8 - Visual Language - hubs / sections - whereby any hub(MMHorizontalListViewCell) could contain any content / picture / form etc.
Todo the titles I just offset uilabel
MMHorizontalListView *horizontalView = [[MMHorizontalListView alloc]initWithFrame:self.view.bounds];
horizontalView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth;
[self.view addSubview:horizontalView];
horizontalView.dataSource = self;
horizontalView.delegate = self;
horizontalView.cellSpacing = 40;
[container0 addSubview:horizontalView];
[self.view addSubview:container0];
flowLayout = [[RFQuiltLayout alloc] init];
flowLayout.tag = 111;
flowLayout.groupSize = CGSizeMake(4,4);
flowLayout.blockPixels = CGSizeMake(122, 122);
flowLayout.direction = UICollectionViewScrollDirectionHorizontal;
flowLayout.delegate = self;
myCollectionView =[[UICollectionView alloc]initWithFrame:rect collectionViewLayout:flowLayout];
// myCollectionView.autoresizingMask = UIViewAutoresizingFlexibleHeight|UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight;
[myCollectionView registerClass:[ProfileCell class] forCellWithReuseIdentifier:@"ProfileCell"];
[myCollectionView registerClass:[UICollectionViewCell class] forCellWithReuseIdentifier:@"ID"];
// Do any additional setup after loading the view, typically from a nib.
myCollectionView.delegate = self;
myCollectionView.dataSource = self;
[myCollectionView setBounces:YES];
myCollectionView.scrollEnabled = NO;
myCollectionView.tag = HUB0;
[myCollectionView setCollectionViewLayout:flowLayout];
[myCollectionView setBackgroundColor:[UIColor clearColor]];
from rfquiltlayout.
+1 vote for sections.
Sections would be highest priority..
This is a great library.
from rfquiltlayout.
jdp-global can you post your implementation of how you used MMHorizontalListView with QuilViewLayout. Please!!!! Thank you.
from rfquiltlayout.
+1 for headers / sections
from rfquiltlayout.
+1 for headers / sections / footers
from rfquiltlayout.
+1 for headers / sections / footers
from rfquiltlayout.
+1 for headers / sections / footers
from rfquiltlayout.
I added basic support for it, check my fork at https://github.com/antoinelamy/RFQuiltLayout
from rfquiltlayout.
Definitely needs to add a support of sections.
from rfquiltlayout.
+1. :)
from rfquiltlayout.
+1
from rfquiltlayout.
@antoinelamy when i have tried headerReferenceSize = CGSizeMake(320,222); run ,it show error;
from rfquiltlayout.
@antoinelamy I don't know is it right to change
int unrestrictedDimensionStart = isVert? rect.origin.y / self.itemBlockSize.height : rect.origin.x / self.itemBlockSize.width;
to,I have tried it will be show ok when headerReferenceSize.height > self.itemBlockSize.height.
int unrestrictedDimensionStart = isVert? (rect.origin.y - self.headerReferenceSize.height) / self.itemBlockSize.height : rect.origin.x / self.itemBlockSize.width;
from rfquiltlayout.
Related Issues (20)
- Content Inset is missing.
- Cell Size based on content? HOT 2
- Auto Resizing Tiles
- Sections in QuiltView HOT 2
- Reload initial content on viewDidAppear HOT 2
- RFQuiltLayout multiple section HOT 4
- Each box when tapped has to be expanded from the same position
- Two colums in different rows HOT 2
- Ordering issue
- iOS 8 problem HOT 1
- How to use RFQuiltLayout with a Swift project HOT 4
- Delegate Methods HOT 1
- Margin error HOT 3
- Using library without storyBoard
- Updating Cocoapod HOT 3
- Remove space added to top and bottom of collection view (Horizontal scrolling) HOT 1
- Does this project support horizontal scrolling?
- Why not head size
- Android port HOT 1
- Carthage support?
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.
from rfquiltlayout.