Releases: faberNovel/ADUtils
Releases · faberNovel/ADUtils
v12.2.0
v12.1.1
Fixed
- Handle default system font weights for SwiftUI
- Add largeTitle style in font tests
v12.1.0
Added
- Add
String.attributedString(arguments:defaultAttributes:formatAttributes:)
andString.attributedString(arguments:defaultAttributes:differentFormatAttributes:)
utility methods to createAttributedString
from a list of strings and attributes. - Add
String.attributedString(arguments:defaultAttributes:)
utility method to createAttributedString
from aString
format and a list ofAttributedString
. - Add helper init for
AttributeContainer
to create one with a configuration closure.
v12.0.1
Fixed
- Fix iOS and tvOS supported versions in Package.swift
- Remove MainActor attribute from
DynamicFontProvider
as it is not required
v12.0.0
Added
- Add Swift Concurrency support
- Add
UIRectEdge.horizontal
andUIRectEdge.vertical
utility static variables. - Add
NSDirectionalRectEdge.horizontal
andNSDirectionalRectEdge.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
Updated
- Add scale parameter to
UIImage.ad_filled
.
v11.4.0
Created
- Add a SwiftUI Font provider in
DynamicFont
v11.3.0
Created
- Add a subspec
ADUtils/Security
bundling security related tools. - Add
PostInstallationKeychainCleaner
usingUserDefaults
to check if keychain has to be wiped at launch - Add
SecureArchiver
, leveragingCryptoKit
and theKeychain
to add an encryption layer toUserDefaults
Fixed
- iOS 14.0+ gives a new property on navigationItem :
backButtonDisplayMode
.ad_hideBackButtonTitle
now uses it.
v11.2.0
v11.1.0
Created
verifyOrNil(_:over:)
Optional.verifying(_:)
UIImage.ad_filled(with:size:)
UIButton.ad_setBackgroundColor(:forState:)
UICollectionView.dequeueSupplementaryView<U: ClassIdentifiable>(_:ofKind:at:)
dequeue generic reusable view fromUICollectionView
UICollectionView.register(supplementaryView:kind:)
register generic reusable view fromUICollectionView
HStackView(spacing:alignment:distribution:arrangedSubviews:)
VStackView(spacing:alignment:distribution:arrangedSubviews:)
Fixed
Debounced
property wrapper no longer has a retain cycle