Skip to content

Commit 09f5923

Browse files
Update README.md
1 parent 9c3a4df commit 09f5923

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed

README.md

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ Add the super-hyped Path menu interface to your Appcelerator Titanium apps. Chec
44

55
## Highlights
66

7-
* [DEMO VIDEO](http://www.youtube.com/watch?v=7UviCrgNFr0)
7+
* Forging Titanium Episode video - coming soon...
88
* Supported on iOS and Android
9-
* Tested against Titanium Mobile 1.8.x
9+
* Tested against Titanium Mobile 1.8.1
1010
* Written almost entirely in Javascript, but leverages the underlying native platforms for _great_ performance
1111

1212
## Usage
@@ -67,20 +67,6 @@ A sample `iconList` might look something like this
6767
});
6868
```
6969

70-
## IMPORTANT
70+
## iOS Needs a little help with rotations
7171

72-
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](https://github.com/appcelerator/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:
73-
74-
### Patching TiViewProxy.m
75-
76-
> **TITANIUM_SDK**: Your Titanium SDK directory. Just in case, here's the [Titanium SDK locations on all supported operating systems](https://wiki.appcelerator.org/display/guides/Installing+Titanium+SDK+Continuous+Builds#InstallingTitaniumSDKContinuousBuilds-ManualInstall).
77-
> **TITANIUM_SDK_VERSION**: The Titanium SDK version you are targeting
78-
79-
1. Open `TiViewProxy.m`, found at `TITANIUM_SDK/mobilesdk/osx/TITANIUM_SDK_VERSION/iphone/Classes/TiViewProxy.m`
80-
2. Add the content of [TiViewProxy.m.patch](https://github.com/tonylukasavage/pathmenu.js/blob/master/patch/TiViewProxy.m.patch) anywhere before the final `@end` in `TiViewProxy.m`.
81-
3. Save `TiViewProxy.m`
82-
4. 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.
83-
84-
## Bugs and Feature Requests
85-
86-
[https://github.com/tonylukasavage/pathmenu.js/issues](https://github.com/tonylukasavage/pathmenu.js/issues)
72+
The included **path.animator module** ([github project found here](https://github.com/tonylukasavage/path.animator)) allows iOS views to have a rotation value greater than 180 degrees. This is a limitation of native iOS transform matrices, not Titanium. A more robust, and platform-specific, animation method is required for these rotations. **path.animator** is an iOS module that resolves that problem. Please check out the [path.animator module project page](https://github.com/tonylukasavage/path.animator) for all the details.

0 commit comments

Comments
 (0)