Question about IB objects

0 views
Skip to first unread message

Jason Martens

unread,
May 31, 2009, 8:11:47 PM5/31/09
to rtfm-development-...@googlegroups.com
Hey all,
I have a UIScrollView in an IB layout, and I've connected it to my
UIViewController <UIScrollViewDelegate> class. However, when I set up
the properties of my UIScrollView object, the object has not been
allocated (pointer is 0x0). I'm pretty sure that it should be
allocated by IB, but is not for some reason. Anyone know why? For an
example of this working, see the PageControl example app (https://developer.apple.com/iphone/library/samplecode/PageControl/
).

Thanks!
Jason

Nate

unread,
Jun 1, 2009, 9:52:21 AM6/1/09
to RTFM: Development for Mobile Devices
Jason,

Your UIViewController's view is set to be that UIScrollView, and that
UIScrollView's delegate is set back to that UIViewController, is that
correct?

Nate
Reply all
Reply to author
Forward
0 new messages