Sha256: 702590a979e2c2646f85c16bc52c686038869f02de17a2eec505e2116735aacc

Contents?: true

Size: 332 Bytes

Versions: 1

Compression:

Stored size: 332 Bytes

Contents

class Cell < UICollectionViewCell
  def initWithFrame(frame)
    if super
      contentView.layer.tap do |obj|
        obj.cornerRadius = 35.0
        obj.borderWidth = 1.0
        obj.borderColor = UIColor.whiteColor.CGColor
      end
      contentView.backgroundColor = UIColor.underPageBackgroundColor
    end
    self
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubymotionr-0.0.1 spec/multiple-rubymotion-apps/CircleLayout/app/cell.rb