Sha256: 91ed266bf8f18567a13363defc39f4d335c68efaf90e5390670045700c647ddc

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 KB

Contents

class DummyView < UIView
private
  def dummy
    setFrame(nil)
    setOpaque(nil)
    setClipsToBounds(nil)
    setUserInteractionEnabled(nil)
    UIView.appearanceWhenContainedIn(UIView, nil)
    UIView.appearance
  end
end

class DummyTableView < UITableView
private
 def dummy
   setAllowSelection(value)
 end
end

class DummyButton < UIButton
private
  def dummy
    setTitleEdgeInsets(nil)
  end
end

class DummyScrollView < UIScrollView
private
  def dummy
    setScrollEnabled(nil)
    setShowsHorizontalScrollIndicator(nil)
    setShowsVerticalScrollIndicator(nil)
  end
end

class DummyActivityIndicatorView < UIActivityIndicatorView
private
  def dummy
    setHidesWhenStopped(nil)
  end
end

class DummyLabel < UILabel
private
  def dummy
    setAdjustsFontSizeToFitWidth(nil)
  end
end

class DummyTextField < UITextField
private
  def dummy
    setSecureTextEntry(nil)
    setReturnKeyType(nil)
    setAutocapitalizationType(nil)
    setAutocorrectionType(nil)
    setSpellCheckingType(nil)
  end
end

class DummyPickerView < UIPickerView
private
  def dummy
    setShowsSelectionIndicator(nil)
  end
end

class DummyLayer < CALayer
private
  def dummy
    setCornerRadius(nil)
    setTransform(nil)
    setMasksToBounds(nil)
    setShadowOffset(nil)
    setShadowOpacity(nil)
    setShadowRadius(nil)
    setShadowOffset(nil)
    setShadowColor(nil)
    setShadowPath(nil)
    setOpaque(nil)
    setTranslucent(nil)
  end
end

class DummySwitch < UISwitch
private
  def dummy
    on?
    setOn(true)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
teacup-2.0.2 lib/teacup-ios/dummy.rb
teacup-2.0.0 lib/teacup-ios/dummy.rb