要运行示例项目,首先克隆仓库,然后在示例目录中运行pod install
。
#import <PMStepOutController/PMStepOutController.h>
//any UView or UIView subclass will work. Here is an example of a UICollectionViewCell
UICollectionViewCell *cell = [collectionView cellForItemAtIndexPath:indexPath];
PMStepOutController *controller = [[PMStepOutController alloc] initWithView:cell];
[self.navigationController presentViewController:controller animated:YES completion:nil];
Pierre-Marc Airoldi, [email protected]
PMStepOutController在MIT许可证下可用。有关更多信息,请参阅LICENSE文件。