Objective-C: Photo Viewer for iOS with ARC support?
The last couple of days I've tried to implement a Photo Viewer in my iOS 5.0 Application in Xcode 4.2. By project is running with Automatic Reference Counting (ARC). I've tried Three20 Photo Viewer but this has a lot of dependencies and is really a heavy piece to include in my project. Next I've tried EGOPhotoViewer which really seems as a great solution for my purpose -- but sadly I does not support ARC and because of that, I cannot compile it inside my project.
Does anybody know a Photo Viewer for iOS which supports ARC -- or could, in some way, be added as a library to a project running with ARC?
It is possible to disable ARC for individual files by adding the -fno-objc-arc to a file.
To disable ARC for a file select your project in Xcode 4, go to the build phases tab, select the files you want to disable for ARC, add the -fno-objc-arc compiler flag to these files.
You might want to take a look at
MWPhotoBrowser can display one or more images by providing either UIImage objects, or URLs to files, web images or library assets. The photo browser handles the downloading and caching of photos from the web seamlessly. Photos can be zoomed and panned, and optional (customisable) captions can be displayed. The browser can also be used to allow the user to select one or more photos using either the grid or main image view.