Module: MotionSwipe
- Defined in:
- lib/motion-swipe/motion-swipe.rb
Class Method Summary collapse
Class Method Details
.build(args) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/motion-swipe/motion-swipe.rb', line 5 def build(args) # @exampleCardLabels = args[:example_card_labels] || ["1", "second", "3rd", "last"] # @allCards = args[:all_cards] || ["1", "second", "3rd", "last"] # @title = args[:title] || nil @frame = args[:frame] || @delegate.view.frame draggable = DraggableViewBackground.alloc.initWithFrame(@frame) draggable end |