New issue 1198 by sachana...@gmail.com: error: Deprecations: 'text' maybe
deprecated because receiver type is unknown
http://code.google.com/p/zxing/issues/detail?id=1198
In ZXingWidgetController.m, I get an error for those 2 lines:
[self presentResultForString:[twoDResult text]];
.....
[self performSelector:@selector(alertDelegate:) withObject:[[twoDResult
text] copy] afterDelay:0.0];
This is the error: Deprecations: 'text' maybe deprecated because receiver
type is unknown. Same error for the 2 codes, for the word 'text'
I'm using Xcode 4.2 and trying to run the app on iOS5.
Thanks!
Comment #1 on issue 1198 by smpar...@smparkes.net: error:
Deprecations: 'text' maybe deprecated because receiver type is unknown
http://code.google.com/p/zxing/issues/detail?id=1198
I can't replicate this. I get no warnings on a build of the widget and I
can't see any reason for the warning: everything looks like it's declared
correctly. Maybe you made some changes to the code?
These checks were against the svn trunk.
I have the same problem, occurred after running code modernizer.
I also have the same problem. It also happened after running code
modernizer.
What is "code modernizer"? The ARC upgrade thing? See
http://code.google.com/p/zxing/issues/detail?id=969
For all who have the same problem as me:
I downloaded the new version of Zxing: ZXing-2.0.zip (under
the 'downloads' tab)
After that I correctly implemented Zxing 2.0 into my Xcode Project
following this tutorial:
http://yannickloriot.com/2011/04/how-to-install-zxing-in-xcode-4/
That should normally work, at least by me...