Skip to content

It's simply creator custom view, based on bezier path, in that module are included basic curves by class "typeOfMaskThreeShape" and "typeOfMaskTwoShape", with handling click to different bezier

License

Notifications You must be signed in to change notification settings

YaphetS1/RowCurveLayout

Repository files navigation

RowCurveLayout [RENAMED] from BezierRowView

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

  • Xcode 9.0
  • Swift 3.x

Results

ScreenShot ScreenShot

Its simply creator custom UIView with BezierPath. It keep you to write easy code for grid of photos without difficulties. Obtaining images based on the URL or your Photo Model, as well as track the click events on a specific layer of this mask and understand where the user clicked. In callback you can get your Model or URL.

Installation

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

pod 'BezierRowView'

Usage

Here's an example In Action
Define UIView ...
@IBOutlet weak var bez: BezierRowUIView!
... then bind the shape path, model or any URL and callback to your view
bez.setupBind(p: typeOfMaskThreeShape.r308,
m: ["URL", "URL", "URL"]) { item in
print(item)
}
bez.setNeedsDisplay()

Author

[email protected], Dmitry Marinin

License

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

About

It's simply creator custom view, based on bezier path, in that module are included basic curves by class "typeOfMaskThreeShape" and "typeOfMaskTwoShape", with handling click to different bezier

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published