diff --git a/iphone/Maps/3party/Cartfile.resolved b/iphone/Maps/3party/Cartfile.resolved index 2095e32f5e..bdfbe3c68d 100644 --- a/iphone/Maps/3party/Cartfile.resolved +++ b/iphone/Maps/3party/Cartfile.resolved @@ -1,3 +1,3 @@ github "Alamofire/Alamofire" "4.4.0" github "Alamofire/AlamofireImage" "3.2.0" -github "Pushwoosh/pushwoosh-ios-sdk" "5.1.2" +github "Pushwoosh/pushwoosh-ios-sdk" "5.1.3" diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire index 3a8e369e54..0166d1d06e 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Alamofire differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Headers/Alamofire-Swift.h b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Headers/Alamofire-Swift.h index 677c8bd49f..3c1ed250f7 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Headers/Alamofire-Swift.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Headers/Alamofire-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) +// Generated by Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38) #pragma clang diagnostic push #if defined(__has_include) && __has_include() @@ -68,6 +68,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_NOESCAPE #endif +#if defined(__has_attribute) && __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif #if !defined(SWIFT_CLASS_EXTRA) # define SWIFT_CLASS_EXTRA #endif @@ -114,6 +119,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(SWIFT_UNAVAILABLE) # define SWIFT_UNAVAILABLE __attribute__((unavailable)) #endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif #if defined(__has_feature) && __has_feature(modules) @import Foundation; @import ObjectiveC; @@ -129,23 +146,15 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); @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. -*/ +/// 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. -*/ +/// 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. -*/ +/// The data returned by the server. @property (nonatomic, readonly, copy) NSData * _Nullable data; -/** - The error generated throughout the lifecyle of the task. -*/ +/// 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; @@ -213,452 +222,288 @@ SWIFT_CLASS("_TtC9Alamofire20DownloadTaskDelegate") @class NSURLSessionStreamTask; @class NSOutputStream; -/** - Responsible for handling all delegate callbacks for the underlying session. -*/ +/// 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. -*/ +/// Overrides default behavior for URLSessionDelegate method urlSession(_:didBecomeInvalidWithError:). @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. -*/ +/// Overrides all behavior for URLSessionDelegate method urlSession(_:didReceive:completionHandler:) and requires the caller to call the completionHandler. @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. -*/ +/// Overrides default behavior for URLSessionDelegate method urlSessionDidFinishEvents(forBackgroundURLSession:). @property (nonatomic, copy) void (^ _Nullable sessionDidFinishEventsForBackgroundURLSession)(NSURLSession * _Nonnull); -/** - Overrides default behavior for URLSessionTaskDelegate method \code - urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) - \endcode. -*/ +/// Overrides default behavior for URLSessionTaskDelegate method urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:). @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. -*/ +/// Overrides all behavior for URLSessionTaskDelegate method urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:) and +/// requires the caller to call the completionHandler. @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. -*/ +/// Overrides all behavior for URLSessionTaskDelegate method urlSession(_:task:didReceive:completionHandler:) and +/// requires the caller to call the completionHandler. @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. -*/ +/// Overrides default behavior for URLSessionTaskDelegate method urlSession(_:task:needNewBodyStream:). @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. -*/ +/// Overrides all behavior for URLSessionTaskDelegate method urlSession(_:task:needNewBodyStream:) and +/// requires the caller to call the completionHandler. @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. -*/ +/// Overrides default behavior for URLSessionTaskDelegate method urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:). @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. -*/ +/// Overrides default behavior for URLSessionTaskDelegate method urlSession(_:task:didCompleteWithError:). @property (nonatomic, copy) void (^ _Nullable taskDidComplete)(NSURLSession * _Nonnull, NSURLSessionTask * _Nonnull, NSError * _Nullable); -/** - Overrides default behavior for URLSessionDataDelegate method \code - urlSession(_:dataTask:didReceive:completionHandler:) - \endcode. -*/ +/// Overrides default behavior for URLSessionDataDelegate method urlSession(_:dataTask:didReceive:completionHandler:). @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. -*/ +/// Overrides all behavior for URLSessionDataDelegate method urlSession(_:dataTask:didReceive:completionHandler:) and +/// requires caller to call the completionHandler. @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. -*/ +/// Overrides default behavior for URLSessionDataDelegate method urlSession(_:dataTask:didBecome:). @property (nonatomic, copy) void (^ _Nullable dataTaskDidBecomeDownloadTask)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSURLSessionDownloadTask * _Nonnull); -/** - Overrides default behavior for URLSessionDataDelegate method \code - urlSession(_:dataTask:didReceive:) - \endcode. -*/ +/// Overrides default behavior for URLSessionDataDelegate method urlSession(_:dataTask:didReceive:). @property (nonatomic, copy) void (^ _Nullable dataTaskDidReceiveData)(NSURLSession * _Nonnull, NSURLSessionDataTask * _Nonnull, NSData * _Nonnull); -/** - Overrides default behavior for URLSessionDataDelegate method \code - urlSession(_:dataTask:willCacheResponse:completionHandler:) - \endcode. -*/ +/// Overrides default behavior for URLSessionDataDelegate method urlSession(_:dataTask:willCacheResponse:completionHandler:). @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. -*/ +/// Overrides all behavior for URLSessionDataDelegate method urlSession(_:dataTask:willCacheResponse:completionHandler:) and +/// requires caller to call the completionHandler. @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. -*/ +/// Overrides default behavior for URLSessionDownloadDelegate method urlSession(_:downloadTask:didFinishDownloadingTo:). @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. -*/ +/// Overrides default behavior for URLSessionDownloadDelegate method urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:). @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. -*/ +/// Overrides default behavior for URLSessionDownloadDelegate method urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:). @property (nonatomic, copy) void (^ _Nullable downloadTaskDidResumeAtOffset)(NSURLSession * _Nonnull, NSURLSessionDownloadTask * _Nonnull, int64_t, int64_t); -/** - Overrides default behavior for URLSessionStreamDelegate method \code - urlSession(_:readClosedFor:) - \endcode. -*/ +/// Overrides default behavior for URLSessionStreamDelegate method urlSession(_:readClosedFor:). @property (nonatomic, copy) void (^ _Nullable streamTaskReadClosed)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); -/** - Overrides default behavior for URLSessionStreamDelegate method \code - urlSession(_:writeClosedFor:) - \endcode. -*/ +/// Overrides default behavior for URLSessionStreamDelegate method urlSession(_:writeClosedFor:). @property (nonatomic, copy) void (^ _Nullable streamTaskWriteClosed)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); -/** - Overrides default behavior for URLSessionStreamDelegate method \code - urlSession(_:betterRouteDiscoveredFor:) - \endcode. -*/ +/// Overrides default behavior for URLSessionStreamDelegate method urlSession(_:betterRouteDiscoveredFor:). @property (nonatomic, copy) void (^ _Nullable streamTaskBetterRouteDiscovered)(NSURLSession * _Nonnull, NSURLSessionStreamTask * _Nonnull); -/** - Overrides default behavior for URLSessionStreamDelegate method \code - urlSession(_:streamTask:didBecome:outputStream:) - \endcode. -*/ +/// Overrides default behavior for URLSessionStreamDelegate method urlSession(_:streamTask:didBecome:outputStream:). @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. -*/ +/// Initializes the SessionDelegate instance. +/// +/// returns: +/// The new SessionDelegate 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; +/// Returns a Bool indicating whether the SessionDelegate implements or inherits a method that can respond +/// to a specified message. +/// \param selector A selector that identifies a message. +/// +/// +/// returns: +/// true if the receiver implements or inherits a method that can respond to selector, otherwise false. +- (BOOL)respondsToSelector:(SEL _Nonnull)selector SWIFT_WARN_UNUSED_RESULT; @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. - -*/ +/// 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. - -*/ +/// 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 +/// NSURLSessionTransferSizeUnknown. +/// - (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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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. - -*/ +/// 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 SWIFT_AVAILABILITY(tvos,introduced=10.0) SWIFT_AVAILABILITY(macos,introduced=10.12) SWIFT_AVAILABILITY(ios,introduced=10.0); +/// 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 diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Info.plist index 82613838b5..9f638581e5 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc index 9742d3b774..7c8a501db4 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule index af9ec911c9..89771b0527 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc index 68f8a26450..9ad76f475b 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule index 9985a0d616..a87f58ff01 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc index 827a0ebfb8..2858a1c583 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule index 383c2085bc..aa598e8499 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc index 993a59a049..f637c916f3 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule index 3f8065966b..4c990b818a 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/Alamofire.framework/Modules/Alamofire.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage index 2bbf779a89..f349860b44 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/AlamofireImage differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Headers/AlamofireImage-Swift.h b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Headers/AlamofireImage-Swift.h index 46f5bff6b6..2707c61a05 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Headers/AlamofireImage-Swift.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Headers/AlamofireImage-Swift.h @@ -1,4 +1,4 @@ -// Generated by Apple Swift version 3.0.2 (swiftlang-800.0.63 clang-800.0.42.1) +// Generated by Apple Swift version 3.1 (swiftlang-802.0.48 clang-802.0.38) #pragma clang diagnostic push #if defined(__has_include) && __has_include() @@ -68,6 +68,11 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #else # define SWIFT_NOESCAPE #endif +#if defined(__has_attribute) && __has_attribute(warn_unused_result) +# define SWIFT_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) +#else +# define SWIFT_WARN_UNUSED_RESULT +#endif #if !defined(SWIFT_CLASS_EXTRA) # define SWIFT_CLASS_EXTRA #endif @@ -114,6 +119,18 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #if !defined(SWIFT_UNAVAILABLE) # define SWIFT_UNAVAILABLE __attribute__((unavailable)) #endif +#if !defined(SWIFT_UNAVAILABLE_MSG) +# define SWIFT_UNAVAILABLE_MSG(msg) __attribute__((unavailable(msg))) +#endif +#if !defined(SWIFT_AVAILABILITY) +# define SWIFT_AVAILABILITY(plat, ...) __attribute__((availability(plat, __VA_ARGS__))) +#endif +#if !defined(SWIFT_DEPRECATED) +# define SWIFT_DEPRECATED __attribute__((deprecated)) +#endif +#if !defined(SWIFT_DEPRECATED_MSG) +# define SWIFT_DEPRECATED_MSG(...) __attribute__((deprecated(__VA_ARGS__))) +#endif #if defined(__has_feature) && __has_feature(modules) @import UIKit; @import Foundation; @@ -124,183 +141,127 @@ typedef unsigned int swift_uint4 __attribute__((__ext_vector_type__(4))); #pragma clang diagnostic ignored "-Wduplicate-method-arg" @interface UIButton (SWIFT_EXTENSION(AlamofireImage)) -/** - Cancels the active download request for the image, if one exists. -*/ +/// 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. -*/ +/// 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; +/// 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 nil if the filter failed for any reason. +- (UIImage * _Nullable)af_imageFilteredWithCoreImageFilter:(NSString * _Nonnull)name parameters:(NSDictionary * _Nullable)parameters SWIFT_WARN_UNUSED_RESULT; @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; +/// 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 init?(data:) method. +/// \param data The data object containing the image data. +/// +/// +/// returns: +/// An initialized UIImage object, or nil if the method failed. ++ (UIImage * _Nullable)af_threadSafeImageWith:(NSData * _Nonnull)data SWIFT_WARN_UNUSED_RESULT; +/// 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 init?(data:scale:) 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 UIImage object, or nil if the method failed. ++ (UIImage * _Nullable)af_threadSafeImageWith:(NSData * _Nonnull)data scale:(CGFloat)scale SWIFT_WARN_UNUSED_RESULT; @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; +/// 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 true 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 false for images loaded +/// from an asset catalog with varying resolutions for each screen scale. +/// false by default. +/// +/// +/// returns: +/// A new image object. +- (UIImage * _Nonnull)af_imageRoundedWithCornerRadius:(CGFloat)radius divideRadiusByImageScale:(BOOL)divideRadiusByImageScale SWIFT_WARN_UNUSED_RESULT; +/// Returns a new version of the image rounded into a circle. +/// +/// returns: +/// A new image object. +- (UIImage * _Nonnull)af_imageRoundedIntoCircle SWIFT_WARN_UNUSED_RESULT; @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; +/// 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 SWIFT_WARN_UNUSED_RESULT; +/// 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 scaledSize manually, then use the af_imageScaledToSize +/// method in conjunction with a .Center 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 SWIFT_WARN_UNUSED_RESULT; +/// 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 SWIFT_WARN_UNUSED_RESULT; @end @interface UIImage (SWIFT_EXTENSION(AlamofireImage)) -/** - Returns whether the image contains an alpha component. -*/ +/// Returns whether the image contains an alpha component. @property (nonatomic, readonly) BOOL af_containsAlphaComponent; -/** - Returns whether the image is opaque. -*/ +/// Returns whether the image is opaque. @property (nonatomic, readonly) BOOL af_isOpaque; @end @interface UIImage (SWIFT_EXTENSION(AlamofireImage)) -/** - Returns whether the image is inflated. -*/ +/// 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. -*/ +/// 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. -*/ +/// Cancels the active download request, if one exists. - (void)af_cancelImageRequest; @end diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Info.plist b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Info.plist index e374c91e78..70b617433e 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Info.plist and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Info.plist differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc index fe29225a71..9ff736c899 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule index 9a55dc9fff..9073e264c8 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc index 690e35ac22..cba32efdce 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule index 91de8404bf..6f675cc23f 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/arm64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc index a1300e7124..12eaf424c5 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule index e8e948c15a..4c9f507a3d 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/i386.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc index 3bf660d1ad..99779b63d1 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftdoc differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule index 4fbb72cf7d..901a222772 100644 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule and b/iphone/Maps/3party/Carthage/Build/iOS/AlamofireImage.framework/Modules/AlamofireImage.swiftmodule/x86_64.swiftmodule differ diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h index d5d9811177..fbfb740e43 100644 --- a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h +++ b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Headers/PushNotificationManager.h @@ -9,7 +9,7 @@ #import #import -#define PUSHWOOSH_VERSION @"5.1.2" +#define PUSHWOOSH_VERSION @"5.1.3" @class PushNotificationManager; diff --git a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh index c10fac1363..7e452d6759 100755 Binary files a/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh and b/iphone/Maps/3party/Carthage/Build/iOS/Pushwoosh.framework/Pushwoosh differ