# Help mixing JUCE components and iOS views

**URL:** <https://forum.juce.com/t/help-mixing-juce-components-and-ios-views/15369>\
**Category:** MacOSX and iOS\
**Created:** [August 20, 2015, 9:07am UTC](https://forum.juce.com/t/help-mixing-juce-components-and-ios-views/15369 "2015-08-20T09:07:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adamwilson](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamwilson/32/1387_2.png) [@adamwilson](https://forum.juce.com/u/adamwilson)\
**Post date:** [August 20, 2015, 9:07am UTC](https://forum.juce.com/t/help-mixing-juce-components-and-ios-views/15369/1 "2015-08-20T09:07:33Z")

</div>

I've decided to try my hand at using native navigation and lists etc with custom JUCE components within certain views. &nbsp;Main reason being&nbsp;I've been struggling to get smooth feel and performance using pure JUCE on both Android and iOS.&nbsp;I've looked into how to do this for Android and now I'm learning some Objective-C and hoping to do the same on iOS.&nbsp;

My question is around how best to set up the project &nbsp;- I've found some relevant posts (linked below) but not sure the best route of action. I already have a project and would like, if possible, to still have one project for multiple platform targets.&nbsp;

&nbsp;

Any tips or advice on this subject?&nbsp;

&nbsp;

http://www.juce.com/forum/topic/uiviewcomponent-scratch

http://www.juce.com/forum/topic/drawing-component-insiede-uiview

http://www.juce.com/forum/topic/mixing-guis

&nbsp;

---

<div class="post-metadata">

**Author:** ![adamwilson](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/adamwilson/32/1387_2.png) [@adamwilson](https://forum.juce.com/u/adamwilson)\
**Post date:** [August 20, 2015, 2:00pm UTC](https://forum.juce.com/t/help-mixing-juce-components-and-ios-views/15369/2 "2015-08-20T14:00:37Z")

</div>

I have a more specific question: what does a MainWindow class look lke that launches a UIView (with xib file) instead of the usual&nbsp;MainComponent? I guess this requires a Main.mm file?&nbsp;

Any pointers/examples much appreciated.&nbsp;
