[sword-devel] 1.5.3 on OSX
Nathan Youngman
sword-devel@crosswire.org
Sat, 30 Mar 2002 03:37:46 -0700
Too easy. Use .mm files instead of .m and you can mix Objective-C and
C++ freely. Though the compile is pretty slow - not sure if that's
overhead from using .mm or if its not using pre-compiled headers for
the Sword API files or something.
Started on a Cocoa "lookup" application, but so far I'm just
populating the modules and books drop-downs.
I'm using module->KeyText() from the modtest.cpp example, so its not
quite right (includes 1:1 in the drop down). I don't see any
interface to get book, max chapter and max verse data. Just this
public sbook struct thing, which I have yet to look into. Any samples
of how to do this? (I'm sure there is... somewhere).
Grabbed a few different modules and noticed that the book names are
always English even for German and French texts. Guess the
application has to take care of this itself?
Anyway, more reading and coding 'tomorrow'...
- n8
--
Nathan Youngman
E-mail: sword at nathany.com
Web: http://nathany.com