Closed fillito closed 11 years ago
[super dealloc] isn't actually missing, EGOCache uses ARC now which forbids the use of this
As a heads up, if Xcode is warning you that it's missing, it would imply your project doesn't use ARC and EGOCache is going to leak all over the place.
Ohh !! I see , sorry for bugging you. I forgot about it uses ARC
I suppose that if I use -fobjc-arc as a compiler flag for my project (that doesn't use ARC) will do the trick. Am I right ?
I've actually never enabled it on a per-file basis, only disabled. I know setting -fno-objc-arc for the class will turn it off, so it stands to reason -fobjc-arc will turn it on.
I'm using -fobjc-arc for other ARC libraries like AFNetworking and it works right. They encourage you to use it in the AFNetworking doc https://github.com/AFNetworking/AFNetworking.
I'm currently making tests with your EGOCache 2.0 using -fobjc-arc just for EGOCache.m and everything seems to work like charm (Awesome job BTW)
Thanks for your help !
[super dealloc] was missing and XCode warns
Signed-off-by: Daniel García fillito@gmail.com