A controller for representing modal, popup-style content on iPhone.
Objective-C Ruby
Switch branches/tags
Pull request Compare This branch is 158 commits ahead, 12 commits behind cocopon:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
DZPopupController
DZPopupControllerDemo.xcodeproj
DZPopupControllerDemo
.gitignore
DZPopupController.podspec
LICENSE
README.markdown

README.markdown

DZPopupController

Overview

DZPopupController is a floating UI component. It is a modal, iPhone-only controller resembling a mix between UIPopoverController crossed with UIAlertView.

This component is based on CQMFloatingController, ported from Calqum, a customizable calculator for iPhone.

Screenshots

Screenshot0 Screenshot1

How to Use

  1. Add all .h and .m to your project
  2. Write code as below:
// Import a required class
#import "DZPopupController.h"

- (void)show {
    SomeViewController *viewController = [SomeViewController new];
    DZPopupController *popupController = [[DZPopupController alloc] initWithContentViewController: viewController];
    popupController.frameColor = [UIColor orangeColor];
    [popupController present];
}

License

Copyright (c) 2012-2013 Zachary Waldowski zwaldowski@gmail.com, cocopon cocopon@me.com, and Kent Nguyen nguyen.dmz@gmail.com.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.