home-assistant / Iconic

:art: Auto-generated icon font library for iOS, watchOS and tvOS
Apache License 2.0
1.58k stars 86 forks source link

Interface Builder support (iOS & tvOS only) #66

Closed dzenbot closed 7 years ago

dzenbot commented 7 years ago

Based on the initial work from https://github.com/dzenbot/Iconic/pull/41 Closes https://github.com/dzenbot/Iconic/issues/67

Iconic includes a UIImageView subclass under the name of {FontName}IconView.swift, conforming to @IBInspectable. This class is only available for Interface Builder.

screenshot_interface_builder

codecov-io commented 7 years ago

Codecov Report

Merging #66 into master will increase coverage by 5.84%. The diff coverage is 82.72%.

@@            Coverage Diff             @@
##           master      #66      +/-   ##
==========================================
+ Coverage   61.84%   67.68%   +5.84%     
==========================================
  Files          14       14              
  Lines         697      727      +30     
  Branches        1        1              
==========================================
+ Hits          431      492      +61     
+ Misses        266      235      -31
Impacted Files Coverage Δ
Samples/iOS/Classes/FirstViewController.swift 0% <ø> (ø) :white_check_mark:
Samples/iOS/Classes/AppDelegate.swift 0% <ø> (ø) :white_check_mark:
Samples/Tests/ObjcCompatibilityTests.m 100% <ø> (ø) :white_check_mark:
Source/IconDrawable.swift 91.18% <ø> (ø) :white_check_mark:
...mples/Tests/Tools/NSAttributedString+IconMapping.m 100% <ø> (ø) :white_check_mark:
Samples/Tests/IconDrawableTests.swift 89.62% <ø> (ø) :white_check_mark:
Samples/iOS/Classes/ThirdViewController.m 0% <ø> (ø) :white_check_mark:
Samples/iOS/Classes/SecondViewController.swift 0% <ø> (ø) :white_check_mark:
Samples/Tests/IconImageViewSnapshotTests.swift 100% <100%> (ø)
Samples/Tests/ImageIconSnapshotTests.swift 100% <100%> (ø) :white_check_mark:
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 96f1b7b...8c5480c. Read the comment docs.