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?

Answers


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 - you can add it to your project as a static library which will work independantly of your project's ARC settings.

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.


Need Your Help

Http communication over WAN

http sockets webserver port serversocket

I have the following basic server/client java code, that works when server and client are in the same network:-

Creating a calendar for events scheduling

php

I want to create something like this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.