Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 874 Bytes

README.md

File metadata and controls

42 lines (32 loc) · 874 Bytes

LPSemiModalView

modal a view in semi window with CATransform 3D transformed efftect

Screenshot

Usage

// `In your viewController`
LPSemiModalView *mv = [[LPSemiModalView alloc] initWithSize:CGSizeMake(self.view.frame.size.width, 300) andBaseViewController:self];
// `activate simply`
[mv open];
// `dismiss simply`
[mv close];
// custom your view in contentView with whatever you want
[mv.contentView addSubView:yourView];
// will & did close semiModalView callback
// semiModalViewWillCloseBlock
mv.semiModalViewWillCloseBlock = ^{};
//semiModalViewDidCloseBlock
mv.semiModalViewDidCloseBlock = ^{};

Installation

  • use cocoapods
pod 'LPSemiModalView', '~> 0.0.1'
  • manual import
just download lib folder and add into your project

Release notes

  • 0.0.1

first release version