So I have an iOS app that i am writing with Swift. What i have done is created a bridge between the HTML5 web components and Swift so seamless communication takes place in between those. So are there any guides which i can follow that can guide me in incorporating ionic in my app without too much hassle. To be more specific, I have a web-view which loads files from the main bundle. So far, the way it is working is i have the main html file say index.html and all js files within the same folder for my webview to be able to load the html files and js resources. E.g. in my index.html file only something like this would work
I tried to do that with a sample Ionic app and realised that it has far too many dependencies and it would be a lot more work to include them all in the same folder. I would be happy to have any guides? or even a sample project for xcode 6 beta using Swift, which has a webview that shows a sample ionic app. So i can get to know how to configure the webview with HTML resources, swiping gestures etc.
fyi, My Swift code loads the index.html file as follows
var path = NSBundle.mainBundle().pathForResource(“index”, ofType: “html”);
I know there is a inDirectory parameter in pathForResource called inDirectory, but i cannot get it do work.