Last active
August 29, 2015 14:11
-
-
Save mikeabdullah/82ac2887cfc1cda095ad to your computer and use it in GitHub Desktop.
Encoding child view controllers in custom container
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)encodeRestorableStateWithCoder:(NSCoder *)coder { | |
[super encodeRestorableStateWithCoder:coder]; | |
[coder encodeObject:self.contentViewController | |
forKey:@"contentViewController"]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment