Updating to use RedPotion idioms

This commit is contained in:
derekgreenberg
2015-04-21 11:46:58 -07:00
parent ec917655c5
commit a1f6bf1165

View File

@@ -1,10 +1,10 @@
class <%= @name_camel_case %>Cell < UICollectionViewCell
attr_reader :reused
def rmq_build
rmq(self).apply_style :<%= @name %>_cell
def on_load
find(self).apply_style :<%= @name %>_cell
q = rmq(self.contentView)
q = find(self.contentView)
# Add your subviews, init stuff here
# @foo = q.append!(UILabel, :foo)
end