Moving ImageView's origin within a ScrollView to top-left
Moving ImageView's origin within a ScrollView to top-left
- Subject: Moving ImageView's origin within a ScrollView to top-left
- From: Dan Posluns <email@hidden>
- Date: Tue, 16 Sep 2003 01:47:08 -0400
I have done an exhaustive search on the Web and in Apple's docs and
can't seem to figure out how this is supposed to be done.
If I subclass the ImageView and overwrite the isFlipped method to
return YES, my image simply disappears. I have been unable to figure
out where it disappears to.
If I subclass the ScrollView and overwrite the isFlipped method,
nothing happens.
I read somewhere that I should subclass the ClipView and overwrite its
method, but I can't figure out how to change the class of my
ScrollView's associated contentView to the new subclass, since I can't
access the ClipView in IB.
Other sources said I should modify the origin of the frame or bounds of
the contentView (which I can do programatically), but this does not
appear to have any effect.
Is there a definitive (and hopefully simple) method for doing this? I
am surprised at how difficult I'm finding it to find documentation on
what I would expect to be a frequent requirement for many apps.
Thanks in advance,
Dan.
--
Dan Posluns, B. Eng. & Scty. (Software Engineering and Society)
email@hidden - ICQ: 35758902
http://www.danposluns.com
"Only when the last tree has been cut down, only when the last river
has been poisoned, only when the last fish has been caught - only then
will you realize that money cannot be eaten."
- Cree prophecy
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.