 
 import Foundation
 
-var requestCount = 0
-
-class NFXProtocol : NSURLProtocol
+@objc
+public class NFXProtocol: NSURLProtocol
 {
     
     var connection: NSURLConnection?
     var model: NFXHTTPModel?
     
-    override class func canInitWithRequest(request: NSURLRequest) -> Bool
+    override public class func canInitWithRequest(request: NSURLRequest) -> Bool
     {
         if (!(request.URL!.absoluteString.hasPrefix("http")) && !(request.URL!.absoluteString.hasPrefix("https"))) {
             return false

        return true
    }
    
    override func startLoading()
    {
        self.model = NFXHTTPModel()
                

        }).resume()
    }
    
    override public func stopLoading()
    {
        
    }
    
    override public class func canonicalRequestForRequest(request: NSURLRequest) -> NSURLRequest
    {
        return request
    }
