Swift NSStringDrawingOptions enum cannot be combined with | on iOS

Originator:kamikaze.mark
Number:rdar://17342060 Date Originated:2014-06-17
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode6-beta
Classification:Serious Bug Reproducible:Always
 
let textOpts = NSStringDrawingOptions.UsesLineFragmentOrigin|NSStringDrawingOptions.UsesFontLeading

Works with import Cocoa, does not work with import UIKit

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!