@IBOutlet private weak var tileShiftView: TileShiftView!
or init(with frame)
tileShiftView.prepare(with: [#imageLiteral(resourceName: "artwork_sample_00000"),
#imageLiteral(resourceName: "artwork_sample_00001"),
#imageLiteral(resourceName: "artwork_sample_00002"),
#imageLiteral(resourceName: "artwork_sample_00003"),
#imageLiteral(resourceName: "artwork_sample_00004"),
#imageLiteral(resourceName: "artwork_sample_00005"),
#imageLiteral(resourceName: "artwork_sample_00006"),
#imageLiteral(resourceName: "artwork_sample_00007"),
#imageLiteral(resourceName: "artwork_sample_00008")])
tileShiftView.ignoreIndecies = [4]
To run the example project, clone the repo, and run pod install
from the Example directory first.
TileShiftView is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "TileShiftView"
Tomoya Hirano, cromteria@gmail.com
TileShiftView is available under the MIT license. See the LICENSE file for more info.