Nend module for Titanium Mobile (iPhone). This module uses Nend Android SDK.
var tinend4iphone = require('tv.harukaze.ti.nend.iphone');
var adview = tinend4iphone.createView({
apiKey:'',
spotID:''
});
window.add(adview);
- Download this module Project
- Make 'NendAd' directory in the module directory
- Download
Nend iOS SDK
from Nend's Web Console - Copy
Nend iOS SDK
.h and .a files intoNendAd
directory - Open 'tinend4iphone.xcodeproj' by XCode and build it
- Module zip file is made, and move it to your project
Register your module with your application by editing tiapp.xml
and adding your module.
Example:
<modules>
<module version="0.1" platform="iphone">tv.harukaze.ti.nend.iphone</module>
</modules>
When you run your project, the compiler will know automatically compile in your module dependencies and copy appropriate image assets into the application.
MIT License
Copyright 2012 Tomoya Narita http://harukaze.tv/ http://d.hatena.ne.jp/harukazepc/ Twitter: @harukazepc