swhitty / SwiftDraw
Showing 1 of 4 files from the diff.

@@ -46,9 +46,14 @@
Loading
46 46
  }
47 47
48 48
  @objc
49 -
  static func svgNamed(_ name: String, in bundle: Bundle = Bundle.main) -> NSImage? {
49 +
  static func svgNamed(_ name: String, in bundle: Bundle) -> NSImage? {
50 50
    NSImage(svgNamed: name, in: bundle)
51 51
  }
52 +
53 +
  @objc
54 +
  static func svgNamed(_ name: String) -> NSImage? {
55 +
      NSImage(svgNamed: name, in: .main)
56 +
  }
52 57
}
53 58
54 59
public extension Image {
Files Coverage
SwiftDraw 76.08%
Project Totals (59 files) 76.08%
1
ignore:
2
  - "SwiftDrawTests"
3
  - "CommandLine"
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading