Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/betzerra/MosaicUI
A tiled UI for iOS and iPhone
https://github.com/betzerra/MosaicUI
Last synced: 3 months ago
JSON representation
A tiled UI for iOS and iPhone
- Host: GitHub
- URL: https://github.com/betzerra/MosaicUI
- Owner: betzerra
- License: other
- Archived: true
- Created: 2013-01-05T23:21:02.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T14:54:33.000Z (over 7 years ago)
- Last Synced: 2024-07-19T11:05:22.375Z (4 months ago)
- Language: Objective-C
- Size: 2.25 MB
- Stars: 626
- Watchers: 50
- Forks: 102
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mosaic UI
**IMPORTANT: I'm developing a new UI very similar to MosaicUI based on UICollectionView. Take a look at https://github.com/betzerra/MosaicLayout****MosaicUI** is a tiled UI for iOS that automatic layouts according to the elements' sizes.
![Landscape](http://www.betzerra.com.ar/wp-content/uploads/2013/01/mosaic_screenshot_001.png)
![Portrait](http://www.betzerra.com.ar/wp-content/uploads/2013/01/mosaic_screenshot_002.png)
## DataSource Delegate
To work properly, **MosaicView** needs a class that implements **MosaicViewDatasourceProtocol**
```objc
-(NSArray *)mosaicElements; // Array containing MosaicData objects
```## MosaicViewDelegate
Ok, so now you've got the **MosaicView** working but you'll probably want something to happen when someone taps an element. In that case you'll need a class that implements **MosaicViewDelegateProtocol**```objc
-(void)mosaicViewDidTap:(MosaicDataView *)aModule;
-(void)mosaicViewDidDoubleTap:(MosaicDataView *)aModule;
```## Look and feel
You can customize how it looks by overriding the **MosaicDataView** class.## Feedback is welcome
Help me to improve **MosaicUI** and tell me what do you think about itFollow me on twitter at **@betzerra** or email me at [email protected]
## License
This project is under MIT License. See LICENSE file for more information.