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

@@ -31,12 +31,20 @@
Loading
31 31
32 32
import Foundation
33 33
34 +
#if os(Linux)
35 +
  import FoundationXML
36 +
#endif
37 +
34 38
extension XML {
35 39
    
36 40
    final class SAXParser: NSObject, XMLParserDelegate {
37 -
        
41 +
42 +
    #if os(Linux)
43 +
        typealias XMLParser = FoundationXML.XMLParser
44 +
    #else
38 45
        typealias XMLParser = Foundation.XMLParser
39 -
        
46 +
    #endif
47 +
40 48
        private let parser: XMLParser
41 49
        private let namespaceURI = "http://www.w3.org/2000/svg"
42 50
        
Files Coverage
SwiftDraw 82.02%
Project Totals (53 files) 82.02%
155.2
default=
TRAVIS_OS_NAME=osx
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