fmitech / fmmosaiclayout Goto Github PK
View Code? Open in Web Editor NEWA drop-in mosaic collection view layout with a focus on simple customizations.
License: MIT License
A drop-in mosaic collection view layout with a focus on simple customizations.
License: MIT License
I guess this is how flow layout works, it picks up delegate from collection view. This would make setup easier and would not require any additional code in viewDidLoad.
Does FMMosaicLayout supports deletion of items? It looks like the layout breaks once an item is deleted.
Thank you for any help.
Batch updates must also be supported.
Please show me how to add header and footer view in to your collection layout?
I try but cannot by this:
Requesting two new sizes FMMosaicCellSizeTall and FMMosaicCellSizeWide.
The way I am imagining it is that FMMosaicCellSizeTall would be the height of two FMMosaicCellSizeSmall (and the width of one) and Wide would be the width of two (and the height of one).
Thanks for the Code.
In your code cell size is big and small but I was trying to add another cell size Medium .
Can you please help me out.
Thank You
Hi there,
I was looking into this library, and one thing I saw is that it currently only seems to support two cell sizes.
Is there any chance this can be changed to allow the app to specify the size of a cell in number of columns and rows? That would make the system much more flexible and customizable.
Kind regards,
pieter
Hello, thank's this really simple and great Library and I need to know how can I change the cells size and use my costum size.
Also I've noticed that the number of cells in rows is always multiplier of 2 (2 cells, 4 cells, 8 cells ... in a row) and the big cell size is 2 cells for width and height.
So it will be more nicer if you allows user to define the number of cell in row and the big cell size (for example 3cell for height and 4 for width).
Also I'm ready to contribute in this project
Using XCode 6.3.1, Cocoapods is 0.37.2
I opened the "Example" project in XCode and hit the run button and it gives these errors:
diff: /../Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
I tried going to the directory to install the files from pod. I tried pod install and this is what I got:
[!] Unable to satisfy the following requirements:
- `FMMosaicLayout (from `../`)` required by `Podfile`
- `FMMosaicLayout (from `../`)` required by `Podfile`
- `FMMosaicLayout (= 0.1.1)` required by `Podfile.lock`
I downloaded it through ZIP and did not change any of the files.
if you run into compiler issues when using this framework, simply add #import <UIKit/UIKit.h>
in the header file
Currently when we set the numberOfColumnsInSection
the result view will have double the amount of columns we requested.
E.g. we set the value to 2 then there is 4 columns in the collectionview.
Due to this, we can't add odd number columns (e.g. 3,5,7 etc.)
Could you please address this issue.
Not an issue really but if you could issue this (see what i did there?) in swift, you would unlock the nth universe. Really. Like, seriously. All that aside, its a great control!
Depending on how the mosaic cells are arranged, they don't always end flush with the bottom of the collection view. One way to solve this is with a better calculation of when to render a big or small-sized cell. Provide a mechanism to simply this for the end user.
Release 0.1.2 breaks UI in landscape mode, everything was working correctly before this release. I updated my pods and boom UI wrecked.
Is there a way to change scroll direction to horizontal in landscape mode?
can you plz add the abilty to change the number of image in one row,
perexample i notice that always the number 1 row in contain 5 image,
no mare what
can you plz make the row more flexbile,
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.