diff --git a/Pod/Classes/MBT3DGridViewController.h b/Pod/Classes/MBT3DGridViewController.h index c966051..0c13105 100644 --- a/Pod/Classes/MBT3DGridViewController.h +++ b/Pod/Classes/MBT3DGridViewController.h @@ -41,6 +41,8 @@ typedef NS_ENUM(NSInteger, MBT3DGridTransitionDirection) { @interface MBT3DGridViewController : UIViewController +@property (strong, nonatomic, readonly) UIViewController *currentContentViewController; + @property (weak, nonatomic) id dataSource; @property (weak, nonatomic) id delegate; diff --git a/Pod/Classes/MBT3DGridViewController.m b/Pod/Classes/MBT3DGridViewController.m index 02e526f..46948c4 100644 --- a/Pod/Classes/MBT3DGridViewController.m +++ b/Pod/Classes/MBT3DGridViewController.m @@ -15,7 +15,7 @@ @interface MBT3DGridViewController () @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;