Latest 1.0.0
Homepage https://github.com/VRGsoftUA/CombinedView
License MIT
Platforms ios 11.0, requires ARC
Authors

HIRE US

Meet a simple library for iOS application to combine different images in one UIView like Apple Music album covers. You can use as many images as you want.

CombinedView CombinedView

Installing with CocoaPods

use_frameworks! 

pod 'CombinedView'

Usage

Add a UIView instance in your .storyboard or .xib, set a CombinedView class, connect an IBOutlet and call combine(images: [UIImage?] func with an array of images.

import CombinedView

class ViewController: UIViewController {

    @IBOutlet weak var combinedView: CombinedView!

    override func viewDidLoad() {
        super.viewDidLoad()

        combinedView.combine(images: [UIImage(named: "panda"), UIImage(named: "racoon"), UIImage(named: "tiger"), UIImage(named: "animal")])
    }
}

CombinedView

Setup CombinedView if needed

override func viewDidLoad() {
    super.viewDidLoad()

    combinedView.combine(images: [UIImage(named: "panda"), UIImage(named: "racoon"), UIImage(named: "tiger"), UIImage(named: "animal")])
    combinedView.cornerRadius = 4
    combinedView.startAngle = 0
    combinedView.contentMode = .scaleAspectFill
}

CombinedView

Customization

Parameter Description
cornerRadius Sets current view corner radius
startAngle Sets start angle for images rotation

Compatibility

  • IOS 11+

Changelog

Version: 1.0

  • Initial Build

Contributors

  • Contributions are always welcome
  • If you want a feature and can code, feel free to fork and add the change yourself and make a pull request

Latest podspec

{
    "name": "CombinedView",
    "version": "1.0.0",
    "summary": "Library for iOS application to combine different images in one UIView.",
    "license": {
        "type": "MIT",
        "file": "LICENSE.txt"
    },
    "homepage": "https://github.com/VRGsoftUA/CombinedView",
    "authors": {
        "Anna Sahaidak": "[email protected]"
    },
    "source": {
        "git": "https://github.com/VRGsoftUA/CombinedView.git",
        "branch": "master",
        "tag": "1.0.0"
    },
    "platforms": {
        "ios": "11.0"
    },
    "swift_version": "5.0",
    "requires_arc": true,
    "source_files": "CombinedView/*.swift"
}

Pin It on Pinterest

Share This