 import UIKit
 import TVMLKitchen
 
+/// Custom Action struct
 struct Action {
-    private var f: (()->())?
+    private let f: (()->())
     func run() {
-        f?()
+        f()
     }
+    /// Parse string to a function.
+    /// Returns nil if the parameter does not match expectation.
+    /// - parameter string: comma separated string
     init?(string: String) {
         let ss = string.components(separatedBy: ",")
         guard ss.count == 2 else {

    }
}

func xmlString() -> String {
    guard let url = Bundle.main.url(forResource: "sample", withExtension: "xml"),
        let data = try? Data(contentsOf: url) else {
        fatalError()

        return true
    }
}
