Skip to content

Commit

Permalink
Add missing image cache initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
danielsaidi committed Jan 13, 2025
1 parent e8010b9 commit 39dc7c4
Show file tree
Hide file tree
Showing 204 changed files with 214 additions and 204 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2020-2024 Daniel Saidi
Copyright (c) 2020-2025 Daniel Saidi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
9 changes: 8 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,18 @@ SwiftUIKit makes its best effort to honor semver, but breaking changes can occur



## 5.0.1
## 5.0.3

This patch makes the `ImageCache` initializer public.



## 5.0.2

This patch adds variadic component support to `LinkText` and makes it possible for each link component to specify its own style.



## 5.0.1

This patch updates `LinkText` to work with Swift 6, after a post 5.0 Swift concurrency change made it stop compiling.
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Bundle/Bundle+Information.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-09.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Buttons/Button+Init.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2024-04-30.
// Copyright © 2024 Daniel Saidi. All rights reserved.
// Copyright © 2024-2025 Daniel Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Buttons/Button+Standard.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2024-04-30.
// Copyright © 2024 Daniel Saidi. All rights reserved.
// Copyright © 2024-2025 Daniel Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Cameras/DocumentCamera.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-01-22.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

#if os(iOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Cameras/PhotoCamera.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-11-27.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

#if os(iOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Array+Range.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2016-06-12.
// Copyright © 2016-2024 Daniel Saidi. All rights reserved.
// Copyright © 2016-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Collection+Async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-11-10.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Collection+Content.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-09.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Collection+Distinct.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-09.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Sequence+Batch.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2017-05-10.
// Copyright © 2017-2024 Daniel Saidi. All rights reserved.
// Copyright © 2017-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Collections/Sequence+Group.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-04.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Colors/Color+Codable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-08-23.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

// This extension makes `Color` implement `Codable`.
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Colors/Color+Hex.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2022-05-06.
// Copyright © 2022-2024 Daniel Saidi. All rights reserved.
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Colors/Color+Random.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-08-17.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Colors/ColorRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2022-05-06.
// Copyright © 2022-2024 Daniel Saidi. All rights reserved.
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
//

#if os(macOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Commands/AboutPanelCommand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2023-11-21.
// Copyright © 2023-2024 Daniel Saidi. All rights reserved.
// Copyright © 2023-2025 Daniel Saidi. All rights reserved.
//

#if os(macOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/Collection+RawRepresentable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2023-04-24.
// Copyright © 2023-2024 Daniel Saidi. All rights reserved.
// Copyright © 2023-2025 Daniel Saidi. All rights reserved.
//
// Inspiration: https://nilcoalescing.com/blog/SaveCustomCodableTypesInAppStorageOrSceneStorage/
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/CsvParser.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftKit
//
// Created by Daniel Saidi on 2018-10-23.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/Image+ScanCode.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
//
//
// Created by Daniel Saidi on 2023-11-21.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

#if os(iOS) || os(tvOS) || os(macOS)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/MimeType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-03-26.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/ScanCodeType.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-08-03.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Data/StorageValue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2023-04-24.
// Copyright © 2023-2024 Daniel Saidi. All rights reserved.
// Copyright © 2023-2025 Daniel Saidi. All rights reserved.
//
// Inspiration: https://nilcoalescing.com/blog/SaveCustomCodableTypesInAppStorageOrSceneStorage/
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Calendar+Date.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-04-29.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Date+AddRemove.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2015-05-15.
// Copyright © 2015-2024 Daniel Saidi. All rights reserved.
// Copyright © 2015-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Date+Compare.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2015-05-15.
// Copyright © 2015-2024 Daniel Saidi. All rights reserved.
// Copyright © 2015-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Date+Components.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-11-03.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Date+Difference.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-08-05.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/Date+Init.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-08-05.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/DateFormatter+Init.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2018-09-05.
// Copyright © 2018-2024 Daniel Saidi. All rights reserved.
// Copyright © 2018-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/JSONDecoder+Date.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2018-09-05.
// Copyright © 2018-2024 Daniel Saidi. All rights reserved.
// Copyright © 2018-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Date/JSONEncoder+Date.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2018-09-05.
// Copyright © 2018-2024 Daniel Saidi. All rights reserved.
// Copyright © 2018-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Device/DeviceIdentifier.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2016-11-24.
// Copyright © 2016-2024 Daniel Saidi. All rights reserved.
// Copyright © 2016-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Errors/ErrorAlertConvertible.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2022-05-04.
// Copyright © 2022-2024 Daniel Saidi. All rights reserved.
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Errors/ErrorAlerter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2022-05-04.
// Copyright © 2022-2024 Daniel Saidi. All rights reserved.
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/Comparable+Limit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2018-10-04.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-09.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import Foundation
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/DispatchQueue+Async.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-06-02.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//
// https://danielsaidi.com/blog/2020/06/03/dispatch-queue
//
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/EdgeInsets+Edge.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2020-09-15.
// Copyright © 2020-2024 Daniel Saidi. All rights reserved.
// Copyright © 2020-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/EdgeInsets+Init.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// KeyboardKit
//
// Created by Daniel Saidi on 2021-09-30.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/EdgeInsets+UIKit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2022-05-19.
// Copyright © 2022-2024 Daniel Saidi. All rights reserved.
// Copyright © 2022-2025 Daniel Saidi. All rights reserved.
//

#if canImport(UIKit)
Expand Down
2 changes: 1 addition & 1 deletion Sources/SwiftUIKit/Extensions/Label+Init.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SwiftUIKit
//
// Created by Daniel Saidi on 2021-11-10.
// Copyright © 2021-2024 Daniel Saidi. All rights reserved.
// Copyright © 2021-2025 Daniel Saidi. All rights reserved.
//

import SwiftUI
Expand Down
Loading

0 comments on commit 39dc7c4

Please sign in to comment.