Created
November 19, 2015 21:58
-
-
Save fluidsonic/981e0b86661abb30a0ed to your computer and use it in GitHub Desktop.
UIPageControl madness
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 0x12fbada50 | |
<UIPageControl: 0x12fbada50; frame = (134.5 46.5; 7 37); autoresize = W; userInteractionEnabled = NO; layer = <WLayer: 0x12fbabe80>> | |
(lldb) p (NSInteger)[0x12fbada50 numberOfPages] | |
(NSInteger) $2 = 1 | |
(lldb) p (NSInteger)[0x12fbada50 currentPage] | |
(NSInteger) $3 = 0 | |
(lldb) p (void)[0x12fbada50 setCurrentPage:1] | |
(lldb) p (NSInteger)[0x12fbada50 currentPage] | |
(NSInteger) $4 = 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment