NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

Invalidation calls and context objects on UICollectionView custom layout

Forums > iOS


I'm trying to learn about the proper usage of invalidation and context objects to declare different attributes for a cell inside a custom layout in a UICollectionView. If you have any advice, or examples you might find, I'll appreciate it.

I found this example somewhat useful but any insights would also be very helpful:


Hacking with Swift is sponsored by Essential Developer

SPONSORED From January 26th to 31st you can join a FREE crash course for iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a senior developer!

Save your spot now

Sponsor Hacking with Swift and reach the world's largest Swift community!

Archived topic

This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.