SwifterSwift v3.0.0 Release Notes

  • API Breaking

    ✨ Enhancements

    • 📚 Documentation should be greatly improved and up to date now that we are using Jazzy to auto-generate docs! :tada: #198 by @omaralbeik

    • 👍 SwifterSwift now supports subspecs to offer more control over imported extensions: #198 by @omaralbeik

      • SwifterSwift/Foundation
      • SwifterSwift/UIKit
      • SwifterSwift/Cocoa
    • Array extensions now have throwing signatures. #170 by @LucianoPAlmeida

    • New Array extensions

      • added groupByKey to group the elements of the array by key in a dictionary. #181 by @LucianoPAlmeida
      • added forEach(slice:body:) to iterate by specified slice size and call a closure. #194 by @LucianoPAlmeida
    • New Dictionary extensions

      • add count(where:) to count dictionary elements where the condition returns true. #193 by @LucianoPAlmeida
    • New String extensions

      • added isValidFileUrl to check if a String is a valid file URL. #175 by @LucianoPAlmeida
      • added hasUniqueCharacters() method to check if string only contains unique characters. #195 by @FrankKair
    • New Data extensions

    • New UITextField extensions

      • added addPaddingLeft extension to add padding to a UITextField. #185 by @SD10

    🛠 Bugfixes