diff --git a/iphone/Maps/3party/Alamofire.framework/Alamofire b/iphone/Maps/3party/Alamofire.framework/Alamofire new file mode 100755 index 0000000000..626758c96d Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Alamofire differ diff --git a/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire-Swift.h b/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire-Swift.h new file mode 100644 index 0000000000..677c8bd49f --- /dev/null +++ b/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire-Swift.h @@ -0,0 +1,682 @@ +// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) +#pragma clang diagnostic push + +#if defined(__has_include) && __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if defined(__has_include) && __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if defined(__has_attribute) && __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if defined(__has_attribute) && __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if defined(__has_attribute) && __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if defined(__has_attribute) && __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type +# if defined(__has_feature) && __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if defined(__has_feature) && __has_feature(modules) +@import Foundation; +@import ObjectiveC; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" +@class NSOperationQueue; +@class NSURLSessionTask; +@class NSURLCredential; +@class NSURLSession; +@class NSHTTPURLResponse; +@class NSInputStream; +@class NSURLAuthenticationChallenge; + +/** + The task delegate is responsible for handling all delegate callbacks for the underlying task as well as + executing all operations attached to the serial operation queue upon task completion. +*/ +SWIFT_CLASS("_TtC9Alamofire12TaskDelegate") +@interface TaskDelegate : NSObject +/** + The serial operation queue used to execute all operations after the task completes. +*/ +@property (nonatomic, readonly, strong) NSOperationQueue * _Nonnull queue; +/** + The data returned by the server. +*/ +@property (nonatomic, readonly, copy) NSData * _Nullable data; +/** + The error generated throughout the lifecyle of the task. +*/ +@property (nonatomic) NSError * _Nullable error; +@property (nonatomic, strong) NSURLSessionTask * _Nullable task; +@property (nonatomic, strong) NSURLCredential * _Nullable credential; +@property (nonatomic, strong) id _Nullable metrics; +- (nonnull instancetype)initWithTask:(NSURLSessionTask * _Nullable)task OBJC_DESIGNATED_INITIALIZER; +- (void)reset; +@property (nonatomic, copy) NSURLRequest * _Nullable (^ _Nullable taskWillPerformHTTPRedirection)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSHTTPURLResponse * _Nonnull, NSURLRequest * _Nonnull); +@property (nonatomic, copy) NSInputStream * _Nullable (^ _Nullable taskNeedNewBodyStream)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull); +@property (nonatomic, copy) void (^ _Nullable taskDidCompleteWithError)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSError * _Nullable); +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task willPerformHTTPRedirection:(NSHTTPURLResponse * _Nonnull)response newRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURLRequest * _Nullable))completionHandler; +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler; +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task needNewBodyStream:(void (^ _Nonnull)(NSInputStream * _Nullable))completionHandler; +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error; +- (nonnull instancetype)init SWIFT_UNAVAILABLE; +@end + +@class NSURLSessionDataTask; +@class NSProgress; +@class NSURLResponse; +@class NSURLSessionDownloadTask; +@class NSCachedURLResponse; + +SWIFT_CLASS("_TtC9Alamofire16DataTaskDelegate") +@interface DataTaskDelegate : TaskDelegate +@property (nonatomic, readonly, strong) NSURLSessionDataTask * _Nonnull dataTask; +@property (nonatomic, readonly, copy) NSData * _Nullable data; +@property (nonatomic, strong) NSProgress * _Nonnull progress; +@property (nonatomic, copy) void (^ _Nullable dataStream)(NSData * _Nonnull); +- (nonnull instancetype)initWithTask:(NSURLSessionTask * _Nullable)task OBJC_DESIGNATED_INITIALIZER; +- (void)reset; +@property (nonatomic, copy) NSURLSessionResponseDisposition (^ _Nullable dataTaskDidReceiveResponse)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLResponse * _Nonnull); +@property (nonatomic, copy) void (^ _Nullable dataTaskDidBecomeDownloadTask)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLSessionDownloadTask * _Nonnull); +@property (nonatomic, copy) void (^ _Nullable dataTaskDidReceiveData)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSData * _Nonnull); +@property (nonatomic, copy) NSCachedURLResponse * _Nullable (^ _Nullable dataTaskWillCacheResponse)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSCachedURLResponse * _Nonnull); +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition))completionHandler; +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didBecomeDownloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask; +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data; +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask willCacheResponse:(NSCachedURLResponse * _Nonnull)proposedResponse completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable))completionHandler; +@end + + +SWIFT_CLASS("_TtC9Alamofire20DownloadTaskDelegate") +@interface DownloadTaskDelegate : TaskDelegate +@property (nonatomic, readonly, strong) NSURLSessionDownloadTask * _Nonnull downloadTask; +@property (nonatomic, strong) NSProgress * _Nonnull progress; +@property (nonatomic, copy) NSData * _Nullable resumeData; +@property (nonatomic, readonly, copy) NSData * _Nullable data; +@property (nonatomic, copy) NSURL * _Nullable temporaryURL; +@property (nonatomic, copy) NSURL * _Nullable destinationURL; +@property (nonatomic, readonly, copy) NSURL * _Nullable fileURL; +- (nonnull instancetype)initWithTask:(NSURLSessionTask * _Nullable)task OBJC_DESIGNATED_INITIALIZER; +- (void)reset; +@property (nonatomic, copy) NSURL * _Nonnull (^ _Nullable downloadTaskDidFinishDownloadingToURL)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, NSURL * _Nonnull); +@property (nonatomic, copy) void (^ _Nullable downloadTaskDidWriteData)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, int64_t, int64_t, int64_t); +@property (nonatomic, copy) void (^ _Nullable downloadTaskDidResumeAtOffset)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, int64_t, int64_t); +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didFinishDownloadingToURL:(NSURL * _Nonnull)location; +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite; +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes; +@end + + +@interface NSNumber (SWIFT_EXTENSION(Alamofire)) +@end + +@class NSURLSessionStreamTask; +@class NSOutputStream; + +/** + Responsible for handling all delegate callbacks for the underlying session. +*/ +SWIFT_CLASS("_TtC9Alamofire15SessionDelegate") +@interface SessionDelegate : NSObject +/** + Overrides default behavior for URLSessionDelegate method \code + urlSession(_:didBecomeInvalidWithError:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable sessionDidBecomeInvalidWithError)(NSURLSession * _Nonnull, NSError * _Nullable); +/** + Overrides all behavior for URLSessionDelegate method \code + urlSession(_:didReceive:completionHandler:) + \endcode and requires the caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable sessionDidReceiveChallengeWithCompletion)(NSURLSession * _Nonnull, NSURLAuthenticationChallenge * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable)); +/** + Overrides default behavior for URLSessionDelegate method \code + urlSessionDidFinishEvents(forBackgroundURLSession:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable sessionDidFinishEventsForBackgroundURLSession)(NSURLSession * _Nonnull); +/** + Overrides default behavior for URLSessionTaskDelegate method \code + urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) + \endcode. +*/ +@property (nonatomic, copy) NSURLRequest * _Nullable (^ _Nullable taskWillPerformHTTPRedirection)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSHTTPURLResponse * _Nonnull, NSURLRequest * _Nonnull); +/** + Overrides all behavior for URLSessionTaskDelegate method \code + urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) + \endcode and + requires the caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable taskWillPerformHTTPRedirectionWithCompletion)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSHTTPURLResponse * _Nonnull, NSURLRequest * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSURLRequest * _Nullable)); +/** + Overrides all behavior for URLSessionTaskDelegate method \code + urlSession(_:task:didReceive:completionHandler:) + \endcode and + requires the caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable taskDidReceiveChallengeWithCompletion)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSURLAuthenticationChallenge * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable)); +/** + Overrides default behavior for URLSessionTaskDelegate method \code + urlSession(_:task:needNewBodyStream:) + \endcode. +*/ +@property (nonatomic, copy) NSInputStream * _Nullable (^ _Nullable taskNeedNewBodyStream)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull); +/** + Overrides all behavior for URLSessionTaskDelegate method \code + urlSession(_:task:needNewBodyStream:) + \endcode and + requires the caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable taskNeedNewBodyStreamWithCompletion)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSInputStream * _Nullable)); +/** + Overrides default behavior for URLSessionTaskDelegate method \code + urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable taskDidSendBodyData)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, int64_t, int64_t, int64_t); +/** + Overrides default behavior for URLSessionTaskDelegate method \code + urlSession(_:task:didCompleteWithError:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable taskDidComplete)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSError * _Nullable); +/** + Overrides default behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:didReceive:completionHandler:) + \endcode. +*/ +@property (nonatomic, copy) NSURLSessionResponseDisposition (^ _Nullable dataTaskDidReceiveResponse)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLResponse * _Nonnull); +/** + Overrides all behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:didReceive:completionHandler:) + \endcode and + requires caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable dataTaskDidReceiveResponseWithCompletion)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLResponse * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSURLSessionResponseDisposition)); +/** + Overrides default behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:didBecome:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable dataTaskDidBecomeDownloadTask)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLSessionDownloadTask * _Nonnull); +/** + Overrides default behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:didReceive:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable dataTaskDidReceiveData)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSData * _Nonnull); +/** + Overrides default behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:willCacheResponse:completionHandler:) + \endcode. +*/ +@property (nonatomic, copy) NSCachedURLResponse * _Nullable (^ _Nullable dataTaskWillCacheResponse)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSCachedURLResponse * _Nonnull); +/** + Overrides all behavior for URLSessionDataDelegate method \code + urlSession(_:dataTask:willCacheResponse:completionHandler:) + \endcode and + requires caller to call the \code + completionHandler + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable dataTaskWillCacheResponseWithCompletion)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSCachedURLResponse * _Nonnull, SWIFT_NOESCAPE void (^ _Nonnull)(NSCachedURLResponse * _Nullable)); +/** + Overrides default behavior for URLSessionDownloadDelegate method \code + urlSession(_:downloadTask:didFinishDownloadingTo:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable downloadTaskDidFinishDownloadingToURL)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, NSURL * _Nonnull); +/** + Overrides default behavior for URLSessionDownloadDelegate method \code + urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable downloadTaskDidWriteData)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, int64_t, int64_t, int64_t); +/** + Overrides default behavior for URLSessionDownloadDelegate method \code + urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable downloadTaskDidResumeAtOffset)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, int64_t, int64_t); +/** + Overrides default behavior for URLSessionStreamDelegate method \code + urlSession(_:readClosedFor:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable streamTaskReadClosed)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); +/** + Overrides default behavior for URLSessionStreamDelegate method \code + urlSession(_:writeClosedFor:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable streamTaskWriteClosed)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); +/** + Overrides default behavior for URLSessionStreamDelegate method \code + urlSession(_:betterRouteDiscoveredFor:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable streamTaskBetterRouteDiscovered)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); +/** + Overrides default behavior for URLSessionStreamDelegate method \code + urlSession(_:streamTask:didBecome:outputStream:) + \endcode. +*/ +@property (nonatomic, copy) void (^ _Nullable streamTaskDidBecomeInputAndOutputStreams)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull, NSInputStream * _Nonnull, NSOutputStream * _Nonnull); +@property (nonatomic) id _Nullable _streamTaskReadClosed; +@property (nonatomic) id _Nullable _streamTaskWriteClosed; +@property (nonatomic) id _Nullable _streamTaskBetterRouteDiscovered; +@property (nonatomic) id _Nullable _streamTaskDidBecomeInputStream; +/** + Initializes the \code + SessionDelegate + \endcode instance. + + returns: + The new \code + SessionDelegate + \endcode instance. +*/ +- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER; +/** + Returns a \code + Bool + \endcode indicating whether the \code + SessionDelegate + \endcode implements or inherits a method that can respond + to a specified message. + \param selector A selector that identifies a message. + + + returns: + \code + true + \endcode if the receiver implements or inherits a method that can respond to selector, otherwise \code + false + \endcode. +*/ +- (BOOL)respondsToSelector:(SEL _Nonnull)selector; +@end + + +@interface SessionDelegate (SWIFT_EXTENSION(Alamofire)) +/** + Tells the delegate that a download task has finished downloading. + \param session The session containing the download task that finished. + + \param downloadTask The download task that finished. + + \param location A file URL for the temporary file. Because the file is temporary, you must either + open the file for reading or move it to a permanent location in your app’s sandbox + container directory before returning from this delegate method. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didFinishDownloadingToURL:(NSURL * _Nonnull)location; +/** + Periodically informs the delegate about the download’s progress. + \param session The session containing the download task. + + \param downloadTask The download task. + + \param bytesWritten The number of bytes transferred since the last time this delegate + method was called. + + \param totalBytesWritten The total number of bytes transferred so far. + + \param totalBytesExpectedToWrite The expected length of the file, as provided by the Content-Length + header. If this header was not provided, the value is + \code + NSURLSessionTransferSizeUnknown + \endcode. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite; +/** + Tells the delegate that the download task has resumed downloading. + \param session The session containing the download task that finished. + + \param downloadTask The download task that resumed. See explanation in the discussion. + + \param fileOffset If the file’s cache policy or last modified date prevents reuse of the + existing content, then this value is zero. Otherwise, this value is an + integer representing the number of bytes on disk that do not need to be + retrieved again. + + \param expectedTotalBytes The expected length of the file, as provided by the Content-Length header. + If this header was not provided, the value is NSURLSessionTransferSizeUnknown. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes; +@end + + +@interface SessionDelegate (SWIFT_EXTENSION(Alamofire)) +/** + Tells the delegate that the session has been invalidated. + \param session The session object that was invalidated. + + \param error The error that caused invalidation, or nil if the invalidation was explicit. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session didBecomeInvalidWithError:(NSError * _Nullable)error; +/** + Requests credentials from the delegate in response to a session-level authentication request from the + remote server. + \param session The session containing the task that requested authentication. + + \param challenge An object that contains the request for authentication. + + \param completionHandler A handler that your delegate method must call providing the disposition + and credential. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler; +/** + Tells the delegate that all messages enqueued for a session have been delivered. + \param session The session that no longer has any outstanding requests. + +*/ +- (void)URLSessionDidFinishEventsForBackgroundURLSession:(NSURLSession * _Nonnull)session; +@end + + +@interface SessionDelegate (SWIFT_EXTENSION(Alamofire)) +/** + Tells the delegate that the read side of the connection has been closed. + \param session The session. + + \param streamTask The stream task. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session readClosedForStreamTask:(NSURLSessionStreamTask * _Nonnull)streamTask; +/** + Tells the delegate that the write side of the connection has been closed. + \param session The session. + + \param streamTask The stream task. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session writeClosedForStreamTask:(NSURLSessionStreamTask * _Nonnull)streamTask; +/** + Tells the delegate that the system has determined that a better route to the host is available. + \param session The session. + + \param streamTask The stream task. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session betterRouteDiscoveredForStreamTask:(NSURLSessionStreamTask * _Nonnull)streamTask; +/** + Tells the delegate that the stream task has been completed and provides the unopened stream objects. + \param session The session. + + \param streamTask The stream task. + + \param inputStream The new input stream. + + \param outputStream The new output stream. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session streamTask:(NSURLSessionStreamTask * _Nonnull)streamTask didBecomeInputStream:(NSInputStream * _Nonnull)inputStream outputStream:(NSOutputStream * _Nonnull)outputStream; +@end + + +@interface SessionDelegate (SWIFT_EXTENSION(Alamofire)) +/** + Tells the delegate that the data task received the initial reply (headers) from the server. + \param session The session containing the data task that received an initial reply. + + \param dataTask The data task that received an initial reply. + + \param response A URL response object populated with headers. + + \param completionHandler A completion handler that your code calls to continue the transfer, passing a + constant to indicate whether the transfer should continue as a data task or + should become a download task. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition))completionHandler; +/** + Tells the delegate that the data task was changed to a download task. + \param session The session containing the task that was replaced by a download task. + + \param dataTask The data task that was replaced by a download task. + + \param downloadTask The new download task that replaced the data task. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didBecomeDownloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask; +/** + Tells the delegate that the data task has received some of the expected data. + \param session The session containing the data task that provided data. + + \param dataTask The data task that provided data. + + \param data A data object containing the transferred data. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data; +/** + Asks the delegate whether the data (or upload) task should store the response in the cache. + \param session The session containing the data (or upload) task. + + \param dataTask The data (or upload) task. + + \param proposedResponse The default caching behavior. This behavior is determined based on the current + caching policy and the values of certain received headers, such as the Pragma + and Cache-Control headers. + + \param completionHandler A block that your handler must call, providing either the original proposed + response, a modified version of that response, or NULL to prevent caching the + response. If your delegate implements this method, it must call this completion + handler; otherwise, your app leaks memory. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask willCacheResponse:(NSCachedURLResponse * _Nonnull)proposedResponse completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable))completionHandler; +@end + +@class NSURLSessionTaskMetrics; + +@interface SessionDelegate (SWIFT_EXTENSION(Alamofire)) +/** + Tells the delegate that the remote server requested an HTTP redirect. + \param session The session containing the task whose request resulted in a redirect. + + \param task The task whose request resulted in a redirect. + + \param response An object containing the server’s response to the original request. + + \param request A URL request object filled out with the new location. + + \param completionHandler A closure that your handler should call with either the value of the request + parameter, a modified URL request object, or NULL to refuse the redirect and + return the body of the redirect response. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task willPerformHTTPRedirection:(NSHTTPURLResponse * _Nonnull)response newRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURLRequest * _Nullable))completionHandler; +/** + Requests credentials from the delegate in response to an authentication request from the remote server. + \param session The session containing the task whose request requires authentication. + + \param task The task whose request requires authentication. + + \param challenge An object that contains the request for authentication. + + \param completionHandler A handler that your delegate method must call providing the disposition + and credential. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable))completionHandler; +/** + Tells the delegate when a task requires a new request body stream to send to the remote server. + \param session The session containing the task that needs a new body stream. + + \param task The task that needs a new body stream. + + \param completionHandler A completion handler that your delegate method should call with the new body stream. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task needNewBodyStream:(void (^ _Nonnull)(NSInputStream * _Nullable))completionHandler; +/** + Periodically informs the delegate of the progress of sending body content to the server. + \param session The session containing the data task. + + \param task The data task. + + \param bytesSent The number of bytes sent since the last time this delegate method was called. + + \param totalBytesSent The total number of bytes sent so far. + + \param totalBytesExpectedToSend The expected length of the body data. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend; +/** + Tells the delegate that the session finished collecting metrics for the task. + \param session The session collecting the metrics. + + \param task The task whose metrics have been collected. + + \param metrics The collected metrics. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didFinishCollectingMetrics:(NSURLSessionTaskMetrics * _Nonnull)metrics; +/** + Tells the delegate that the task finished transferring data. + \param session The session containing the task whose request finished transferring data. + + \param task The task whose request finished transferring data. + + \param error If an error occurred, an error object indicating how the transfer failed, otherwise nil. + +*/ +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error; +@end + + + +@interface NSURLSession (SWIFT_EXTENSION(Alamofire)) +@end + +@class NSURLSessionUploadTask; + +SWIFT_CLASS("_TtC9Alamofire18UploadTaskDelegate") +@interface UploadTaskDelegate : DataTaskDelegate +@property (nonatomic, readonly, strong) NSURLSessionUploadTask * _Nonnull uploadTask; +@property (nonatomic, strong) NSProgress * _Nonnull uploadProgress; +- (nonnull instancetype)initWithTask:(NSURLSessionTask * _Nullable)task OBJC_DESIGNATED_INITIALIZER; +- (void)reset; +@property (nonatomic, copy) void (^ _Nullable taskDidSendBodyData)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, int64_t, int64_t, int64_t); +- (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend; +@end + +#pragma clang diagnostic pop diff --git a/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire.h b/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire.h new file mode 100644 index 0000000000..8d45b7758d --- /dev/null +++ b/iphone/Maps/3party/Alamofire.framework/Headers/Alamofire.h @@ -0,0 +1,28 @@ +// +// Alamofire.h +// +// Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/) +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +// + +@import Foundation; + +FOUNDATION_EXPORT double AlamofireVersionNumber; +FOUNDATION_EXPORT const unsigned char AlamofireVersionString[]; diff --git a/iphone/Maps/3party/Alamofire.framework/Info.plist b/iphone/Maps/3party/Alamofire.framework/Info.plist new file mode 100644 index 0000000000..6538931815 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Info.plist differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc new file mode 100644 index 0000000000..9742d3b774 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule new file mode 100644 index 0000000000..24f2f7894f Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000000..68f8a26450 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule new file mode 100644 index 0000000000..8373970a2a Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc new file mode 100644 index 0000000000..827a0ebfb8 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule new file mode 100644 index 0000000000..3266eaee28 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000000..993a59a049 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule new file mode 100644 index 0000000000..8f66a14af5 Binary files /dev/null and b/iphone/Maps/3party/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Alamofire.framework/Modules/module.modulemap b/iphone/Maps/3party/Alamofire.framework/Modules/module.modulemap new file mode 100644 index 0000000000..8096dcc9b3 --- /dev/null +++ b/iphone/Maps/3party/Alamofire.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module Alamofire { + umbrella header "Alamofire.h" + + export * + module * { export * } +} + +module Alamofire.Swift { + header "Alamofire-Swift.h" +} diff --git a/iphone/Maps/3party/Alamofire.framework/_CodeSignature/CodeResources b/iphone/Maps/3party/Alamofire.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000000..7cbda4ac73 --- /dev/null +++ b/iphone/Maps/3party/Alamofire.framework/_CodeSignature/CodeResources @@ -0,0 +1,226 @@ + + + + + files + + Headers/Alamofire-Swift.h + + SFPVdVQ/svTxlsI/3SUHew8JX20= + + Headers/Alamofire.h + + MkxSbVCbnr649u1kjJl/qmydvNQ= + + Info.plist + + VCyfdQHa+jSxTUTjGAnf0WtbL8o= + + Modules/Alamofire.swiftmodule/i386.swiftdoc + + tdLMJsNiw9W8nt9ktpuWPGHe87M= + + Modules/Alamofire.swiftmodule/i386.swiftmodule + + 6C9xGHWHnh4maYd7l09Tl2Kp/74= + + Modules/Alamofire.swiftmodule/x86_64.swiftdoc + + tSsVFvyDedjVPTirI+tsNHgz8Sw= + + Modules/Alamofire.swiftmodule/x86_64.swiftmodule + + +wfwLWUq+4FGijzZPC8xZCA8mZs= + + Modules/module.modulemap + + oUms7QxpPFGK02DLqqScqq/7uwc= + + + files2 + + Headers/Alamofire-Swift.h + + hash + + SFPVdVQ/svTxlsI/3SUHew8JX20= + + hash2 + + 04jCBxpdkfWq7VbGia6FDdCRFf595ntXyuF2MLmTNS0= + + + Headers/Alamofire.h + + hash + + MkxSbVCbnr649u1kjJl/qmydvNQ= + + hash2 + + sVJkysHFIbUiAzfAq/iru6/B7jmxx8gOxi2Too0HdRk= + + + Modules/Alamofire.swiftmodule/i386.swiftdoc + + hash + + tdLMJsNiw9W8nt9ktpuWPGHe87M= + + hash2 + + dmr2aEJcMkokkKDi3G2jMRTWq0K06MqpdmOKG9JzjMo= + + + Modules/Alamofire.swiftmodule/i386.swiftmodule + + hash + + 6C9xGHWHnh4maYd7l09Tl2Kp/74= + + hash2 + + AIo8hg7n2SqYhnt7TSpeVsd39t4raoEUKkyMFzFTOI0= + + + Modules/Alamofire.swiftmodule/x86_64.swiftdoc + + hash + + tSsVFvyDedjVPTirI+tsNHgz8Sw= + + hash2 + + VLgnOSEox9dGsI/FDzQ3CR5RJ3OwNcpfCptVMuYphTo= + + + Modules/Alamofire.swiftmodule/x86_64.swiftmodule + + hash + + +wfwLWUq+4FGijzZPC8xZCA8mZs= + + hash2 + + NbWXplTLc8A6PRxyuK+/oG7T579AffOs0yqMpN9iQZQ= + + + Modules/module.modulemap + + hash + + oUms7QxpPFGK02DLqqScqq/7uwc= + + hash2 + + X5wPIcDrMTwT6S06SivZ1wK27iG5+mZMqjrF5cG4PBs= + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/iphone/Maps/3party/AlamofireImage.framework/AlamofireImage b/iphone/Maps/3party/AlamofireImage.framework/AlamofireImage new file mode 100755 index 0000000000..d55b1b200a Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/AlamofireImage differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage-Swift.h b/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage-Swift.h new file mode 100644 index 0000000000..46f5bff6b6 --- /dev/null +++ b/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage-Swift.h @@ -0,0 +1,307 @@ +// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) +#pragma clang diagnostic push + +#if defined(__has_include) && __has_include() +# include +#endif + +#pragma clang diagnostic ignored "-Wauto-import" +#include +#include +#include +#include + +#if !defined(SWIFT_TYPEDEFS) +# define SWIFT_TYPEDEFS 1 +# if defined(__has_include) && __has_include() +# include +# elif !defined(__cplusplus) || __cplusplus < 201103L +typedef uint_least16_t char16_t; +typedef uint_least32_t char32_t; +# endif +typedef float swift_float2 __attribute__((__ext_vector_type__(2))); +typedef float swift_float3 __attribute__((__ext_vector_type__(3))); +typedef float swift_float4 __attribute__((__ext_vector_type__(4))); +typedef double swift_double2 __attribute__((__ext_vector_type__(2))); +typedef double swift_double3 __attribute__((__ext_vector_type__(3))); +typedef double swift_double4 __attribute__((__ext_vector_type__(4))); +typedef int swift_int2 __attribute__((__ext_vector_type__(2))); +typedef int swift_int3 __attribute__((__ext_vector_type__(3))); +typedef int swift_int4 __attribute__((__ext_vector_type__(4))); +typedef unsigned int swift_uint2 __attribute__((__ext_vector_type__(2))); +typedef unsigned int swift_uint3 __attribute__((__ext_vector_type__(3))); +typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); +#endif + +#if !defined(SWIFT_PASTE) +# define SWIFT_PASTE_HELPER(x, y) x##y +# define SWIFT_PASTE(x, y) SWIFT_PASTE_HELPER(x, y) +#endif +#if !defined(SWIFT_METATYPE) +# define SWIFT_METATYPE(X) Class +#endif +#if !defined(SWIFT_CLASS_PROPERTY) +# if __has_feature(objc_class_property) +# define SWIFT_CLASS_PROPERTY(...) __VA_ARGS__ +# else +# define SWIFT_CLASS_PROPERTY(...) +# endif +#endif + +#if defined(__has_attribute) && __has_attribute(objc_runtime_name) +# define SWIFT_RUNTIME_NAME(X) __attribute__((objc_runtime_name(X))) +#else +# define SWIFT_RUNTIME_NAME(X) +#endif +#if defined(__has_attribute) && __has_attribute(swift_name) +# define SWIFT_COMPILE_NAME(X) __attribute__((swift_name(X))) +#else +# define SWIFT_COMPILE_NAME(X) +#endif +#if defined(__has_attribute) && __has_attribute(objc_method_family) +# define SWIFT_METHOD_FAMILY(X) __attribute__((objc_method_family(X))) +#else +# define SWIFT_METHOD_FAMILY(X) +#endif +#if defined(__has_attribute) && __has_attribute(noescape) +# define SWIFT_NOESCAPE __attribute__((noescape)) +#else +# define SWIFT_NOESCAPE +#endif +#if !defined(SWIFT_CLASS_EXTRA) +# define SWIFT_CLASS_EXTRA +#endif +#if !defined(SWIFT_PROTOCOL_EXTRA) +# define SWIFT_PROTOCOL_EXTRA +#endif +#if !defined(SWIFT_ENUM_EXTRA) +# define SWIFT_ENUM_EXTRA +#endif +#if !defined(SWIFT_CLASS) +# if defined(__has_attribute) && __has_attribute(objc_subclassing_restricted) +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) __attribute__((objc_subclassing_restricted)) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# else +# define SWIFT_CLASS(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# define SWIFT_CLASS_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_CLASS_EXTRA +# endif +#endif + +#if !defined(SWIFT_PROTOCOL) +# define SWIFT_PROTOCOL(SWIFT_NAME) SWIFT_RUNTIME_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +# define SWIFT_PROTOCOL_NAMED(SWIFT_NAME) SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_PROTOCOL_EXTRA +#endif + +#if !defined(SWIFT_EXTENSION) +# define SWIFT_EXTENSION(M) SWIFT_PASTE(M##_Swift_, __LINE__) +#endif + +#if !defined(OBJC_DESIGNATED_INITIALIZER) +# if defined(__has_attribute) && __has_attribute(objc_designated_initializer) +# define OBJC_DESIGNATED_INITIALIZER __attribute__((objc_designated_initializer)) +# else +# define OBJC_DESIGNATED_INITIALIZER +# endif +#endif +#if !defined(SWIFT_ENUM) +# define SWIFT_ENUM(_type, _name) enum _name : _type _name; enum SWIFT_ENUM_EXTRA _name : _type +# if defined(__has_feature) && __has_feature(generalized_swift_name) +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) enum _name : _type _name SWIFT_COMPILE_NAME(SWIFT_NAME); enum SWIFT_COMPILE_NAME(SWIFT_NAME) SWIFT_ENUM_EXTRA _name : _type +# else +# define SWIFT_ENUM_NAMED(_type, _name, SWIFT_NAME) SWIFT_ENUM(_type, _name) +# endif +#endif +#if !defined(SWIFT_UNAVAILABLE) +# define SWIFT_UNAVAILABLE __attribute__((unavailable)) +#endif +#if defined(__has_feature) && __has_feature(modules) +@import UIKit; +@import Foundation; +@import CoreGraphics; +#endif + +#pragma clang diagnostic ignored "-Wproperty-attribute-mismatch" +#pragma clang diagnostic ignored "-Wduplicate-method-arg" + +@interface UIButton (SWIFT_EXTENSION(AlamofireImage)) +/** + Cancels the active download request for the image, if one exists. +*/ +- (void)af_cancelImageRequestFor:(UIControlState)state; +/** + Cancels the active download request for the background image, if one exists. +*/ +- (void)af_cancelBackgroundImageRequestFor:(UIControlState)state; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Returns a new version of the image using a CoreImage filter with the specified name and parameters. + \param name The name of the CoreImage filter to use on the new image. + + \param parameters The parameters to apply to the CoreImage filter. + + + returns: + A new image object, or \code + nil + \endcode if the filter failed for any reason. +*/ +- (UIImage * _Nullable)af_imageFilteredWithCoreImageFilter:(NSString * _Nonnull)name parameters:(NSDictionary * _Nullable)parameters; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Initializes and returns the image object with the specified data in a thread-safe manner. + It has been reported that there are thread-safety issues when initializing large amounts of images + simultaneously. In the event of these issues occurring, this method can be used in place of + the \code + init?(data:) + \endcode method. + \param data The data object containing the image data. + + + returns: + An initialized \code + UIImage + \endcode object, or \code + nil + \endcode if the method failed. +*/ ++ (UIImage * _Nullable)af_threadSafeImageWith:(NSData * _Nonnull)data; +/** + Initializes and returns the image object with the specified data and scale in a thread-safe manner. + It has been reported that there are thread-safety issues when initializing large amounts of images + simultaneously. In the event of these issues occurring, this method can be used in place of + the \code + init?(data:scale:) + \endcode method. + \param data The data object containing the image data. + + \param scale The scale factor to assume when interpreting the image data. Applying a scale factor of 1.0 + results in an image whose size matches the pixel-based dimensions of the image. Applying a + different scale factor changes the size of the image as reported by the size property. + + + returns: + An initialized \code + UIImage + \endcode object, or \code + nil + \endcode if the method failed. +*/ ++ (UIImage * _Nullable)af_threadSafeImageWith:(NSData * _Nonnull)data scale:(CGFloat)scale; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Returns a new version of the image with the corners rounded to the specified radius. + \param radius The radius to use when rounding the new image. + + \param divideRadiusByImageScale Whether to divide the radius by the image scale. Set to \code + true + \endcode when the + image has the same resolution for all screen scales such as @1x, @2x and + @3x (i.e. single image from web server). Set to \code + false + \endcode for images loaded + from an asset catalog with varying resolutions for each screen scale. + \code + false + \endcode by default. + + + returns: + A new image object. +*/ +- (UIImage * _Nonnull)af_imageRoundedWithCornerRadius:(CGFloat)radius divideRadiusByImageScale:(BOOL)divideRadiusByImageScale; +/** + Returns a new version of the image rounded into a circle. + + returns: + A new image object. +*/ +- (UIImage * _Nonnull)af_imageRoundedIntoCircle; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Returns a new version of the image scaled to the specified size. + \param size The size to use when scaling the new image. + + + returns: + A new image object. +*/ +- (UIImage * _Nonnull)af_imageScaledTo:(CGSize)size; +/** + Returns a new version of the image scaled from the center while maintaining the aspect ratio to fit within + a specified size. + The resulting image contains an alpha component used to pad the width or height with the necessary transparent + pixels to fit the specified size. In high performance critical situations, this may not be the optimal approach. + To maintain an opaque image, you could compute the \code + scaledSize + \endcode manually, then use the \code + af_imageScaledToSize + \endcode + method in conjunction with a \code + .Center + \endcode content mode to achieve the same visual result. + \param size The size to use when scaling the new image. + + + returns: + A new image object. +*/ +- (UIImage * _Nonnull)af_imageAspectScaledToFit:(CGSize)size; +/** + Returns a new version of the image scaled from the center while maintaining the aspect ratio to fill a + specified size. Any pixels that fall outside the specified size are clipped. + \param size The size to use when scaling the new image. + + + returns: + A new image object. +*/ +- (UIImage * _Nonnull)af_imageAspectScaledToFill:(CGSize)size; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Returns whether the image contains an alpha component. +*/ +@property (nonatomic, readonly) BOOL af_containsAlphaComponent; +/** + Returns whether the image is opaque. +*/ +@property (nonatomic, readonly) BOOL af_isOpaque; +@end + + +@interface UIImage (SWIFT_EXTENSION(AlamofireImage)) +/** + Returns whether the image is inflated. +*/ +@property (nonatomic) BOOL af_inflated; +/** + Inflates the underlying compressed image data to be backed by an uncompressed bitmap representation. + Inflating compressed image formats (such as PNG or JPEG) can significantly improve drawing performance as it + allows a bitmap representation to be constructed in the background rather than on the main thread. +*/ +- (void)af_inflate; +@end + + +@interface UIImageView (SWIFT_EXTENSION(AlamofireImage)) +/** + Cancels the active download request, if one exists. +*/ +- (void)af_cancelImageRequest; +@end + +#pragma clang diagnostic pop diff --git a/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage.h b/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage.h new file mode 100644 index 0000000000..9989aa7e4d --- /dev/null +++ b/iphone/Maps/3party/AlamofireImage.framework/Headers/AlamofireImage.h @@ -0,0 +1,28 @@ +// +// AlamofireImage.h +// +// Copyright (c) 2015-2016 Alamofire Software Foundation (http://alamofire.org/) +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. +// + +@import Foundation; + +FOUNDATION_EXPORT double AlamofireImageVersionNumber; +FOUNDATION_EXPORT const unsigned char AlamofireImageVersionString[]; diff --git a/iphone/Maps/3party/AlamofireImage.framework/Info.plist b/iphone/Maps/3party/AlamofireImage.framework/Info.plist new file mode 100644 index 0000000000..44312eb145 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Info.plist differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc new file mode 100644 index 0000000000..c97b332b8e Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule new file mode 100644 index 0000000000..347855cac9 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc new file mode 100644 index 0000000000..a2544ed01f Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule new file mode 100644 index 0000000000..343d3fa978 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc new file mode 100644 index 0000000000..ddd45e7806 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule new file mode 100644 index 0000000000..d315ab7328 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc new file mode 100644 index 0000000000..b7211fbd4d Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule new file mode 100644 index 0000000000..91644d02b5 Binary files /dev/null and b/iphone/Maps/3party/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/AlamofireImage.framework/Modules/module.modulemap b/iphone/Maps/3party/AlamofireImage.framework/Modules/module.modulemap new file mode 100644 index 0000000000..597ab7b55d --- /dev/null +++ b/iphone/Maps/3party/AlamofireImage.framework/Modules/module.modulemap @@ -0,0 +1,10 @@ +framework module AlamofireImage { + umbrella header "AlamofireImage.h" + + export * + module * { export * } +} + +module AlamofireImage.Swift { + header "AlamofireImage-Swift.h" +} diff --git a/iphone/Maps/3party/AlamofireImage.framework/_CodeSignature/CodeResources b/iphone/Maps/3party/AlamofireImage.framework/_CodeSignature/CodeResources new file mode 100644 index 0000000000..7ced2db89c --- /dev/null +++ b/iphone/Maps/3party/AlamofireImage.framework/_CodeSignature/CodeResources @@ -0,0 +1,226 @@ + + + + + files + + Headers/AlamofireImage-Swift.h + + JFicqxVgqobOmR3b0YTLjleOk7c= + + Headers/AlamofireImage.h + + vmy8LU0HHftzzb+tYY80jjkKZYw= + + Info.plist + + zPZOZE/55pWLsHm5sSLLuIYtxwA= + + Modules/AlamofireImage.swiftmodule/i386.swiftdoc + + Za3627T/XzCDFRDrzqkno8GifZI= + + Modules/AlamofireImage.swiftmodule/i386.swiftmodule + + 7Py+UE0qO7P4SFLp8bCk9hyb5yw= + + Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc + + QE69R8dJUhf3/lcX47TW2x1JFCY= + + Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule + + kwTj1jXkL9IJq5XZSdreTEeSEuY= + + Modules/module.modulemap + + vpB0CcDHBtOKW9Elgsq77zXlFYA= + + + files2 + + Headers/AlamofireImage-Swift.h + + hash + + JFicqxVgqobOmR3b0YTLjleOk7c= + + hash2 + + e7XUH5rN8B/N82Vo7uf8mkOj2D37jnQhopAR33zPWWY= + + + Headers/AlamofireImage.h + + hash + + vmy8LU0HHftzzb+tYY80jjkKZYw= + + hash2 + + Z7/dyoJDsD7X7fr1WD3SWQ5UXjdT+YmiKy/8xWS9hMQ= + + + Modules/AlamofireImage.swiftmodule/i386.swiftdoc + + hash + + Za3627T/XzCDFRDrzqkno8GifZI= + + hash2 + + f4KqttxT8jmAv0UZj1bWGUK6SW/XoE3msIkSfUHwz+I= + + + Modules/AlamofireImage.swiftmodule/i386.swiftmodule + + hash + + 7Py+UE0qO7P4SFLp8bCk9hyb5yw= + + hash2 + + KQ+6arj+OvqQ10MjpDf1GFRbqR4uO5j0//Ds/G9T+no= + + + Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc + + hash + + QE69R8dJUhf3/lcX47TW2x1JFCY= + + hash2 + + IrKWScUe6diBnlr2j/Xbq3SJpvB2axvDV3t0YSz6DGc= + + + Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule + + hash + + kwTj1jXkL9IJq5XZSdreTEeSEuY= + + hash2 + + vt07WNfvn365kKmIqCL01kLJ+4+Z0jhmXNO9dnsQB8g= + + + Modules/module.modulemap + + hash + + vpB0CcDHBtOKW9Elgsq77zXlFYA= + + hash2 + + EBublwpOyIMDR9Rt2/NVBv4jQ3sY08yEaOKE82fbM1Q= + + + + rules + + ^ + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^version.plist$ + + + rules2 + + .*\.dSYM($|/) + + weight + 11 + + ^ + + weight + 20 + + ^(.*/)?\.DS_Store$ + + omit + + weight + 2000 + + ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/ + + nested + + weight + 10 + + ^.* + + ^.*\.lproj/ + + optional + + weight + 1000 + + ^.*\.lproj/locversion.plist$ + + omit + + weight + 1100 + + ^Base\.lproj/ + + weight + 1010 + + ^Info\.plist$ + + omit + + weight + 20 + + ^PkgInfo$ + + omit + + weight + 20 + + ^[^/]+$ + + nested + + weight + 10 + + ^embedded\.provisionprofile$ + + weight + 20 + + ^version\.plist$ + + weight + 20 + + + + diff --git a/iphone/Maps/Maps.xcodeproj/project.pbxproj b/iphone/Maps/Maps.xcodeproj/project.pbxproj index 41b237a60c..e3160ead70 100644 --- a/iphone/Maps/Maps.xcodeproj/project.pbxproj +++ b/iphone/Maps/Maps.xcodeproj/project.pbxproj @@ -99,6 +99,14 @@ 3406FA191C6E0D8F00E9FAD2 /* MWMMapDownloadDialog.xib in Resources */ = {isa = PBXBuildFile; fileRef = 3406FA171C6E0D8F00E9FAD2 /* MWMMapDownloadDialog.xib */; }; 340837131B7243CE00B5C185 /* MWMActivityViewController.mm in Sources */ = {isa = PBXBuildFile; fileRef = 340837121B7243CE00B5C185 /* MWMActivityViewController.mm */; }; 340837161B72451A00B5C185 /* MWMShareActivityItem.mm in Sources */ = {isa = PBXBuildFile; fileRef = 340837151B72451A00B5C185 /* MWMShareActivityItem.mm */; }; + 340D94371E643AA700CB037A /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4871E64356300164F91 /* Alamofire.framework */; }; + 340D94381E643AA700CB037A /* Alamofire.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4871E64356300164F91 /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 340D94391E643AA700CB037A /* AlamofireImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4881E64356300164F91 /* AlamofireImage.framework */; }; + 340D943A1E643AA700CB037A /* AlamofireImage.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4881E64356300164F91 /* AlamofireImage.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 340D943C1E643ADE00CB037A /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4871E64356300164F91 /* Alamofire.framework */; }; + 340D943D1E643ADE00CB037A /* Alamofire.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4871E64356300164F91 /* Alamofire.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 340D943E1E643ADE00CB037A /* AlamofireImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4881E64356300164F91 /* AlamofireImage.framework */; }; + 340D943F1E643ADE00CB037A /* AlamofireImage.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4881E64356300164F91 /* AlamofireImage.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 340E1EEB1E2F614400CE49BF /* Authorization.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 340E1EE41E2F614400CE49BF /* Authorization.storyboard */; }; 340E1EEC1E2F614400CE49BF /* Authorization.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 340E1EE41E2F614400CE49BF /* Authorization.storyboard */; }; 340E1EED1E2F614400CE49BF /* Authorization.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 340E1EE41E2F614400CE49BF /* Authorization.storyboard */; }; @@ -399,6 +407,8 @@ 34D4FA661E265749003F53EF /* WhatsNewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34D4FA651E265749003F53EF /* WhatsNewController.swift */; }; 34D4FA671E265749003F53EF /* WhatsNewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34D4FA651E265749003F53EF /* WhatsNewController.swift */; }; 34D4FA681E265749003F53EF /* WhatsNewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34D4FA651E265749003F53EF /* WhatsNewController.swift */; }; + 34DBA48B1E64356300164F91 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4871E64356300164F91 /* Alamofire.framework */; }; + 34DBA48E1E64356300164F91 /* AlamofireImage.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 34DBA4881E64356300164F91 /* AlamofireImage.framework */; }; 34ED298A1E3BB9B40054D003 /* RoutePoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ED29891E3BB9B40054D003 /* RoutePoint.swift */; }; 34ED298B1E3BB9B40054D003 /* RoutePoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ED29891E3BB9B40054D003 /* RoutePoint.swift */; }; 34ED298C1E3BB9B40054D003 /* RoutePoint.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34ED29891E3BB9B40054D003 /* RoutePoint.swift */; }; @@ -1310,6 +1320,40 @@ /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ + 340D943B1E643AA700CB037A /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 340D94381E643AA700CB037A /* Alamofire.framework in Embed Frameworks */, + 340D943A1E643AA700CB037A /* AlamofireImage.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; + 34DF99C31E5C6892005D79D7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 340D943D1E643ADE00CB037A /* Alamofire.framework in Embed Frameworks */, + 340D943F1E643ADE00CB037A /* AlamofireImage.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; + 34DF99CC1E5C689B005D79D7 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; 6741AA521BF340DE002C974C /* Embed App Extensions */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; @@ -1607,6 +1651,8 @@ 34D3B04D1E38A20C004100F9 /* Bundle+Init.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Bundle+Init.swift"; sourceTree = ""; }; 34D4FA611E26572D003F53EF /* FirstLaunchController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FirstLaunchController.swift; sourceTree = ""; }; 34D4FA651E265749003F53EF /* WhatsNewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = WhatsNewController.swift; sourceTree = ""; }; + 34DBA4871E64356300164F91 /* Alamofire.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = Alamofire.framework; sourceTree = ""; }; + 34DBA4881E64356300164F91 /* AlamofireImage.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = AlamofireImage.framework; sourceTree = ""; }; 34ED29891E3BB9B40054D003 /* RoutePoint.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RoutePoint.swift; sourceTree = ""; }; 34F5E0D21E3F254800B1C415 /* UIView+Hierarchy.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Hierarchy.swift"; sourceTree = ""; }; 34F5E0D61E3F334700B1C415 /* Types.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Types.swift; sourceTree = ""; }; @@ -2132,11 +2178,13 @@ 67B78B4B1E422E2E0018E590 /* CoreSpotlight.framework in Frameworks */, 67B78B4D1E422E2E0018E590 /* CoreData.framework in Frameworks */, 340475111E08199E00C92850 /* Pushwoosh.framework in Frameworks */, + 340D943C1E643ADE00CB037A /* Alamofire.framework in Frameworks */, 340474FC1E08199D00C92850 /* FBSDKShareKit.framework in Frameworks */, 340474F91E08199D00C92850 /* FBSDKLoginKit.framework in Frameworks */, 67B78B491E422E2E0018E590 /* iAd.framework in Frameworks */, 3432E17C1E49B484008477E9 /* FBAudienceNetwork.framework in Frameworks */, 3404750B1E08199E00C92850 /* MyTargetSDK.framework in Frameworks */, + 340D943E1E643ADE00CB037A /* AlamofireImage.framework in Frameworks */, 340474F61E08199D00C92850 /* FBSDKCoreKit.framework in Frameworks */, 340474F01E08199D00C92850 /* Crashlytics.framework in Frameworks */, 34570A3B1B13222600E6D4FD /* libz.dylib in Frameworks */, @@ -2159,6 +2207,7 @@ 67B78B471E422E0A0018E590 /* MobileCoreServices.framework in Frameworks */, 67B78B451E422C970018E590 /* iAd.framework in Frameworks */, 67B78B431E422C620018E590 /* MessageUI.framework in Frameworks */, + 340D94371E643AA700CB037A /* Alamofire.framework in Frameworks */, 67B78B411E422C360018E590 /* CoreSpotlight.framework in Frameworks */, 67B78B3F1E422C110018E590 /* SafariServices.framework in Frameworks */, 67B78B3D1E422BF60018E590 /* CoreData.framework in Frameworks */, @@ -2177,6 +2226,7 @@ 6741AAC41BF356BA002C974C /* libfreetype.a in Frameworks */, 6741AAC51BF356BA002C974C /* libfribidi.a in Frameworks */, 340474F41E08199D00C92850 /* Fabric.framework in Frameworks */, + 340D94391E643AA700CB037A /* AlamofireImage.framework in Frameworks */, 6741AAC61BF356BA002C974C /* libgeometry.a in Frameworks */, 674A7E291C0DA576003D48E1 /* libsdf_image.a in Frameworks */, 6741AAC91BF356BA002C974C /* libindexer.a in Frameworks */, @@ -2216,6 +2266,8 @@ 67B78B531E422E300018E590 /* CoreData.framework in Frameworks */, 340475131E08199E00C92850 /* Pushwoosh.framework in Frameworks */, 340474FE1E08199D00C92850 /* FBSDKShareKit.framework in Frameworks */, + 34DBA48B1E64356300164F91 /* Alamofire.framework in Frameworks */, + 34DBA48E1E64356300164F91 /* AlamofireImage.framework in Frameworks */, 340474FB1E08199D00C92850 /* FBSDKLoginKit.framework in Frameworks */, 67B78B4F1E422E300018E590 /* iAd.framework in Frameworks */, 3432E17E1E49B484008477E9 /* FBAudienceNetwork.framework in Frameworks */, @@ -2364,6 +2416,8 @@ 340474DB1E08199D00C92850 /* 3party */ = { isa = PBXGroup; children = ( + 34DBA4871E64356300164F91 /* Alamofire.framework */, + 34DBA4881E64356300164F91 /* AlamofireImage.framework */, 3432E1771E49B3A2008477E9 /* Bolts.framework */, 340474DC1E08199D00C92850 /* Crashlytics.framework */, 340474DD1E08199D00C92850 /* Fabric.framework */, @@ -3836,6 +3890,7 @@ 1D60588F0D05DD3D006BFB54 /* Frameworks */, F6D434721AD2AB97007C7728 /* Embed App Extensions */, 34A62D4A1C9034D0007FDCB7 /* ShellScript */, + 34DF99C31E5C6892005D79D7 /* Embed Frameworks */, ); buildRules = ( ); @@ -3855,6 +3910,7 @@ 6741AA311BF340DE002C974C /* Frameworks */, 6741AA521BF340DE002C974C /* Embed App Extensions */, 34F7422E1E08328300AC1FD6 /* ShellScript */, + 340D943B1E643AA700CB037A /* Embed Frameworks */, ); buildRules = ( ); @@ -3875,6 +3931,7 @@ 849CF7721DE842290024A8A5 /* Frameworks */, 849CF79A1DE842290024A8A5 /* Embed App Extensions */, 849CF79B1DE842290024A8A5 /* ShellScript */, + 34DF99CC1E5C689B005D79D7 /* Embed Frameworks */, ); buildRules = ( ); diff --git a/xcode/api/api.xcodeproj/project.pbxproj b/xcode/api/api.xcodeproj/project.pbxproj index 4417fadddf..c124d533a8 100644 --- a/xcode/api/api.xcodeproj/project.pbxproj +++ b/xcode/api/api.xcodeproj/project.pbxproj @@ -211,7 +211,6 @@ 3496AB8A1DC1F6CE00C5DDBA /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; INFOPLIST_FILE = "$(OMIM_ROOT)/iphone/Maps/MAPSME.plist"; PRODUCT_BUNDLE_IDENTIFIER = maps.me.api_tests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -221,7 +220,6 @@ 3496AB8B1DC1F6CE00C5DDBA /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; INFOPLIST_FILE = "$(OMIM_ROOT)/iphone/Maps/MAPSME.plist"; PRODUCT_BUNDLE_IDENTIFIER = maps.me.api_tests; PRODUCT_NAME = "$(TARGET_NAME)"; diff --git a/xcode/common.xcconfig b/xcode/common.xcconfig index 61b4be5480..bb752d2513 100644 --- a/xcode/common.xcconfig +++ b/xcode/common.xcconfig @@ -21,41 +21,42 @@ OTHER_LDFLAGS[sdk=macosx*] = -framework Cocoa -framework IOKit -framework OpenGL OTHER_LDFLAGS[sdk=iphone*] = -framework AdSupport -framework CoreGraphics -framework Foundation -framework IOKit -framework OpenGLES -framework SystemConfiguration -framework UIKit -framework CFNetwork // Warnings settings -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES CLANG_WARN_BOOL_CONVERSION = YES CLANG_WARN_CONSTANT_CONVERSION = YES +CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR CLANG_WARN_EMPTY_BODY = YES CLANG_WARN_ENUM_CONVERSION = YES +CLANG_WARN_INFINITE_RECURSION = YES CLANG_WARN_INT_CONVERSION = YES +CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = YES +CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES +CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES +CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES +CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR CLANG_WARN_SUSPICIOUS_MOVE = YES CLANG_WARN_UNREACHABLE_CODE = YES -CLANG_WARN_NULLABLE_TO_NONNULL_CONVERSION = YES -CLANG_WARN_INFINITE_RECURSION = YES -CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES -CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES -CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES -CLANG_WARN_OBJC_EXPLICIT_OWNERSHIP_TYPE = YES -GCC_WARN_STRICT_SELECTOR_MATCH = YES +CLANG_WARN__DUPLICATE_METHOD_MATCH = YES GCC_WARN_64_TO_32_BIT_CONVERSION = YES GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR +GCC_WARN_STRICT_SELECTOR_MATCH = YES GCC_WARN_UNDECLARED_SELECTOR = YES GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE GCC_WARN_UNUSED_FUNCTION = YES GCC_WARN_UNUSED_VARIABLE = YES // Build options +ALWAYS_SEARCH_USER_PATHS = NO +CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES CLANG_CXX_LANGUAGE_STANDARD = c++0x CLANG_ENABLE_MODULES = YES CLANG_ENABLE_OBJC_ARC = YES -CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES CODE_SIGN_IDENTITY[sdk=iphoneos*] = iPhone Developer DEBUG_INFORMATION_FORMAT = dwarf ENABLE_STRICT_OBJC_MSGSEND = YES GCC_NO_COMMON_BLOCKS = YES GCC_PRECOMPILE_PREFIX_HEADER = YES ONLY_ACTIVE_ARCH = YES -VALID_ARCHS = i386 x86_64 armv7 armv7s arm64 PRODUCT_NAME = $(TARGET_NAME) +VALID_ARCHS = i386 x86_64 armv7 armv7s arm64