Skip to content

Instantly share code, notes, and snippets.

@bogardon
Created May 10, 2013 07:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bogardon/5553003 to your computer and use it in GitHub Desktop.
Save bogardon/5553003 to your computer and use it in GitHub Desktop.
UIActionSheet WTF?
(lldb) po [[UIApplication sharedApplication] windows]
$13 = 0x09ee0630 <__NSArrayM 0x9ee0630>(
<UIWindow: 0x9e8ff00; frame = (0 0; 320 568); layer = <UIWindowLayer: 0x9e90300>>,
<UITextEffectsWindow: 0x9a77be0; frame = (0 0; 320 568); hidden = YES; opaque = NO; layer = <UIWindowLayer: 0x9a77d30>>,
<_UIAlertOverlayWindow: 0x9edf900; frame = (0 0; 320 568); layer = <UIWindowLayer: 0x9edf9d0>>
)
(lldb) po [[[UIApplication sharedApplication] windows] lastObject]
$14 = 0x09edf900 <_UIAlertOverlayWindow: 0x9edf900; frame = (0 0; 320 568); layer = <UIWindowLayer: 0x9edf9d0>>
(lldb) po [[[[UIApplication sharedApplication] windows] lastObject] subviews]
$15 = 0x09a91ae0 <__NSArrayM 0x9a91ae0>(
<UIView: 0x9a90160; frame = (0 0; 320 568); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x9a8ff30>>,
<UIView: 0x9a90660; frame = (0 0; 320 568); clipsToBounds = YES; layer = <CALayer: 0x9a906c0>>
)
(lldb) po [[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews]
$16 = 0x09a91c00 <__NSArrayM 0x9a91c00>(
<UIView: 0x9a905b0; frame = (0 0; 320 568); opaque = NO; layer = <CALayer: 0x9a90610>>
)
(lldb) po [[[[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews] lastObject] subviews]
$17 = 0x09a91c80 <__NSArrayM 0x9a91c80>(
<UIView: 0x9a90500; frame = (0 0; 320 568); opaque = NO; layer = <CALayer: 0x9a90560>>
)
(lldb) po [[[[[[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews]
$18 = 0x0a909e60 <__NSArrayM 0xa909e60>(
<UIView: 0x9a90450; frame = (0 20; 320 548); opaque = NO; layer = <CALayer: 0x9a904b0>>
)
(lldb) po [[[[[[[[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews]
$19 = 0x0ab4b380 <__NSArrayM 0xab4b380>(
<UIView: 0x9a902e0; frame = (0 0; 320 548); opaque = NO; layer = <CALayer: 0x9a90340>>
)
(lldb) po [[[[[[[[[[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews]
$20 = 0x0ab4b3f0 <__NSArrayM 0xab4b3f0>(
<UIActionSheet: 0x9edd780; frame = (0 371; 320 177); opaque = NO; layer = <CALayer: 0x9edc830>>
)
(lldb) po [[[[[[[[[[[[[[[[UIApplication sharedApplication] windows] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews] lastObject] subviews]
$21 = 0x0a908b60 <__NSArrayM 0xa908b60>(
<UILabel: 0x9edd590; frame = (10 11; 300 19); text = 'Choose Account'; clipsToBounds = YES; opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x9edc800>>,
<UIAlertButton: 0x9edd900; frame = (21 44; 278 46); opaque = NO; tag = 1; layer = <CALayer: 0x9edd9c0>>,
<UIAlertButton: 0x9ede260; frame = (21 111; 278 46); opaque = NO; tag = 2; layer = <CALayer: 0x9ede320>>,
<UIImageView: 0x9edf720; frame = (0 -3; 320 3); opaque = NO; userInteractionEnabled = NO; layer = <CALayer: 0x9edf780>> - (null)
)
(lldb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment