BLACK FRIDAY: Save 50% on all my Swift books and bundles! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

7804

May '20

Code with ObservableObject ✅, code with Observable ❌

0

3

1h

Identifiable actor

0

29

2d

Cannot read iPhone files with .fileImporter

0

30

3d

.defaultFocus

3

69

5d

Migrating SwiftData model with inverse relationship

0

38

7d

Don't be able to show an image in a Widget

1

64

8d

SOLVED: Custom generic TextField for Int and Double

4

76

9d

Project 6, part 2, Strange Behaviour, Shape property not applied.

3

90

15d

SOLVED: #Preview macros with @Binding<String>

6

31221

15d

Moonshot Challenge #3 navigationDestination getting discarded

2

313

17d

Accessing Environment value outside of a view

0

65

19d

SOLVED: Passing object from environment to viewModel

5

172

19d

How to get ScrollView to respect safe area when scrolling?

0

43

20d

SOLVED: How Can I Use the Developer Docs More Effectively?

2

92

20d

NavigationSplitView on iPad is weird

5

136

22d

Why Won't Sheet Dismiss With Parent View

1

68

24d

SwiftCharts: How to show annotations on gesture tap in a scrollable chart?

0

79

25d

SwiftUI Charts Y axis Scale

2

1043

25d

TextField in grouped Form not showed as leading

2

80

Nov 13

Best way to create a ViewModel from parent model

2

290

Nov 13

@Observable not always updating child view

10

1471

Nov 13

List Cell - Modifying associated object causes reload of whole list

0

40

Nov 12

Issue with drag and drop functionality in Swift

0

47

Nov 11

How to Properly Recreate the Apple Music Modal Transition?

0

74

Nov 11

SOLVED: NavigationLinks to "Details" page do not work after data changes

2

1031

Nov 11

MessageInput view should keep up with the keyboard

0

82

Nov 9

Strange visual artifacts in LazyVStack with Xcode 16.x on iOS 18.x

0

52

Nov 7

Why does an argument need to be a View Type?

3

174

Nov 6

RESOLVED: Conversion to SwiftData - BackingData?

1

125

Nov 4

SOLVED: Animations with programmable navigation

2

212

Oct 31

.searchable and managing focus

4

5063

Oct 29

Modifier .searchable slow on iOS 18.x

0

89

Oct 28

problem with editing data using .decimalpad

2

111

Oct 22

how to use var to set data in a view

4

280

Oct 19

How to pass data from the Coordinator back to UIViewControllerRepresentable

0

124

Oct 17

Does ShareLink not work in iOS18 simulator?

0

100

Oct 15

Issue running simulator

0

98

Oct '24

How does Spotify's "clear cache" button work?

1

493

Oct '24

What's With the Boolean in WeSplit?

2

177

Oct '24

relational structs - help needed

3

245

Oct '24

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

0

134

Oct '24

Sheet within a section

1

139

Oct '24

Real Time Language Switching in SwiftUI Without App Restart

2

406

Oct '24

List Item Won't Allow Simultaneous Actions

0

120

Oct '24

Persisting Global Component Across All Views

0

96

Oct '24

Programmatically sizing columns of NavigationSplitView?

2

122

Oct '24

Trying to use deeplink URL to launch app

2

859

Sep '24

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

3

1370

Sep '24

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

6

3832

Sep '24

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

2

434

Sep '24

Change the Background of a Non-Navigation Toolbar

1

143

Sep '24

SOLVED: Reverse Slider Direction

2

278

Sep '24

Error when coding

1

176

Sep '24

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

0

105

Sep '24

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

0

157

Sep '24

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

2

212

Sep '24

Unable to share custom file with messaging apps

0

161

Sep '24

How to change list items width similar to Settings on iPad

1

251

Sep '24

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

3

228

Sep '24

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

281

Sep '24

MapKit: interactive Marker

3

341

Sep '24

SOLVED: enum error

1

168

Sep '24

SOLVED - Can't drag an image into Swift project

0

127

Sep '24

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

1

242

Sep '24

Disconnect from BT Device on Terminating App

2

393

Sep '24

Layout question for a numbered list

0

221

Sep '24

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

1

330

Sep '24

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

6

1591

Sep '24

Tab symbol animation

0

120

Sep '24

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

9

1505

Sep '24

Picker set to navigationLink doesn't show any labels

6

1085

Sep '24

Feeling like a fraud

8

1197

Sep '24

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

2

220

Sep '24

SOLVED: Displaying nested array from API call

1

251

Aug '24

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

0

116

Aug '24

SOLVED: Observable class and binding it to alert sheet

7

10914

Aug '24

Storing Users to log into my app

0

200

Aug '24

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

4

456

Aug '24

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

0

174

Aug '24

Zoom Out animation in Swift UI

0

229

Aug '24

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

2

379

Aug '24

Which elements does controlSize work on?

1

241

Aug '24

SOLVED: @State var in loop

1

323

Aug '24

Best practice making a view with a summary view

0

252

Aug '24

SOLVED: New Observable and Environment giving run time error

1

301

Aug '24

How to Use Swift to Create an Interactive Soccer Coaching App

1

277

Aug '24

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

1

303

Aug '24

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

1

285

Aug '24

Hstack inside a view with .transition is not animated

0

182

Aug '24

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

1

274

Aug '24

[SwiftUI] Does not render PDF after app closes

1

335

Aug '24

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

0

161

Aug '24

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

5

921

Aug '24

SOLVED: How do I identify device type in Swiftui?

2

666

Aug '24

Nonisolated function inside SwiftUI struct?

1

395

Aug '24

Animating a Stepper Button on SwiftUI

2

376

Aug '24

SwiftData, CloudKit Sharing between different users

3

1746

Aug '24

Removing the leading inset from a list

0

226

Aug '24

Refreshing a list over time

4

762

Aug '24

 
 

All interactions here are governed by our code of conduct.

Save 50% in my WWDC sale.

SAVE 50% All our books and bundles are half price for Black Friday, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.