vdaubry
vdaubry

Reputation: 11439

How to use omnigroup framework in an iOS project?

I need to be able to write and read from a rtf file in iOS.

The omnigroup framework has the 2 classes i am looking for :

OmniUI/iPad/RTF/OUIRTFReader
OmniUI/iPad/RTF/OUIRTFWriter

I managed to build the frameworks but i cant figure out how to integrate theses classes in my own project.

I had the following frameworks to my project :

OmniAppKit.framework
OmniFoundation.framework
OmniBase.framework

I still get some undefined identifier such as :

RCS_ID("$Id$");
OBINITIALIZE
OMNI_POOL_START

Has anybody been able to use the omnigroup framework in your own project ?

Thanks,

Vincent

Upvotes: 0

Views: 1271

Answers (2)

tjw
tjw

Reputation: 972

We do need some better documentation for this, but the TextEditor example app in OmniUI/iPad/Examples/TextEditor may be a good starting point for seeing how we include the frameworks in our apps.

In this particular case, you may prefer to pull out the OUIRTFReader class and any dependencies it needs from OmniAppKit and OmniFoundation into your project. updating the #imports to be "..." instead of <OmniThis/AndOmniThat.h>.

Upvotes: 1

Brad Larson
Brad Larson

Reputation: 170319

Perhaps you could try following the instructions given as part of this thread on the Omni Group forums. They appear to have been able to build the framework under the iOS 4.2 SDK.

I don't think you want the OmniAppKit framework, as that is just for the Mac.

Upvotes: 0

Related Questions