I am trying to write an AP class faster and am testing it. I was trying to follow this procedure: But I think that has to be run on some issue.
Customer / Restoration. Swift
Import Foundation Protocol RestSearchProtocol {func didRecieveResponse (Result: NSDictionary)} Public Sector RestInterface: NSObject {// Many codes about us Do not care ...}
ClientTests / RestInterfaceTests.swift
Import Import UIKit XCTest Import Client Class RestInterfaceTests: XctestCase, RestSearchProtocol {//. .. The rest of the test file
I am getting an undeclared type error
How to Any suggestions work for Nane?
As a side note - if I take the RestInterfaceTests class and keep it at the end of RestInterface.swift find the protocol
Publications Protocol RestSearchProtocol {Researches in Function (Results: NSDictionary)} Public Segment RestInterface: NSObject {// lots The code We do not care about ...}
has solved the problem
Comments
Post a Comment