TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

7078

May '20

How to fix this weird animation issue

2

14

35m

Font recommendation

3

52

4h

How can I unzip a file

1

19

4h

Picker from the toolbar in watchOS

0

14

10h

SOLVED: How do I add Pull Down to refresh in WebView

6

58

17h

SwitData and NSEntityDescription error

0

12

21h

View does just refresh after going back and then to it again

0

51

1d

Share Bug: First share attempt shows a blank sheet.

0

18

1d

SOLVED: Preview crashes when trying to display SwiftData model

1

38

1d

Rendering to PDF fails in iOS 17.4 (OK in iOS 17.2)

2

131

3d

Conditional logic for submitLabel ?

2

48

3d

SOLVED: How can I update a View from a function called by my Model?

3

94

4d

SwiftData Relationship woes

0

27

4d

.onChange does not trigger after pairing

0

28

5d

SwiftUI 2023 : Is @AppStorage the elephant in the room ? What's the solution now if you go the MVVM way !?

6

3243

5d

SOLVED: Picker won't update

1

40

5d

NavigationStackView DetailView not reseting States and StateObjects when changing selection

0

44

7d

Should I create a ModelContext or use the container.mainContext

0

32

7d

Apple activity ring(sparkle effect)

2

88

8d

Progress View- What am I missing

5

103

9d

How does .asymmetric's insertion and removal works?

5

95

9d

SOLVED: Removal transition of rectangle is not working

2

84

10d

SOLVED: How to open a new WindowGroup with a SwiftData model in macOS

2

96

10d

SOLVED: SwiftData enum No exact matches in call to instance method 'setValue' error

2

60

10d

SOLVED: Refresh and Go back function for Webkit's Webview in SwiftUI

1

70

11d

Non-constant range: not an integer range while enumerating an array of arrays... why?

2

53

11d

SOLVED: SwiftUI Map and Annotation has weird result

1

64

11d

SOLVED: Alternative to offsets

32

483

11d

Gesture: System gesture gate timed out.

6

3449

12d

SOLVED: Restore missing purchases

4

97

12d

SwiftUI Charts Y axis Scale

1

85

13d

UITesting ShareLink: tap() clearly moving index inside app.images list.

0

37

14d

UITesting Lists: How to set accessibilityIdentifier for onDelete swipe button?

1

51

15d

SOLVED: Assistance Needed with Predicate Usage in SwiftData Initializer

1

76

15d

Basic Navigation Stack - working but multiple errors

1

223

16d

SOLVED: I don't understand this .animation modifier.

3

113

16d

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

1

85

17d

SOLVED: ScrollView category title

5

397

17d

Keep the iOS keyboard visible while switching between TextFields

2

115

17d

SOLVED: Nil value where no nil value should be somehow

6

194

18d

SOLVED: SwiftData & CloudKit

1

121

18d

SOLVED: Time for a VisionOS forum? And a question about custom materials...

4

390

19d

SOLVED: Why do I get a "Publishing changes from within view updates is not allowed, this will cause undefined behavior" error

9

294

20d

Button to bring up a new View in SwiftUI

2

125

21d

Detect & use mouse wheel movement/event to call a function?

6

2241

21d

How to return mulitple views using return statement in SwiftUI?

5

139

21d

SOLVED: WEBVIEW DOES NOT SHOW CHANGES

3

124

22d

HOW TO READ DATA WITH FIRESTORE AND SWIFTUI

0

56

23d

SOLVED: How to let views remain the same on different iPhone screens

42

728

23d

@ObservedObject not changing on child view and it makes no sense

3

112

23d

Day 19: Challenge Day

1

85

24d

Apple App Store privacy policy generator ?

0

64

24d

How to make a loop in a View with vars? Solved!!

0

64

24d

In app purchase Storekit SwiftUI button grayed out after purchase is complete in iOS 17

2

234

25d

How to catch move start/finish events, when moving rows in a SwiftUI List with the `onMove` method?

0

51

25d

SwiftUI SwiftData mentor

0

60

25d

SwiftUI View Alignment Issue on Device Orientation Change and App Background to Foreground Transition

2

134

26d

SOLVED: Selected item on Sidebar forced back to nil when returning from Detail view (on iPhone)

1

86

26d

SOLVED: Debugging Out of Memory Help

14

582

28d

HOW TO GET RID OF DELAY IN WEBVIEW

0

73

29d

Sparkle ring animation

2

185

Apr 18

request App Review causing strange crash

7

1129

Apr 16

SOLVED: SwiftUI generates a new UUID for my Structs

1

134

Apr 16

Tried to use .alert without trailing closure and I am getting this Error

1

78

Apr 16

Odd behaviour with SwiftData

2

103

Apr 16

Setting the step property of a slider slows it WAAAYYYY down.

0

52

Apr 16

SOLVED: SwiftData and iCloud showing ADDED records between devices correctly, but not showing EDITED records automatically

1

84

Apr 14

UltimatePortfolio Project: Unable to initialize without a valid iCloud account

14

2498

Apr 14

How can you tell if the attribute allowsCloudEncryption works?

0

51

Apr 14

Create a two-column grid using ForEach with variable-length array

3

1760

Apr 14

SOLVED: Returning the number of records in a SwiftData model back to a parent view after filtering/deleting/adding

1

174

Apr 13

How do I create a List Section based on an empty related field in SwiftData?

2

194

Apr 10

Seamless joining between TextField and Button

10

651

Apr 9

SOLVED: Correct use of SwiftData in a Picker

2

1351

Apr 8

How do I refresh a view when the modelContext hasn't changed

0

89

Apr 8

Monitoring Changes in an Array of @Observable Classes

1

226

Apr 6

SOLVED: Any suggestions to get around the memory leak caused by multiple presentation detents on Sheet?

11

2061

Apr 6

How do I use Swift Data with an App Extension Target (Device Activity Monitor )

0

144

Apr 6

Charts last two x labels overlap

0

74

Apr 5

Runtime error after adding CloudKit to SwiftData App

1

168

Apr 5

Showing a View from a Model ??

1

113

Apr 5

Drag Drop Table row using Transferable?

4

672

Apr 5

SOLVED: Getting rid of two chevrons from navigation link

2

160

Apr 4

How can I decode a json to populate a List?

4

220

Apr 4

Wakanda 'TextField' has a 'label' closure? Why tho?

1

122

Apr 3

Adding an invisible Cmd-Key shortcut to ContentView

1

161

Apr 3

Multiple .environment() ?

1

179

Apr 2

Lazy loading of dependent relationship in SwiftData

1

150

Mar 31

'@State' used to 'keep property alive'?

2

246

Mar 30

Speed of movement based on time

2

174

Mar 30

Question about the updated version of the SwiftUI course

4

216

Mar 29

SOLVED: Increasing Performance in SwiftData

2

255

Mar 29

When using a .fileimporter all files greyed out (iOS)

0

95

Mar 28

How to replace "New" document menu or implement a custom Open Recent menu?

4

337

Mar 27

SOLVED: isPresented: on the basis of an observed object not being empty?

8

491

Mar 27

SwiftData Filter by object and relationship?

0

116

Mar 27

Error message at "Cannot find 'GrubbView(userId:)' in scope", how do I fix this?

4

769

Mar 26

How fix navigation stack opens view multiple times?

0

99

Mar 26

Help me figure it out MVVM + Coordinator.

1

324

Mar 26

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by String Catalog.

SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!

Localize My App

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.