Skip to content

Releases: faberNovel/ADUtils

v12.2.0

22 Apr 12:01
b7de125
Compare
Choose a tag to compare

Added

  • Add PrivacyInfo.xcprivacy to comply with Apple new privacy requirements

v12.1.1

23 Feb 09:36
791ccbd
Compare
Choose a tag to compare

Fixed

  • Handle default system font weights for SwiftUI
  • Add largeTitle style in font tests

v12.1.0

15 Jan 10:07
67dd95a
Compare
Choose a tag to compare

Added

  • Add String.attributedString(arguments:defaultAttributes:formatAttributes:) and String.attributedString(arguments:defaultAttributes:differentFormatAttributes:) utility methods to create AttributedString from a list of strings and attributes.
  • Add String.attributedString(arguments:defaultAttributes:) utility method to create AttributedString from a String format and a list of AttributedString.
  • Add helper init for AttributeContainer to create one with a configuration closure.

v12.0.1

22 Nov 13:13
802d9d8
Compare
Choose a tag to compare

Fixed

  • Fix iOS and tvOS supported versions in Package.swift
  • Remove MainActor attribute from DynamicFontProvider as it is not required

v12.0.0

21 Nov 11:43
dab5dbb
Compare
Choose a tag to compare

Added

  • Add Swift Concurrency support
  • Add UIRectEdge.horizontal and UIRectEdge.vertical utility static variables.
  • Add NSDirectionalRectEdge.horizontal and NSDirectionalRectEdge.vertical utility static variables.

Removed

  • Drop support for iOS 11, 12 and 13
  • Drop support for tvOS 11, 12 and 13
  • Drop support for Swift below 5.7

v11.5.0

19 Sep 15:47
c5f742e
Compare
Choose a tag to compare

Updated

  • Add scale parameter to UIImage.ad_filled.

v11.4.0

05 Jul 14:33
793fb01
Compare
Choose a tag to compare

Created

  • Add a SwiftUI Font provider in DynamicFont

v11.3.0

01 Aug 12:00
ee4125d
Compare
Choose a tag to compare

Created

  • Add a subspec ADUtils/Security bundling security related tools.
  • Add PostInstallationKeychainCleaner using UserDefaultsto check if keychain has to be wiped at launch
  • Add SecureArchiver, leveraging CryptoKit and the Keychain to add an encryption layer to UserDefaults

Fixed

  • iOS 14.0+ gives a new property on navigationItem : backButtonDisplayMode. ad_hideBackButtonTitle now uses it.

v11.2.0

18 May 09:42
b4e2202
Compare
Choose a tag to compare

Created

  • Add SPM support #21 via Alexandre Podlewski

v11.1.0

22 Mar 08:22
cab2352
Compare
Choose a tag to compare

Created

  • verifyOrNil(_:over:)
  • Optional.verifying(_:)
  • UIImage.ad_filled(with:size:)
  • UIButton.ad_setBackgroundColor(:forState:)
  • UICollectionView.dequeueSupplementaryView<U: ClassIdentifiable>(_:ofKind:at:) dequeue generic reusable view from UICollectionView
  • UICollectionView.register(supplementaryView:kind:) register generic reusable view from UICollectionView
  • HStackView(spacing:alignment:distribution:arrangedSubviews:)
  • VStackView(spacing:alignment:distribution:arrangedSubviews:)

Fixed

  • Debounced property wrapper no longer has a retain cycle