• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mirego / MCUIViewLayout / 90
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: swift_extension_add_fitSize_param
DEFAULT BRANCH: master
Ran 19 Jul 2016 01:05PM UTC
Jobs 1
Files 3
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
90

push

travis-ci

lucmirego
Update MCUIViewLayout's Swift extension: Add optional "fitSize" parameter to setPosition/setRelativePosition methods.

Instead of doing:
	let labelSize = myLabel.sizeThatFits(CGSize(width: 200, height: .max))
        myLabel.setPosition(.PositionTopLeft, size: labelSize)

We can do:
       myLabel.setPosition(.PositionTopLeft, fitSize: CGSize(width: 200, height: .max))

240 of 249 relevant lines covered (96.39%)

48.53 hits per line

Jobs
ID Job ID Ran Files Coverage
1 90.1 19 Jul 2016 01:05PM UTC 0
96.39
Travis Job 90.1
Source Files on build 90
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #90
  • ce214db5 on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc