Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Updated to initialize with storyboard #147

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion PKRevealController/Controller/PKRevealController.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,11 @@ - (void)commonInitializer
_frontViewController.revealController = self;
_leftViewController.revealController = self;
_rightViewController.revealController = self;

if (!self.controllerOptions)
{
self.controllerOptions = [NSMutableDictionary dictionaryWithCapacity:10];
}
}

#pragma mark - API
Expand Down Expand Up @@ -1498,4 +1503,4 @@ NS_INLINE void safelyExecuteCompletionBlockOnMainThread(PKDefaultCompletionHandl
}
}

@end
@end