eroth / ERJustifiedFlowLayout

A subclass of UICollectionViewFlowLayout for iOS that supports different types of cell justification and inter-cell spacing.
https://www.cocoacontrols.com/controls/erjustifiedflowlayout
MIT License
69 stars 13 forks source link

Cannot set required parameters through IB, crashes when not set #6

Open LucasVanDongen opened 9 years ago

LucasVanDongen commented 9 years ago

I try to use as little code as possible when doing layouts so I use @IBDesignable a lot. I think it would be a lot better if you offer at least the basic settings through Interface Builder so it's no longer required to hook up it up to an @IBOutlet

eroth commented 9 years ago

Thanks for writing—good suggestion! I’m a little busy at the moment, so I may not be able to look at it for a little. Is that something you might want to implement?

On Aug 26, 2015, at 10:52 AM, Lucas van Dongen notifications@github.com wrote:

I try to use as little code as possible when doing layouts so I use @IBDesignable a lot. I think it would be a lot better if you offer at least the basic settings through Interface Builder so it's no longer required to hook up it up to an @IBOutlet

— Reply to this email directly or view it on GitHub https://github.com/eroth/ERJustifiedFlowLayout/issues/6.

LucasVanDongen commented 9 years ago

Perhaps, my project's a bit under time stress but again your library shaved off some time of it as well.