A quite general question. What exact syntax should I use instead of CGRectMake
while coding in Swift 3?
Here is the code I would like to convert from swift 2 - 3:
{let size = text.boundingRectWithSize(CGSizeMake(view.frame.width - 26, 2000), options: NSStringDrawingOptions.UsesFontLeading.union(.UsesLineFragmentOrigin), context: nil).size}
Thanks for the help!