Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18301] iOS: linearVelocityForItem method for Titanium.UI.iOS.DynamicItemBehavior fails

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2017-05-24T14:44:15.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.2.0
Componentsn/a
Labelsios, qe-6.2.0
ReporterDaniel Ethier
AssigneeHans Knöchel
Created2014-12-31T00:30:31.000+0000
Updated2017-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

FileDateSize
app.js2014-12-31T00:30:32.000+00001360

Comments

  1. Hans Knöchel 2017-03-29

    Hey there, is this still happening? *EDIT*: It does. PR: https://github.com/appcelerator/titanium_mobile/pull/8920
  2. Harry Bryant 2017-05-24

    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.*

JSON Source