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

7869

May '20

Can a class change one property when another is updated externally?

0

2

50m

How to update clock seconds without rendering view every second?

4

89

8h

NavigationSplitView detail view doesn't update

6

122

13h

How to save a book from google books api to my app using SwiftData ?

4

103

1d

Still completely baffled by why ForEach is not designed to handle closed ranges

2

45

5d

SOLVED: AsyncImage in a ZStack not filling the top of the screen

8

85

5d

SOLVED: How to get the last value of an optional from SwiftData model

14

142

6d

MagnifyGesture priority inside a ScrollView

0

28

6d

SOLVED: Use of "some" keyword with protocol as return type

2

36

6d

Shortcut for adding new property to class after creating several sub/subsub classes?

0

22

8d

SceneKit Camera Problem

2

57

9d

Tile game, dragging tile question

2

102

10d

Code with ObservableObject ✅, code with Observable ❌

2

155

10d

Trouble deleting a view

3

172

11d

Struggling with Menu and NavigationLinks

1

83

11d

SOLVED: Using @ViewBuilder in Enum and passing arguments to view, how to?

3

86

13d

Cannot read iPhone files with .fileImporter

1

141

16d

SOLVED: Class that Contains text, and Images as Parameters

1

95

22d

Hot Prospects: challenge 2

1

89

25d

Performance Struggles With SwiftData and List

2

994

Dec 15

Identifiable actor

0

66

Dec 12

.defaultFocus

3

128

Dec 8

Migrating SwiftData model with inverse relationship

0

68

Dec 6

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

1

126

Dec 5

SOLVED: Custom generic TextField for Int and Double

4

165

Dec 5

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

3

133

Nov 28

SOLVED: #Preview macros with @Binding<String>

6

31718

Nov 28

Moonshot Challenge #3 navigationDestination getting discarded

2

375

Nov 26

Accessing Environment value outside of a view

0

128

Nov 25

SOLVED: Passing object from environment to viewModel

5

289

Nov 25

How to get ScrollView to respect safe area when scrolling?

0

92

Nov 24

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

2

130

Nov 24

NavigationSplitView on iPad is weird

5

229

Nov 22

Why Won't Sheet Dismiss With Parent View

1

105

Nov 19

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

0

181

Nov 18

SOLVED: SwiftUI Charts Y axis Scale

2

1245

Nov 18

TextField in grouped Form not showed as leading

2

125

Nov '24

Best way to create a ViewModel from parent model

2

407

Nov '24

@Observable not always updating child view

10

1828

Nov '24

List Cell - Modifying associated object causes reload of whole list

0

53

Nov '24

Issue with drag and drop functionality in Swift

0

70

Nov '24

How to Properly Recreate the Apple Music Modal Transition?

0

129

Nov '24

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

2

1184

Nov '24

MessageInput view should keep up with the keyboard

0

129

Nov '24

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

0

76

Nov '24

Why does an argument need to be a View Type?

3

204

Nov '24

RESOLVED: Conversion to SwiftData - BackingData?

1

184

Nov '24

SOLVED: Animations with programmable navigation

2

366

Oct '24

.searchable and managing focus

4

5505

Oct '24

Modifier .searchable slow on iOS 18.x

0

128

Oct '24

problem with editing data using .decimalpad

2

142

Oct '24

how to use var to set data in a view

4

351

Oct '24

How to pass data from the Coordinator back to UIViewControllerRepresentable

0

156

Oct '24

Does ShareLink not work in iOS18 simulator?

0

128

Oct '24

Issue running simulator

0

129

Oct '24

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

1

509

Oct '24

What's With the Boolean in WeSplit?

2

232

Oct '24

relational structs - help needed

3

289

Oct '24

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

0

180

Oct '24

Sheet within a section

1

161

Oct '24

Real Time Language Switching in SwiftUI Without App Restart

2

545

Oct '24

List Item Won't Allow Simultaneous Actions

0

159

Oct '24

Persisting Global Component Across All Views

0

113

Oct '24

Programmatically sizing columns of NavigationSplitView?

2

141

Oct '24

Trying to use deeplink URL to launch app

2

963

Sep '24

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

3

1515

Sep '24

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

6

4027

Sep '24

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

2

489

Sep '24

Change the Background of a Non-Navigation Toolbar

1

175

Sep '24

SOLVED: Reverse Slider Direction

2

344

Sep '24

Error when coding

1

208

Sep '24

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

0

131

Sep '24

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

0

223

Sep '24

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

2

258

Sep '24

Unable to share custom file with messaging apps

0

224

Sep '24

How to change list items width similar to Settings on iPad

1

302

Sep '24

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

3

263

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

370

Sep '24

MapKit: interactive Marker

3

384

Sep '24

SOLVED: enum error

1

202

Sep '24

SOLVED - Can't drag an image into Swift project

0

149

Sep '24

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

1

275

Sep '24

Disconnect from BT Device on Terminating App

2

473

Sep '24

Layout question for a numbered list

0

265

Sep '24

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

1

425

Sep '24

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

6

1731

Sep '24

Tab symbol animation

0

142

Sep '24

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

9

2010

Sep '24

Picker set to navigationLink doesn't show any labels

6

1158

Sep '24

Feeling like a fraud

8

1336

Sep '24

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

2

260

Sep '24

SOLVED: Displaying nested array from API call

1

303

Aug '24

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

0

134

Aug '24

SOLVED: Observable class and binding it to alert sheet

7

11553

Aug '24

Storing Users to log into my app

0

230

Aug '24

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

4

511

Aug '24

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

0

200

Aug '24

Zoom Out animation in Swift UI

0

263

Aug '24

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

2

444

Aug '24

 
 

All interactions here are governed by our code of conduct.

Go further, faster with the Swift Career Accelerator.

GO FURTHER, FASTER Unleash your full potential as a Swift developer with the all-new Swift Career Accelerator: the most comprehensive, career-transforming learning resource ever created for iOS development. Whether you’re just starting out, looking to land your first job, or aiming to become a lead developer, this program offers everything you need to level up – from mastering Swift’s latest features to conquering interview questions and building robust portfolios.

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.