[swift-users] Trying to learn swift 3 renamification (as mattn calls it!)

Charles Lane clane_47 at bellsouth.net
Thu Apr 21 13:57:28 CDT 2016

While rebuilding some apps using the new development trunk build, I figured out the naming changes to just about everything but this:

let string = "Here is a string"
string.drawWithRect(CGRect(x: 10, y: 10, width: 200, height: 200), options: .usesLineFragmentOrigin, attributes: attrs, context: nil)

Can someone tell me what the ‘string.drawWithRect changed to?

Chuck Lane

More information about the swift-users mailing list