• This repository has been archived on 09/May/2020
  • Stars
    star
    626
  • Rank 69,255 (Top 2 %)
  • Language
    Objective-C
  • License
    Other
  • Created over 11 years ago
  • Updated about 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A tiled UI for iOS and iPhone

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

Portrait

DataSource Delegate

To work properly, MosaicView needs a class that implements MosaicViewDatasourceProtocol

-(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

-(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 it

Follow me on twitter at @betzerra or email me at [email protected]

License

This project is under MIT License. See LICENSE file for more information.