A simple class for managing the lifecycle of your UIPopoverControllers
Objective-C
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Demo.xcodeproj
Demo
MHPopoverManager
.gitignore
README.md

README.md

MHPopoverManager

This is a simple class for managing the lifecycle of your UIPopoverControllers.

Advantages of using MHPopoverManager:

  • You do not need to keep references to the UIPopoverControllers or their content view controllers.
  • The popover controllers are lazily loaded. When memory warnings occur, the popovers that are not visible are deallocated.
  • When the device rotates, the popover manager will hide the visible popover and makes it easy to restore that popover after the rotation.

A basic demo project is included.

The MHPopoverManager source code is copyright 2011-2012 Matthijs Hollemans and is licensed under the terms of the MIT license.