I am new to Objective-C but have a lot of experience with Java and .NET.
I am trying to add EGOPhotoViewer to my iOS 5 project in Xcode 4.2.1. But I get a lot of releases, dealloc, save, etc. When compiling their code, since I use automatic reference counting (I think!).
How can I create a class library, framework, or what it called in Objective-C for my code, which I can add to my project?
EDIT: I made an approach from JeremyP by inserting code with a new purpose. I compiled at the beginning, but after a while I get this compilation error:
Undefined symbols for architecture i386: "_OBJC_METACLASS_$_EGOPhotoViewController", referenced from: _OBJC_METACLASS_$_PhotoViewController in PhotoViewController.o "_OBJC_CLASS_$_EGOPhotoViewController", referenced from: _OBJC_CLASS_$_PhotoViewController in PhotoViewController.o ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Does anyone know why?
ios objective-c
dhrm
source share