Alamofire / AlamofireImage

AlamofireImage is an image component library for Alamofire
MIT License
3.99k stars 523 forks source link

Fix build using Xcode 9.4.1. #350

Closed jshier closed 5 years ago

jshier commented 5 years ago

Issue Link :link:

349

Goals :soccer:

This PR fixes build issues with Xcode 9.4.1 and makes some changes suggested by the Swift 5 compiler vary by Swift version. Compatibility mode is not backwards compatible.

Implementation Details :construction:

Had to use #if swift rather than #if compiler since Xcode 9 is so old. :(