drasto

Slovakia/Czech republic

Age: 28

5h
comment Get bounding rectangle for CGGlyphs of Characters other then letters or numbers
@DavidRönnqvist You are right that is the bug. Make it an answer and I will accept it.
7h
comment Core Text calculate letter frame in iOS
I am using HelveticaNeue - all used characters should be supported. Definitelly in Swift CTFontGetBoundingRectsForGlyphs returns constant (thus incorrect) rectangle for everything but numbers and letters. Can you have a look on this question? There is the exact code I am using
8h
comment Get bounding rectangle for CGGlyphs of Characters other then letters or numbers
Code samples are very much prefered in Swift. Thank you
8h
asked Get bounding rectangle for CGGlyphs of Characters other then letters or numbers
9h
comment Core Text calculate letter frame in iOS
How can I do the same for other glyphs then letters or numbers? This technique does not work for example for @.#),-+ etc. as CTFontGetBoundingRectsForGlyphs returns exactly following rectangle {x: 0.6, y: 0, w: 4.8, h: 6.144} for anything else then numbers and letters - no matter what the real dimension is.
15h
comment Cannot add embedded binaries (other projects) to project dependencies in XCode
True, they are not separate targets, they are separate projects. But that is exactly how I want it to be (besides it worked before). The frameworks are really developed separately and shared between projects. You can think of them as external libraries which might even be compiled (without sources available to me). I only have them in the same workspace for convinience as I find a bug in the frameworks from time to time so I do not have to swich workspace. If you watch "Session 233: Sharing code between iOS and OS X" they use same setup as I am trying to get.
1d
comment How do you use String.substringWithRange? (or, how do Ranges work in Swift?)
@chakrit Only if indexes you need to use aren't already integers (instead of being String.Indexes) which is often the case. Than you can just wish all those string handling methods were working with Ints. And you are forced to conver it to String.Indexes which leads to the mess you mentioned.
Nov
17
revised Cannot add embedded binaries (other projects) to project dependencies in XCode
edited title
Nov
17
asked Cannot add embedded binaries (other projects) to project dependencies in XCode
Nov
17
awarded Famous Question
Nov
11
awarded Custodian
Nov
4
revised Is it possible to overload += operator in Swift?
added 214 characters in body
Nov
4
comment Is it possible to overload += operator in Swift?
Cool coincidence :) Thank you for your answer anyway
Nov
4
comment Is it possible to overload += operator in Swift?
Please see my own answer
Nov
4
answered Is it possible to overload += operator in Swift?
Nov
4
asked Is it possible to overload += operator in Swift?
Nov
4
revised Font with weight between HelveticaNeue and HelveticaNeue-Light or way to change weight of HelveticaNeue
edited tags; edited title
Nov
4
asked Font with weight between HelveticaNeue and HelveticaNeue-Light or way to change weight of HelveticaNeue
Nov
3
reviewed Approve suggested edit on Google+ with android integration issue "INVALID_KEY dev.061086@gmail.com oauth2:https://www.googleapis.com/auth/plus.login"
Nov
1
comment Touches on transparent UIControl are ignored - not handled by added action functions
Thank you for an answer. I did try that as well. UIResponder touch methods (touchesBegan:withEvent: etc.) are not called either (!) on transparent UIControls. While falling down to UIResponder this is a good idea and the one I would expect to work it unfortunatelly does not.
1 2 3 4 5