Sha256: 6b23dc4f4adb0056ea75135ba094b3fb4493988834c94de399a9f3ac66dfecce

Contents?: true

Size: 1.51 KB

Versions: 68

Compression:

Stored size: 1.51 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
    setPagingEnabled(nil)
    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

68 entries across 62 versions & 2 rubygems

Version Path
motion-kit-0.12.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.11.2 lib/motion-kit-ios/dummy.rb
motion-kit-0.11.1 lib/motion-kit-ios/dummy.rb
motion-kit-0.11.0 lib/motion-kit-ios/dummy.rb
teacup-3.0.1 lib/teacup-ios/dummy.rb
teacup-3.0.0 lib/teacup-ios/dummy.rb
motion-kit-0.10.11 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.10 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.9 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.8 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.7 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.6 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.5 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.4 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.3 lib/motion-kit-ios/dummy.rb
teacup-2.3.0 lib/teacup-ios/dummy.rb
motion-kit-0.10.2 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.1 lib/motion-kit-ios/dummy.rb
motion-kit-0.10.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.9.6 lib/motion-kit-ios/dummy.rb