Skip to content

brianmichel/BMPopover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

BMPopover


An early attempt at pulling over the UIPopoverController control for iPhone. As you can tell by the classes, this CLOSELY mimics the UIPopoverController and UIPopoverBackgroundView interfaces to facilitate interoperability between classes.

This does not have all of the bells and whistles of the UIPopoverController yet, but I'm going to be tackling them as I see fit, or as you see fit if you'd like to contribute a patch.

I did this half as an exercise of deconstructing the popover control itself, and half out of frustration that Apple is allowed to use them on iPhone apps and I am not. Basically, I got pissed and went HAM on some code.

Things to know

BMPopoverController.h and .m are the only classes you need to copy into your project.

As with the supplied UIPopoverController when you rotate you are probably better of dismissing the given popover and representing it as the rects you are presenting from may have moved.

This project is ARC based, and it requires QuartzCore to build.

The other sample popover in the project was originally written by Scianski for an article that can be found here.

Screenshots!!!!11!1!!!

Contribute

Feel free to open an issue and be detailed as to the weirdness you're experiencing. Or! Fork the repo, make a topic branch, and send me a pull request. Any work you do, PLEASE PLEASE PLEASE test it on iPad and iPhone :) Feel free to drop me a line on Twitter as well, @brianmichel

License

Creative Commons License
BMPopover by Brian Michel is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Based on a work at https://github.com/brianmichel/BMPopover.

About

UIPopoverController replacement for iPhone & iPad

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published