Speeding Up Slow Swift Build Times
Nick O'Neill
915

Note to Kingfisher library users:

My build went from 89s to 6s by breaking out the optionsInfo parameter like so:

let optionsInfo: Kingfisher.KingfisherOptionsInfo? = [Kingfisher.KingfisherOptionsInfoItem.Transition(ImageTransition.Fade(1))]
photoImageView.kf_setImageWithURL(url, placeholderImage: nil, optionsInfo: optionsInfo)

instead of

photoImageView.kf_setImageWithURL(url, placeholderImage: nil, optionsInfo: [.Transition(ImageTransition.Fade(1))])