Skip to content

jedlewison/MAFOverlay

Repository files navigation

MAFOverlay

[![CI Status](http://img.shields.io/travis/Jed Lewison/MAFOverlay.svg?style=flat)](https://travis-ci.org/Jed Lewison/MAFOverlay) Version License Platform

About

MAFOverlay brings popover-style overlay presentations to iPhone and iPad on iOS 7+.

  • MAFOverlay presents view controllers as overlays
  • Default setup should work for most cases—simply create a coordinator object for the presented view controller
  • Handles iOS 7 rotation—simply let the coordinator know about willanimaterotation events
  • Works well with MAFOptionActionController for customizable ActionSheet style presentations
  • Supports a subset of popover features, including presenting from Bar Button or View
  • Supports Cross Dissolve and Cover Vertical transitions, but is customizable
  • Uses UIKit's custom modal presentation API
  • Provides grain control over animation and layout through layout attributes object and datasource

Usage

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

You can also run pod try MAFOverlay.

Note

There's an occasional bug in the iOS simulator when presenting from a bar button item, but this bug is not visible on devices.

Requirements

Installation

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

pod "MAFOverlay"

Author

Jed Lewison, [email protected]

License

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published