Ti.EaIntroView is an iOS Hyperloop wrapper of the EAIntroView library. Ti.EaIntroView provides a highly customizable solution for introduction views.
With Titanium and Hyperloop you can embed this module into your project and with a few lines of code you will have your introduction windows working beautifully.
These instructions are being shipped with the module, so you can check later on your README file.
LoopModules – Ti.EaIntroView
This HyperLoop module allows you to use the native lib EAIntroView.
1 – Requirements
This project uses HyperLoop. We recommend you to read the basics of HyperLoop in the links below before proceeding any further in this README.
need to learn Objective-C / Swift if you want to customise the module / create your own. For that reason we highly recommend you to
learn the basics of Objective-C / Swift.
In the long run that will make your job easier, since Objective-C is far from being an easy language to understand at the first sight.
2 – Check your environment setup
This module was tested and developed with the following environment:
- CocoaPods 0.39.0
- Titanium SDK 5.4.0.GA
- HyperLoop 1.2.5
- XCode 7.3.1
3 – Creating a HyperLoop-enabled project:
- Create a new Alloy project like you would normally do.
- Copy the “Podfile” provided by us to your project’s root folder. DON’T EXECUTE “pod install” (like you would normally do) after this.
When building your project HyperLoop will automatically resolve the dependencies of the libs/frameworks you referenced in your Podfile.
- Take a look at the example tiapp.xml file that you’ve received from us. Your tiapp.xml should have the same properties defined in this example
otherwise you’ll face some issues while building your project later on.
4 – Usage
After creating a Hyperloop-enabled project you can start playing with the files you’ve received. Make sure you copy the “lib” folder to your project.
You’ll find inside this zip a very simple example of controller (index.js) that you can copy to your project and start playing with it.
In the code of this controller we’ve covered the main features of EAIntroView, but you can always refer to the original source code and check
the methods/properties that we didn’t use in this example.
After following all the steps above you should have the project up and running without any problems.
One of the things we want to offer you as a reward for joining LoopModules is the ability to contact us to discuss and get help with problems that you may come across.
We’ve tested this module a lot of times and we want to deliver something that will work for everyone (as long as the environments are the same, e.g. SDK, HL version, and so on).
If you come across one of the following:
- Issues while compiling this module
Feel free to contact us at email@example.com.
Demo running with Hyperloop