Class: UICollectionViewCell
- Defined in:
- lib/project/ext/ui_collection_view_cell.rb
Instance Method Summary collapse
- #prepareForReuse ⇒ Object
- #reused ⇒ Object
-
#rmq_build ⇒ Object
You can use either rmq_build or on_load, not both.
Instance Method Details
#prepareForReuse ⇒ Object
14 15 16 17 |
# File 'lib/project/ext/ui_collection_view_cell.rb', line 14 def prepareForReuse super @reused = true end |
#reused ⇒ Object
10 11 12 |
# File 'lib/project/ext/ui_collection_view_cell.rb', line 10 def reused @reused end |
#rmq_build ⇒ Object
You can use either rmq_build or on_load, not both. If you have both, on_load will be ignored, you can however call it from rmq_build. They are the same, on_load follows the ProMotion style and is recommended.
6 7 8 |
# File 'lib/project/ext/ui_collection_view_cell.rb', line 6 def rmq_build self.on_load end |