From bb74d4711cbe9ec37e9f819d832acabe9b3fc06b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Solana=20Marti=CC=81nez?= Date: Fri, 10 Mar 2023 00:51:34 +0100 Subject: [PATCH 1/2] Unnecessary @ViewBuilder --- Sources/SkeletonUI/Skeleton/SkeletonForEach.swift | 2 +- Sources/SkeletonUI/Skeleton/SkeletonList.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/SkeletonUI/Skeleton/SkeletonForEach.swift b/Sources/SkeletonUI/Skeleton/SkeletonForEach.swift index 1cd52a9..7e5d3d8 100644 --- a/Sources/SkeletonUI/Skeleton/SkeletonForEach.swift +++ b/Sources/SkeletonUI/Skeleton/SkeletonForEach.swift @@ -6,7 +6,7 @@ public struct SkeletonForEach: View where Data: RandomAccessColle private let quantity: Int private let content: (Bool, Data.Element?) -> Content - public init(with data: Data, quantity: Int = 1, @ViewBuilder content: @escaping (Bool, Data.Element?) -> Content) { + public init(with data: Data, quantity: Int = 1, content: @escaping (Bool, Data.Element?) -> Content) { self.data = data self.quantity = quantity self.content = content diff --git a/Sources/SkeletonUI/Skeleton/SkeletonList.swift b/Sources/SkeletonUI/Skeleton/SkeletonList.swift index 10fb78d..1d5eeed 100644 --- a/Sources/SkeletonUI/Skeleton/SkeletonList.swift +++ b/Sources/SkeletonUI/Skeleton/SkeletonList.swift @@ -6,7 +6,7 @@ public struct SkeletonList: View where Data: RandomAccessCollecti private let quantity: Int private let content: (Bool, Data.Element?) -> Content - public init(with data: Data, quantity: Int = 1, @ViewBuilder content: @escaping (Bool, Data.Element?) -> Content) { + public init(with data: Data, quantity: Int = 1, content: @escaping (Bool, Data.Element?) -> Content) { self.data = data self.quantity = quantity self.content = content From 6f1b2e6e8e48ffa8166eb740ba9619ec8d66dcec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Solana=20Marti=CC=81nez?= Date: Fri, 10 Mar 2023 14:55:54 +0100 Subject: [PATCH 2/2] Unnecessary @ViewBuilder --- CHANGELOG.md | 10 ++++++++++ SkeletonUI.podspec | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3faf2e..d8faaf8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,16 @@ # Change Log All notable changes to this project will be documented in this file. +## [1.0.10](https://github.com/CSolanaM/SkeletonUI/releases/tag/1.0.10) +### Added +- +### Changed +- +### Removed +- +### Fixed +- Removed unnecessary code + ## [1.0.9](https://github.com/CSolanaM/SkeletonUI/releases/tag/1.0.9) ### Added - diff --git a/SkeletonUI.podspec b/SkeletonUI.podspec index 719092f..52c0b4f 100644 --- a/SkeletonUI.podspec +++ b/SkeletonUI.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'SkeletonUI' - s.version = '1.0.9' + s.version = '1.0.10' s.summary = 'Elegant skeleton loading animation in SwiftUI and Combine' s.description = <<-DESC SkeletonUI aims to bring an elegant, declarative syntax to skeleton loading animations. Get rid of loading screens or spinners and start using skeletons to represent final content shapes