From: rpechayr Date: Thu, 17 Jun 2010 18:16:53 +0000 (+0000) Subject: [iphone] updated README to clearly advise to make .mm files whenever including files... X-Git-Url: http://git.rot13.org/?p=zxing.git;a=commitdiff_plain;h=90571cc4156a1da5d0959408aff0716c22a23edd;hp=d78dcfa216d199cb91e1066e6e1e17fcfb06f576 [iphone] updated README to clearly advise to make .mm files whenever including files from ZXing git-svn-id: http://zxing.googlecode.com/svn/trunk@1444 59b500cc-1b3d-0410-9834-0bbf25fbcc57 --- diff --git a/iphone/README b/iphone/README index c74ad9c0..9d6b37b6 100644 --- a/iphone/README +++ b/iphone/README @@ -27,7 +27,17 @@ How to include ZXingWidget in a easy and clean way: it. Add the relative path from your project's directory to the "zxing/iphone/ZXingWidget/Classes" directory. Make sure you click the checkbox "recursive path" ! - 5. You're ready to go. Just #import from anywhere and it should work ! + 5. You're almost ready to go .. + + 6. #import from a file + + 7. #import for example because you will need to inject a barcode reader into ZXingWidgetController. + + 8. MAKE SURE the file in which you are using the code deader is a .mm because you are now silently including some c++ code. If you don't do so then + the compiler will cry as if it does not find some files ! + + 9. It should work :) + Know issues for above steps to include: ======================================