Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Commit

Permalink
Merge pull request #3 from stefz/master
Browse files Browse the repository at this point in the history
CurrentViewController as public readonly property
  • Loading branch information
m4tbat committed Jan 13, 2015
2 parents b378192 + 45e6e43 commit 0dfc5ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Pod/Classes/MBT3DGridViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ typedef NS_ENUM(NSInteger, MBT3DGridTransitionDirection) {

@interface MBT3DGridViewController : UIViewController

@property (strong, nonatomic, readonly) UIViewController *currentContentViewController;

@property (weak, nonatomic) id <MBT3DGridViewControllerDataSource> dataSource;

@property (weak, nonatomic) id <MBT3DGridViewControllerDelegate> delegate;
Expand Down
2 changes: 1 addition & 1 deletion Pod/Classes/MBT3DGridViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ @interface MBT3DGridViewController () <UIViewControllerContextTransitioning>

@property (assign, nonatomic, readwrite) MBT3DGridTransitionDirection transitionDirection;

@property (strong, nonatomic) UIViewController *currentContentViewController;
@property (strong, nonatomic, readwrite) UIViewController *currentContentViewController;
@property (strong, nonatomic) UIViewController *nextContentViewController;

@property (assign, nonatomic) BOOL transitionCanceled;
Expand Down

0 comments on commit 0dfc5ea

Please sign in to comment.