drasto

Slovakia/Czech republic

Age: 28

2d
awarded Popular Question
Jul
24
awarded Nice Question
Jul
23
accepted How do I find how much memory is taken by a struct?
Jul
23
comment How do I find how much memory is taken by a struct?
All right, I get it - I will just use sizeof on type that is element type of an array, multiply by count of elements in array and that sum results for all arrays.
Jul
23
comment How do I find how much memory is taken by a struct?
Thanks. Please see my edit.
Jul
23
revised How do I find how much memory is taken by a struct?
added 593 characters in body
Jul
22
comment How do I find how much memory is taken by a struct?
@Krumelur If you want you can add some more chars by telling me what units is return value of sizeof(MyStruct). Or sizeofValue(myStruct). Cannot find either and link to documentation would also help me.
Jul
22
comment How do I find how much memory is taken by a struct?
@Krumelur Looks good... why don't you make it an answer?
Jul
22
asked How do I find how much memory is taken by a struct?
Jul
20
comment Creating animated text effects using NSLayoutManager?
And it is surelly not the only way available I already have working animation that does not alocate any extra layers and is very fast (updates are < 0.4 ms).
Jul
20
comment Creating animated text effects using NSLayoutManager?
-1 In my question I have liked same tutorial and stated, this is not what I need (because of pure design and performance).
Jul
19
awarded Popular Question
Jul
17
revised NSLayoutManager: Calling setLocation(_:forStartOfGlyphRange:) disables kerning in the whole string?
added 130 characters in body
Jul
17
asked NSLayoutManager: Calling setLocation(_:forStartOfGlyphRange:) disables kerning in the whole string?
Jul
14
accepted How to add language to NSSpellChecker's available languages?
Jul
13
comment Is there a way to clear the cache used by UIImage class?
There is pretty good reason: My app's memory usage is not high enought to trigger memory warning but still high. After rotation more memory get's alocated and the app is killed due to "memory error" without memory warning. If I could free cache memory before rotation, app would nicelly survive the rotation.... No public API == no options.
Jul
13
comment Creating animated text effects using NSLayoutManager?
@DannyZlobinsky Not really. There was an answer here from high reputation user but aparently was deleted (?!). I am still waiting for some good answers.
Jul
12
comment How to clear font cache filled with emoji characters?
gemoji did not work very well for me so I created my own tool for making those .png files. But well they have 24 MB! Can you suggest how to reduce this extra size? I know literaly nothing about .png compression...
Jul
11
revised Creating animated text effects using NSLayoutManager?
edited tags
Jul
11
revised Creating animated text effects using NSLayoutManager?
deleted 6 characters in body
1 2 3 4 5