pathmenu.js by @tonylukasavage
Add the super-hyped Path menu interface to your Appcelerator Titanium apps. Check out path.com for the inspiration.
- DEMO VIDEO
- Supported on iOS and Android
- Tested against Titanium Mobile 1.8.0.1 CI and 1.8 RC
- Written almost entirely in Javascript, but leverages the underlying native platforms for great performance
A minor hack to the core Titanium Mobile SDK is required to get icon rotations working correctly with iOS. The reason I'm not submitting it as a pull request to titanium_mobile is because it is very function-specific and would create a parity issue between ios and android. If you can live with out the icon rotation on iOS, you don't have to bother. But if you want them, you need to patch the Titanium Mobile SDK's TiViewProxy.m
file. Here's how to do it:
TITANIUM_SDK: Your Titanium SDK directory. Just in case, here's the Titanium SDK locations on all supported operating systems. TITANIUM_SDK_VERSION: The Titanium SDK version you are targeting
- Open
TiViewProxy.m
, found atTITANIUM_SDK/mobilesdk/osx/TITANIUM_SDK_VERSION/iphone/Classes/TiViewProxy.m
- Add the content of TiViewProxy.m.patch anywhere before the final
@end
inTiViewProxy.m
. - Save
TiViewProxy.m
- Be sure to delete the contents of your project's
build/iphone
directory, but not the directory itself. This will force Titanium to do a full rebuild of your project, including recompiling the native code you just edited.