Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
lfs: true
- name: Test BSWInterfaceKit iOS
run: set -o pipefail && xcodebuild -scheme BSWInterfaceKit -destination "platform=iOS Simulator,name=iPhone 17,OS=26.0" test | xcbeautify --renderer github-actions
run: set -o pipefail && xcodebuild -scheme BSWInterfaceKit -destination "platform=iOS Simulator,name=iPhone 17,OS=26.2" test | xcbeautify --renderer github-actions

macos-build:
runs-on: mobile
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public extension View {
/// - item: the Binding to the Item being presented
/// - onDismiss: a callback to be called on dismissal
/// - content: the content to be presented
func intrinsicHeightSheet<Item: Identifiable, Content: View>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, content: @escaping (Item) -> Content) -> some View {
func intrinsicHeightSheet<Item: Identifiable, Content: View>(item: Binding<Item?>, onDismiss: (() -> Void)? = nil, @ViewBuilder content: @escaping (Item) -> Content) -> some View {
IntrinsicHeightDetentView_ForItems(
hostView: self,
contentView: content,
Expand Down Expand Up @@ -85,7 +85,7 @@ struct IntrinsicHeightDetentView_ForBool<Host: View, Content: View>: View {
struct IntrinsicHeightDetentView_ForItems<Host: View, Content: View, Item: Identifiable>: View {

let hostView: Host
let contentView: (Item) -> Content
@ViewBuilder let contentView: (Item) -> Content
@Binding var isPresented: Item?
let onDismiss: (() -> Void)?
@State var sheetSize: CGSize = .zero
Expand Down Expand Up @@ -119,7 +119,6 @@ private extension View {
/// Sets the `View`'s size to the passed `Binding`
/// - Parameter viewSize: The `Binding` where to store the value
/// - Returns: a `SwiftUI.View`.
@available(*, deprecated, message: "Avoid using getCGSize; prefer standard presentationDetents like .medium/.large.")
func getCGSize(_ viewSize: Binding<CGSize>) -> some View {
background(
GeometryReader { proxy in
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading