objectIdentifier is nil for the MirrorType of the UIView

Originator:konstantin.koval1
Number:rdar://21781304 Date Originated:11-Jul-2015 02:35 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode 6.4 (6E35b)
Classification:Other Bug Reproducible:Always
 
Summary:

The MirrorType objectIdentifier should return an ObjectIdentifier for classes and nil for structs. 
It returns nil for UIView. UIView is a class and it should have ObjectIdentifier. 

Steps to Reproduce:

let v = UIView()
let r = reflect(v)
r.objectIdentifier // nil

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!