Anchor 0.1

Anchor 0.1

Maintained by Armando Castaneda Elguero.



Anchor 0.1

  • By
  • Armando Castaneda Elguero

Anchor

Version License Platform

anchor example gif

Usage

import Anchor

let anchorView = AnchorView(title: "Lorem Ipsum", contentView: contentScrollView, style: .light)

Create an Anchor View.

Required
title: Title of your view.
contentView: A scrollView that houses your content.

Optional
style: Of type UIBlurEffect.Style. Default value is .dark.
parentView: A parent view to place the Anchor View in. If none is provided, UIApplication.shared.keyWindow is used.

anchorView.open()

anchorView.close()

Open and close view.

Example

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

Requirements

This pod is made with Swift 5.

Installation

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

pod 'Anchor'

Author

Armando Castaneda Elguero, [email protected]

License

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