You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Written almost entirely in Javascript, but leverages the underlying native platforms for _great_ performance
11
11
12
12
## Usage
@@ -67,20 +67,6 @@ A sample `iconList` might look something like this
67
67
});
68
68
```
69
69
70
-
## IMPORTANT
70
+
## iOS Needs a little help with rotations
71
71
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.
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