DZPopupController 1.7

DZPopupController 1.7

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total920
Week0
Month0

Installs

Apps24
Test Targets1
powered by Segment

GitHub

Stars40
Watchers3
Forks4
Issues0
Contributors4
Pull Requests0

Code

Files15
LOCLines of Code 1,022


  • By
  • Zachary Waldowski

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 [email protected], cocopon [email protected], and Kent Nguyen [email protected].

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.