GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

7655

May '20

relational structs - help needed

3

51

17h

Filter with token doesn't work

0

20

1d

Is there a better way to do if #available in my ActivityConfiguration?

0

27

2d

Sheet within a section

1

39

3d

Real Time Language Switching in SwiftUI Without App Restart

2

68

3d

List Item Won't Allow Simultaneous Actions

0

44

6d

Persisting Global Component Across All Views

0

30

6d

Programmatically sizing columns of NavigationSplitView?

2

62

7d

Trying to use deeplink URL to launch app

2

606

9d

SOLVED: #Preview macros with @Binding<String>

6

15024

9d

SOLVED: Should the .externalStorage attribute work with a SwiftData model property that is an array of optional data?

3

1010

9d

Getting the location in the View where the user (long) tapped/pressed

6

3250

10d

Why is SwiftData element not deleting when .confirmation is used?

2

296

10d

Change the Background of a Non-Navigation Toolbar

1

63

13d

SOLVED: Reverse Slider Direction

2

90

13d

Error when coding

1

85

15d

dropDestination respresenting color differently to what I expect (and need)

0

38

15d

SOLVED - Why Doesn't Xcode Allow me to put images into Assets.xcassets?

0

48

20d

SOLVED: Need help with the new (macOS 15, iOS 18) vectorized LinePlot

2

107

20d

Unable to share custom file with messaging apps

0

55

21d

How to change list items width similar to Settings on iPad

1

86

22d

SOLVED: Update Bindings in arbitrary number of child Views when parent changes?

3

115

22d

SOLVED: Sign in with Apple (I don't know how I can to add the ability to enter additional data such as "username" and "fullname" during registration via Apple ID.)

3

104

23d

MapKit: interactive Marker

3

216

24d

SOLVED: enum error

1

84

25d

SOLVED - Can't drag an image into Swift project

0

47

25d

Moonshot crashed due to Fatal error in Bundle-Decodable.swift at line 23

1

141

27d

Disconnect from BT Device on Terminating App

2

159

29d

@Observable not always updating child view

9

746

Sep 8

Layout question for a numbered list

0

80

Sep 7

Best way to create a ViewModel from parent model

0

80

Sep 6

How do I hide the white background when rearranging items in a List

1

184

Sep 5

SOLVED: ChildView gets data via @Bindable model but doesn't refresh after updating properties of the model

6

1217

Sep 5

Tab symbol animation

0

59

Sep 3

SOLVED SwiftData app not saving - what am I doing wrong?

9

535

Sep 3

Picker set to navigationLink doesn't show any labels

6

876

Sep 2

Feeling like a fraud

8

863

Sep 2

SOLVED: Project 8 - Why doesn't the image appear?

2

103

Sep 1

SOLVED: Displaying nested array from API call

1

97

Aug 30

Matched Transition - How do shut off "pinch" on the Destination View

0

58

Aug 29

SOLVED: Observable class and binding it to alert sheet

7

9068

Aug 26

Storing Users to log into my app

0

93

Aug 24

SOLVED: Day 9: Passing Closure into Sorted(By: )

4

280

Aug 24

SOLVED: Back button start to appear in previous page using Navigation Stack

0

101

Aug 22

Zoom Out animation in Swift UI

0

127

Aug 20

SOLVED: I need help deciphering the code to get available currencies

2

228

Aug 20

Which elements does controlSize work on?

1

151

Aug 19

SOLVED: @State var in loop

1

219

Aug 14

Best practice making a view with a summary view

0

158

Aug 14

SOLVED: New Observable and Environment giving run time error

1

175

Aug 13

How to Use Swift to Create an Interactive Soccer Coaching App

1

179

Aug 11

SOLVED: Custom fonts stop showing sometimes when you switch applications in SwiftUI

1

154

Aug 11

SOLVED: Multiple navigation options in a card ~ how best to handle this?

1

185

Aug 10

Hstack inside a view with .transition is not animated

0

107

Aug '24

[Question] Is it possible to compare dates with #Predicate

1

189

Aug '24

[SwiftUI] Does not render PDF after app closes

1

191

Aug '24

How can I only display complete rows of a list without vertical truncation?

0

112

Aug '24

SOLVED: DatePicker, how to save the date as a var

5

540

Aug '24

SOLVED: How do I identify device type in Swiftui?

2

307

Aug '24

Nonisolated function inside SwiftUI struct?

1

228

Aug '24

Animating a Stepper Button on SwiftUI

2

257

Aug '24

SwiftData, CloudKit Sharing between different users

3

781

Aug '24

Removing the leading inset from a list

0

142

Aug '24

Refreshing a list over time

4

467

Aug '24

How to update a view from escaping closure

0

119

Aug '24

Strange padding on ContextMenu with List on SwiftUI

0

176

Aug '24

Icon only button

1

291

Aug '24

Swift Data and Fetching from the database not working as expected.

2

337

Aug '24

ShareLink Rendering Code executes before User "shares"

2

327

Jul '24

SOLVED: Preview crashes when trying to display SwiftData model

4

991

Jul '24

Performance Struggles With SwiftData and List

1

412

Jul '24

Why Isn't .onChange Triggering After Initial Bluetooth Pairing?

1

237

Jul '24

SOLVED: Add sections to customer List

2

331

Jul '24

Swift Chart - BarMark Gantt vertical steps

2

419

Jul '24

Hello!

0

120

Jul '24

SOLVED: SwiftData & CloudKit

2

1356

Jul '24

onInsert not working in macOS ForEach

1

169

Jul '24

@State variable with @Binding is not triggering the view to re-render when changed

0

141

Jul '24

SOLVED: buttons rotation and different colors

2

332

Jul '24

SOLVED: How to share a common function across multiple views in SWIFTUI app?

2

422

Jul '24

@State date stays the same among multiple views

1

297

Jul '24

How to preload CloudKit SwiftData with data on first launch

3

654

Jul '24

SOLVED: SwiftUI + Pop to Root TabView Functionality

5

4711

Jul '24

DocumentGroup app on mac loses its "new document" button if I declare a WindowGroup?

0

132

Jul '24

new developer, need help displaying on screen

1

316

Jul '24

Using SwiftData with a Widget leads to deadlock

2

812

Jul '24

LazyVGrid not updating correctly

0

259

Jul '24

SOLVED: Speech-to-text: View not updating with transcription

1

240

Jul '24

Please help with animation

3

395

Jul '24

What would be the Best way to download a file? REST API or directly from a URL?

1

370

Jul '24

Is the .refreshable view modifier inherited by all the subviews within an HStack?

0

142

Jul '24

How to Address Swift6 when using UIDevice.current.userInterfaceIdiom

0

300

Jul '24

Day 19: Solved : **I would like someone to grade my code or let me know if i have made any mistakes? Why my simulator shows two done while building this code.

0

149

Jul '24

How do you use @Bindable togheter with inferred relationship?

2

254

Jul '24

How do I put Pencil into my application?

0

203

Jul '24

SOLVED: Passing @EnvironmentObject to NavigationDestination

1

333

Jul '24

How can I update a @StateObject / @EnvironmentObject from a function?

4

417

Jul '24

SOLVED: Can I write a query for two SwiftData models?

3

577

Jun '24

Can't filter SwiftData @Query based on an @EnvironmentObject

1

256

Jun '24

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure and A/B test your entire paywall UI without any code changes or app updates.

Learn more here

Sponsor Hacking with Swift and reach the world's largest Swift community!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.