Add openframeworks to existing XCode project and use it in a UIView

I would like to experiment with openframeworks on iOS.

How can I add it to an exiting project? What are the stages for the build and linking to work?

Is it then possible to attach to a single UIView for rendering rather than the main window?