drasto

Slovakia/Czech republic

Age: 28

Aug
14
awarded Popular Question
Aug
13
awarded Nice Question
Aug
12
reviewed Approve suggested edit on How to improve performance of UCollectionView containing lots of small images?
Aug
8
comment How to improve performance of UCollectionView containing lots of small images?
This is a good idea but I unfortunatelly cannot do that - there is number of reasons why I have to display it as many small images. First, images can appear in different order each time, some may be missing etc. Second, for different screen sizes there are different images on particular screen. For example, on iPhone 6 Plus more images fits in the screen then on iPhone 5S. I would have to have separate precomposed images for each screen size and orientation and that would make app download size huge. There are more reasons why I cannot do what you suggested...
Aug
8
revised How to improve performance of UCollectionView containing lots of small images?
added 2 characters in body
Aug
8
comment How to improve performance of UCollectionView containing lots of small images?
Thank you for interesting answer. However, I have some additional questions: Is there any advantage of LIFOOperationQueue over asynchronous loading by code from my EDIT 1? Will it solve the visual issue when scrolling programatically described in EDIT 1? Why should I load images in willDisplayCell instead of cellForRowAtIndexPath ?
Aug
8
revised How to improve performance of UCollectionView containing lots of small images?
added 550 characters in body
Aug
7
revised How to improve performance of UCollectionView containing lots of small images?
edited title
Aug
3
comment How to improve performance of UCollectionView containing lots of small images?
I am reading it right now. But it does not seems to be exactly what I need: It uses AsyncDisplayKit to load images in background and displays some placeholder while they are being loaded. But placeholders would look really bad in my case - imagine you have 1200 35x35 images in collection view, you are at the bottom of it and press a button to scroll to top. Some 1100 placeholders will be scrolled. That does not give you much feel for what you scrolled over...
Aug
3
reviewed Approve suggested edit on How to improve performance of UCollectionView containing lots of small images?
Aug
3
comment How to improve performance of UCollectionView containing lots of small images?
Please see my edit.
Aug
3
comment How to improve performance of UCollectionView containing lots of small images?
Please see my edit.
Aug
3
revised How to improve performance of UCollectionView containing lots of small images?
added 1176 characters in body
Aug
3
revised How to improve performance of UCollectionView containing lots of small images?
added 13 characters in body
Aug
3
revised How to improve performance of UCollectionView containing lots of small images?
deleted 92 characters in body
Aug
3
asked How to improve performance of UCollectionView containing lots of small images?
Jul
31
awarded Notable 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.
1 2 3 4 5