Attachment and Snap behaviors need "stiffness" property
| Originator: | robnapier | ||
| Number: | rdar://15054485 | Date Originated: | 23-Sep-2013 10:58 AM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | |
| Classification: | Reproducible: |
If an item has multiple behaviors, it is difficult to control the relative strengths of the attachments and thus where the object will come to rest when influenced by other behaviors (attachment, gravity, snap, push). The -frequency property indirectly influences the strength of the attachment, which is not intuitive, and is difficult to control well. Attachment (and snap) behaviors should have a stiffness in newtons/point, and behave according to Hooke's law. It's unclear exactly what "frequency" represents, but in principle it should be computable from stiffness for backward compatibility. -frequency should then be deprecated; it is a difficult property to use correctly.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!