This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
import Moya | |
let endpointClosure = { | |
(target: FileService) -> Endpoint<FileService> in | |
let url = URL(string: target.path)?.absoluteString | |
return Endpoint(URL: url!,enter code here sampleResponseClosure: { .networkResponse(200, target.sampleData) }, method: target.method, parameters: target.parameters) | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// MLDeviceInfoReader.h | |
// | |
// Created by PandaApe on 09/11/2016. | |
// Copyright © 2016 PandaApe. All rights reserved. | |
// | |
#import <Foundation/Foundation.h> |