gali8/Tesseract-OCR-iOS — pull request #19 by ws233 (2014-01-10 16:39:59+00:00)
Title: 1. Added a new initializer initWithLanguage:(NSString*), which allows to...

1. Added a new initializer initWithLanguage:(NSString*), which allow to use the .traineddata files from the ‘traneddata’ folder of application bundle, without copying them to ‘Documents/traineddata’ folder.

To allow this function to initialize correctly, the ‘traineddata’ folder has to be added to the application project with the ‘Create folder references for any added folders’ options set up in the «Add files to project» dialog.
Actually, copying of traineddata is useless, and I would suggest to change an old initializer to deprecated state.
2. Added Tesseract engine monitor, which allows to specify a callback function and to retrieve recognition progress.
Also added a TesseractDelegate with only one function, which is called every time we have a callback from Tesserack engine.
It can be used to update user interface. Assume that the delegate is called on the same thread that Tesserack engine operates.
3. Changed some setters to properties.
4. Changed the type of return value of ‘setLanguage’, cause compiler warns, that setter cannot return value.
5. Added a property to specify recognition rectangle.
6. Added a property to return recognition progress value.