Class: UICollectionViewCell

Inherits:
Object show all
Defined in:
lib/project/ext/ui_collection_view_cell.rb

Instance Method Summary collapse

Instance Method Details

#prepareForReuseObject



14
15
16
17
# File 'lib/project/ext/ui_collection_view_cell.rb', line 14

def prepareForReuse
  super
  @reused = true
end

#reusedObject



10
11
12
# File 'lib/project/ext/ui_collection_view_cell.rb', line 10

def reused
  @reused
end

#rmq_buildObject

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