Sha256: 10761a54e4fcea0e9ee45a7249ce91e4bf3acd109212f3664d71a1b9a9a263c4
Contents?: true
Size: 436 Bytes
Versions: 6
Compression:
Stored size: 436 Bytes
Contents
# # This is a bridge to the iOS native functionality # please do not use it in your code # class UnderOs::UI::Collection::Cell < UICollectionViewCell def self.classes @classes ||= {} end def uos_view_for(collection) @uos_view ||= self.class.classes[collection].for(collection).tap do |view| contentView.addSubview(view._) end end def prepareForReuse super @uos_view.cleanup if @uos_view end end
Version data entries
6 entries across 6 versions & 2 rubygems