[TIMOB-18301] iOS: linearVelocityForItem method for Titanium.UI.iOS.DynamicItemBehavior fails
| GitHub Issue | n/a |
| Type | Bug |
| Priority | Critical |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-05-24T14:44:15.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 6.2.0 |
| Components | n/a |
| Labels | ios, qe-6.2.0 |
| Reporter | Daniel Ethier |
| Assignee | Hans Knöchel |
| Created | 2014-12-31T00:30:31.000+0000 |
| Updated | 2017-05-24T15:41:07.000+0000 |
Description
In attached code, call to linearVelocityForItem fails with error:
"-[TiPoint copyWithZone:]: unrecognized selector sent to instance 0x7a7197a0"
See attached file app.js, which is about as simple as I can make it to demonstrate the issue.
Attachments
| File | Date | Size |
| app.js | 2014-12-31T00:30:32.000+0000 | 1360 |
Hey there, is this still happening? *EDIT*: It does. PR: https://github.com/appcelerator/titanium_mobile/pull/8920
Verified as fixed, calling the linearVelocityForItem method for Titanium.UI.iOS.DynamicItemBehavior no longer causes a crash, and behaves as expected. Tested On: iPhone 7 10.3.2 Device & Simulator Mac OS Sierra (10.12.2) Ti SDK: 6.2.0.v20170524075826 Appc NPM: 4.2.9-1 App CLI: 6.1.0 Xcode 8.2.1 Node v4.6.0 *Closing Ticket.*