Re: Can't get dynamically sized Collection View cells

2015-10-02 Thread Roland King
> On 2 Oct 2015, at 20:30, Peter Tomaselli wrote: > > [re-sending because my last message had size problems] > > Nifty way of demoing there, Roland, I’ll have to try that! > > I’d still be curious to know if anyone is using this feature “in production”. > Because those crashes, problems rotat

Re: Can't get dynamically sized Collection View cells

2015-10-02 Thread Peter Tomaselli
[re-sending because my last message had size problems] Nifty way of demoing there, Roland, I’ll have to try that! I’d still be curious to know if anyone is using this feature “in production”. Because those crashes, problems rotating (at least for me), and also this, which I definitely ran into

Re: Can't get dynamically sized Collection View cells

2015-09-30 Thread Roland King
> On 1 Oct 2015, at 07:57, Doug Hill wrote: > > There are few pieces of evidence that lead me to believe you that this hasn’t > been done: > > • A search of ADC site doesn’t show any sample code with this technique. > • A Google search turns up almost nothing, except the link I provided below.

Re: Can't get dynamically sized Collection View cells

2015-09-30 Thread Doug Hill
There are few pieces of evidence that lead me to believe you that this hasn’t been done: • A search of ADC site doesn’t show any sample code with this technique. • A Google search turns up almost nothing, except the link I provided below. • A search of all github and bitbucket public turns up no

Re: Can't get dynamically sized Collection View cells

2015-09-30 Thread Peter Tomaselli
Certainly! Just to be clear (ended up revisiting some of my research on this today), I don't think it is possible to do this with just estimatedItemSize alone. So, the analogy with UITableView w/r/t "self sizing", as presented or at least strongly implied in that WWDC talk, breaks down here—yo

Re: Can't get dynamically sized Collection View cells

2015-09-30 Thread Doug Hill
Peter, Thanks for the reply and the code sample. It definitely has a lot of cool stuff. However, I’m still interested in whether anyone else has info in on dynamically-sized Collection View cells using the ‘estimatedItemSize’ property of the flow layout. Is this a lie from a WWDC presenter? Are

Re: Can't get dynamically sized Collection View cells

2015-09-29 Thread Peter Tomaselli
Hi Doug! Funny you mention this, I was trying and failing to do the same thing just tonight. Thing is, I’ve done it before and have a toy implementation on GitHub[0] to prove it! Not that that was helping me just now, of course, but perhaps a link to that repo can help you out? There are addi