The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   Omni Frameworks (http://forums.omnigroup.com/forumdisplay.php?f=16)
-   -   Using OUIEditableFrame in Project. (http://forums.omnigroup.com/showthread.php?t=20030)

jgarnham 2011-02-06 10:23 PM

Using OUIEditableFrame in Project.
 
I am trying to use OUIEditableFrame in my own project but with some issues. I have added the Omni Projects into my Project, added the library's and the dependencies just like in the TextEditor example but I get 22 errors.

Here are what they look like: [URL="http://cl.ly/0M0o3c1f0h403h340V2F"]http://cl.ly/0M0o3c1f0h403h340V2F[/URL]

Why is this happening?

Tim Wood 2011-02-07 06:59 AM

These are symbols from the system frameworks that are referenced by the Omni frameworks. You can drag a copy from the TextEditor example, or manually add them as you would any other framework/library.

The items from the screenshot above from from MobileCoreServices and libz, but you'll also need the other frameworks that the TextEditor links.

jgarnham 2011-02-07 07:30 AM

Thanks, that was what it was. Should habe realised there were more frameworks in the example than in my project.

Thanks again!

jgarnham 2011-02-10 10:15 AM

I have also realised that in my own project the loupe view does not show up when selecting or moving through text. Why is this, am I missing some images?

Tim Wood 2011-02-11 07:08 AM

It sounds like you still need to add a build phase in your app to copy them into your app's bundle. Since we don't have frameworks on iOS, we've written some scripts to do this. On the app side, you'll want to have a 'Copy Library Resources' shell script build phase that gets run after your app's normal Copy Bundle Resources that invokes the script at OmniGroup/Scripts/CopyLibraryResources.

jgarnham 2011-02-11 10:57 PM

As always, your right again. Didn't notice it there in with the other phases. Thanks!


All times are GMT -8. The time now is 01:49 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.