View Full Version : iPhone SDK: missing "Image Viewer" XCode example?

Apr 6, 2008, 09:00 AM
on the page:

iPhone Dev Center > iPhone Reference Library > Topics > Graphics & Animation >Getting Started with Graphics & Animation (https://developer.apple.com/iphone/library/referencelibrary/GettingStarted/GS_Graphics_iPhone/index.html)

within the Working With Images paragraph there is reference to "the Image Viewer sample code project in Xcode," but i don't see this sample code anywhere in my Developer folder. i am trying to display an image and allow user to zoom in on it, not too fancy for now. this mythical "Imager Viewer" example sounds like what i need, exactly. does it exist, was this a typo, does anyone know what i'm talking about?

Apr 6, 2008, 10:35 AM
It looks like the sample code they're referring does not, in fact, exist. I guess it got lost somewhere?

If you're looking for some sample code to figure out how to use UIImageView objects, it looks like the ColorSlidingPuzzle sample project might help you but that's not one I've looked at myself.

http://developer.apple.com/iphone/samples/index.action <-- Sample index page
http://developer.apple.com/iphone/library/samplecode/ColorSlidingPuzzle/index.html <-- ColorSlidingPuzzle sample

Edit: Oh, it looks like you want more of a sample for combining UIScrollView and UIImage. I don't see any examples like that, so I guess you'll just have to see if you can find some stuff by looking from the docs for UIScrollView? I haven't used it before or I'd help you more, sorry.

Edit2: Take a look at these, maybe? Discussion on the actual Cocoa-dev list and such gets shut up pretty quick because of our NDA agreements, so resources are a bit limited right now, but discussion.apple.com still has some stuff. Maybe you can dig up something there that'll make sense.


Apr 6, 2008, 11:42 AM
ok, thanks, at least i have somewhere new to look.

May 12, 2011, 09:42 AM
take a look at this tutorial: http://vimeo.com/1642150