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-1.1.1 lib/motion-kit-ios/dummy.rb
motion-kit-1.1.1 lib/motion-kit-tvos/dummy.rb
motion-kit-1.1.0 lib/motion-kit-tvos/dummy.rb
motion-kit-1.1.0 lib/motion-kit-ios/dummy.rb
motion-kit-1.0.3 lib/motion-kit-tvos/dummy.rb
motion-kit-1.0.3 lib/motion-kit-ios/dummy.rb
motion-kit-1.0.2 lib/motion-kit-tvos/dummy.rb
motion-kit-1.0.2 lib/motion-kit-ios/dummy.rb
motion-kit-1.0.1 lib/motion-kit-tvos/dummy.rb
motion-kit-1.0.1 lib/motion-kit-ios/dummy.rb
motion-kit-1.0.0 lib/motion-kit-tvos/dummy.rb
motion-kit-1.0.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.18.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.17.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.16.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.15.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.14.2 lib/motion-kit-ios/dummy.rb
motion-kit-0.14.1 lib/motion-kit-ios/dummy.rb
motion-kit-0.14.0 lib/motion-kit-ios/dummy.rb
motion-kit-0.13.0 lib/motion-kit-ios/dummy.rb