Created
December 4, 2015 15:28
-
-
Save fluidsonic/947b06a3682803313ada to your computer and use it in GitHub Desktop.
UISplitViewController sucks!
This file contains 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
(lldb) po 0x7c953600 // UISplitViewController | |
<UISplitViewController: 0x7c953600> | |
(lldb) po [0x7c953600 childViewControllers] // UISplitViewController's children | |
NSArray( | |
<UIViewController: 0x7be5a6e0>, | |
<UIViewController: 0x7be9b130> | |
) | |
(lldb) po [0x7be5a6e0 parentViewController] // master child's parent | |
nil // obviously wrong | |
(lldb) po [0x7be9b130 parentViewController] // detail child's parent | |
<UISplitViewController: 0x7c953600> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment