Latest 0.1.1
Homepage https://github.com/andreasbagias/ABCollage
License MIT
Platforms ios 8.0
Frameworks UIKit
Authors

CI Status
Version
License
Platform

Example

ABCollage

ABCollage
ABCollage

Installation

ABCollage is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'ABCollage'

How to Use

collageView.horizontalfactors = [[2,1],[1,2],[1,1]] //optional
collageView.verticalFactors = [1,1,1] //optional
collageView.padding = 10 //optional
collageView.cornerRadius = 10 //optional
collageView.borderWidth = 3 //optional

let image1 = ABImage(image: UIImage(named: "test1")!)
let image2 = ABImage(image: UIImage(named: "test2")!)
let image3 = ABImage(image: UIImage(named: "test3")!)
let image4 = ABImage(image: UIImage(named: "test4")!)
let image5 = ABImage(image: UIImage(named: "test5")!)
let image6 = ABImage(image: UIImage(named: "test6")!)

collageView.media = [[image1,image2],
[image4,image3],
[image5,image6]]

collageView.setUserInteraction(enabled: true, vc: self) //optional

Author

andreas bagias, [email protected]

License

ABCollage is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "ABCollage",
    "version": "0.1.1",
    "summary": "Custom view with 2 dimensional array of images and videos",
    "description": "A custom view which helps users to create a view with multiple image views that are positioned as in a two dimensional array.",
    "homepage": "https://github.com/andreasbagias/ABCollage",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Andreas Bagias": "[email protected]"
    },
    "source": {
        "git": "https://github.com/andreasbagias/ABCollage.git",
        "tag": "0.1.1"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.1",
    "source_files": "ABCollage/Classes/**/*",
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This