AnimateModal 0.1.2

AnimateModal 0.1.2

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

Maintained by takujifunao.



Usage

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

Requirements

Installation

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

pod "AnimateModal"

Setting

①import AnimateModal.h

#import "AnimateModal.h"

②AnimateModal init & call CreateModal

- (void)tapBtn{
    AnimateModal* aniMo = [[AnimateModal alloc] init];
    [aniMo CreateModal:self.view title:@"demo"];

    UIButton* btn = [aniMo mainBtn];
    [btn addTarget:self action:@selector(tapModalBtn) forControlEvents:UIControlEventTouchUpInside];
}

- (void)tapModalBtn{
    NSLog(@"aaaaaaaaaaaaaaa");
}

③ちなみに、現在はARC下では動かないので、こちらを見て対応してください。(改善中)

http://lab.dolice.net/blog/2013/05/10/objc-arc-switch/

Author

takujifunao, [email protected]

License

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

demo