Under the section “Drawing Text Die Faces” an NSMutableParagraphStyle is created as follows:
Why isn’t it possible to create an NSMutableParagraphStyle like this?:
var paraStyle = NSMutableParagraphStyle.defaultParagraphStyle()
I know it is possible, but then it’s not possible to set the NSTextAlignment because defaultParagraphStyle returns an NSParagraphStyle and not NSMutableParagraphStyle. Why isn’t it some easier way to instantiate an NSMutableParagraphStyle object?? It just seems so counterintuitive.