I think we'd be happy to have it incorporated into the project, particularly if it follows the Java closely (which makes maintenance easier … not that the encoder requires much maintenance.)
You say you ported it to Objective C? Not Objective C++? Personally, I'd prefer to have the core encoder in C++ with the appropriate additions to incorporate it into AppKit/UIKit as a separate module, much as the current code is split between the cpp and iphone/objc directories. (Not that I want to throw up unnecessary objections …)
> How would you like me to share what we've done so far?
It's a bit up to you. You can create an issue in the issue tracker and a attach a patch.
If you're using git, you could push it to github.
> We've put it up on GitHub:
>
> https://github.com/TheLevelUp/ZXingObjC
Wow. Looks like this is _way_ more than a QR encoder. It looks like it's what the README says it is: "a full Objective-C port of ZXing".
Did you hand-port every file? Have you run the blackbox tests and compared against the Java or C++?
An obvious possibility here would be to incorporate the whole port as another supported language. Are you interested in sticking around and keeping it up to date?
If we decided to do that, we'd want to discuss how to integrate it. Right now, the Java and C++ ports separate out the UI stuff from the core algorithmic code. There's also an existing Objective C library. It both wraps the core C++ in Objective C classes and provides classes to integrate with AppKit and UIKit. In theory, it'd be nice if the UIKit and AppKit interfaces were the same (if you have them) though I'm not sure if it's worth the effort ...
Gonna reiterate the question about running the blackbox tests: have you? Those are the gold standard of verification against the other ports.
An obvious possibility here would be to incorporate the whole port as another supported language. Are you interested in sticking around and keeping it up to date?
If we decided to do that, we'd want to discuss how to integrate it. Right now, the Java and C++ ports separate out the UI stuff from the core algorithmic code. There's also an existing Objective C library. It both wraps the core C++ in Objective C classes and provides classes to integrate with AppKit and UIKit. In theory, it'd be nice if the UIKit and AppKit interfaces were the same (if you have them) though I'm not sure if it's worth the effort ...
Ah.
> The port stays as close to Java as possible. I used java2objc (http://
> code.google.com/p/java2objc/) as a starting point
Ah. No name spacing, among other things. Not sure if there are any duplicate class names in the Java. Certainly unprefixed names could cause problems with user code.
Are you using the exiting code for decoding? Or maybe you're not decoding right now?
> Sorry, what's the exiting code? I've ported the decoding code but
> haven't tested it.
The C++ code, either using the widget or the Objective C wrappers.