Created
June 11, 2014 00:56
-
-
Save abhibeckert/dea1bda0a80bce67cdc6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let stringToDraw = self.storage.createAttributedStringWithByteRange(self.line.range) | |
let typesetter: CTTypesetterRef = CTTypesetterCreateWithAttributedString(stringToDraw) | |
Result: | |
error: cannot convert the expression's type 'CTTypesetter!' to type 'CFAttributedString!' | |
let typesetter: CTTypesetterRef = CTTypesetterCreateWithAttributedString(stringToDraw) | |
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment