I've got a stock standard class call GeoRssParserDelegate which needs to be tested.
In my swift unit test I've got this:
func testParser()
{
var bundle = NSBundle(forClass:GeoRssParserTest.classForKeyedArchiver())
var path = bundle.pathForResource("test", ofType: "xml")
let data = NSData.dataWithContentsOfFile(path, options: NSDataReadingOptions.DataReadingMapped, error: nil)
let xmlParser = NSXMLParser(data:data)
let delegate = GeoRssParserDelegate() <-- Compiler fails here
var bStatus = xmlParser.parse()
XCTAssertTrue(bStatus, "Parse failed", file: __FILE__, line: __LINE__)
}
The compiler fails on the line highlighted above. The compiler error is Use of unresolved idenitifier GeorRssParserDelegate
This class does exist and builds with the product itself. Is anything special required?