Hey
I've asked this question before but didn't really get an answer and I can't find it in the docs, so I'm trying again, and if no one knows maybe Laurent knows at least. :)
The thing is that I want to use a C lib, and as I understand it I can't just use it as it is, but rather have to wrap it in Obj-C classes which is fine I guess. BUT, seeing that we're talking a RubyMotion project, I would like to be able to just write my Obj-C code in Textmate and have it compile together with the ruby code, but I can't figure out if it is possible.
It seems to me that vendoring libraries requires either an Xcode project/workspace or just a static lib with an .h file, rather than actual implementation files. I might be misunderstanding something, but does this then mean that if I want to use a C library, I have to first write the wrapper in Xcode, then build it in RubyMotion as a vendored Xcode project or even build a static lib and vendor that?
I guess once the Xcode project is setup I could write the code in Textmate, but I would have to open Xcode every time I wanted to add a file etc.
It would be nice to be able to write the Obj-C straight into the project for the times where it is really needed and specific to the project in question. So I guess the real question is, what is the expected workflow when I need to use a C library that doesn't have Cocoa wrappers?
Thanks!