I recently read this post regarding passing multiple arguments to an NSStringDrawingOptions
property of boundingRectWithSize()
, however the marked solution there did not work for me.
Does anybody know of any given solution, or are we still waiting on Apple to iron this bug out of Swift?
The snippet:
options: NSStringDrawingOptions.UsesFontLeading | NSStringDrawingOptions.UsesLineFragmentOrigin
In terms of the thrown error: NSStringDrawingOptions is not convertible to bool
I have tried passing each of the solutions proposed in the cited post, but nothing works for me, any direction on this would be greatly appreciated.