Skip to content

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

License

Notifications You must be signed in to change notification settings

litt1e-p/LPSemiModalView

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published