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

mirego / MCUIViewLayout
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: swift_extension_add_fitSize_param
DEFAULT BRANCH: master
Repo Added 05 Nov 2013 10:40PM UTC
Files 3
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

LAST BUILD ON BRANCH swift_extension_add_fitSize_param
branch: swift_extension_add_fitSize_param
CHANGE BRANCH
x
Reset
  • swift_extension_add_fitSize_param
  • 0.3.4
  • 0.3.5
  • 0.4.0
  • 0.4.1
  • 0.5.0
  • 0.5.1
  • ci/exclude_example
  • cleanup
  • feature/add_swift_wrapper
  • feature/center_in_parent
  • feature/travis_ci_exclude
  • feature/upgrade_to_XCTest
  • fix/exclusions_from_coverall
  • fix/size-rounding
  • master
  • scale_alignment

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

Relevant lines Covered
Build:
Build:
249 RELEVANT LINES 240 COVERED LINES
48.53 HITS PER LINE
Source Files on swift_extension_add_fitSize_param
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
90 swift_extension_add_fitSize_param 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(.PositionT... push 19 Jul 2016 01:05PM UTC lucmirego travis-ci pending completion  
See All Builds (67)
  • Repo 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