Sha256: e17fd3a8b9a4dfb8bfc812fd6774498c8efb4043a7eebf85e5d72bfdcd1a4030

Contents?: true

Size: 728 Bytes

Versions: 3

Compression:

Stored size: 728 Bytes

Contents

class CustomView < UIView
  extend IB

  ib_outlet :greenLabel,  UIGreenLabel
  ib_outlet :redLabel, "UILabel"

  ib_outlet :untyped_label

  outlet :yellowLabel

  ib_outlet_collection :greenLabelCollection,  UIGreenLabel
  ib_outlet_collection :redLabelCollection, "UILabel"

  ib_outlet_collection :untyped_label_collection

  outlet_collection :yellowLabelCollection

  ib_action :someAction
  ib_action :segueAction, UIStoryboardSegue

  def anotherAction button
  end

  def actionWithComment sender # test
  end

  def actionWithBrackets(sender)
  end

  def notAction with, toArgs
  end

  def actionWithoutArgs
  end

  def exitAction(story_board)
  end

  def actionWithDefaultedArgs(sender = nil) #comment
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ib-1.0.1 spec/fixtures/common/custom_view.rb
ib-1.0 spec/fixtures/common/custom_view.rb
ib-0.8.0 spec/fixtures/common/custom_view.rb