Fixed attachment behavior doesn't work with item behaviors

Originator:an00na
Number:rdar://22529116 Date Originated:01-Sep-2015 06:18 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0 beta 5
Classification:Other Bug Reproducible:Always
 
Summary:
If both items connected with a fixed attachment behavior have item behaviors, the fixed attachment is broken.

Steps to Reproduce:
1. Launch sample app.
2. Drag blue box around to see the broken attachment.
3. Comment out either of item1Behavior and item2Behavior in ViewController.swift(line 35 and 51).
4. Repeat 1~2 to see the correct behavior.

Sample code:
http://cl.ly/3e1j2p112e2c

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!