Latest 1.0.6
Homepage https://github.com/sammcewan/SMMosaicCollectionView
License MIT
Platforms ios 7.0, requires ARC
Authors

Purpose

There are a few discussions about how to build a scrollview with variable page sizes. When faced with this problem I decided to complete my own specific implementation.

Required:

  • Multiple images displayed side-by-side regardless of size.
  • Bounce to the center most image on decelleration and stop.
  • Lightweight.

Best seen in the following example

Example

What next?

I would love to see where this library goes. I’ve kept it simple to start off with but intend on updating as I work through its implementation in my own app.

Release Notes

Version 1.0

  • Initial release

Latest podspec

{
    "name": "SMMosaicCollectionView",
    "version": "1.0.6",
    "license": {
        "type": "MIT"
    },
    "summary": "A lightweight hoziontal image scroller that centers on the middle cell regardless of the image's aspect ratio.",
    "homepage": "https://github.com/sammcewan/SMMosaicCollectionView",
    "authors": {
        "Sam McEwan": "[email protected]"
    },
    "source": {
        "git": "https://github.com/sammcewan/SMMosaicCollectionView.git",
        "tag": "v1.0.6"
    },
    "source_files": "Source/*.{h,m}",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    },
    "ios": {
        "frameworks": [
            "UIKit",
            "Foundation"
        ]
    }
}

Pin It on Pinterest

Share This