UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

6820

May '20

Intermittent SwiftUI Redraw Issue when inserting/removing elements from array. (Reproducible in project17)

1

62

6h

Trying to use deeplink URL to launch app

0

8

6h

SOLVED: Odd annotation being displayed on a chart

3

44

12h

SOLVED: View not refreshing on State change

7

99

20h

Seamless joining between TextField and Button

7

131

21h

How do I change the colour of the a list selection bar - MacOS

1

27

1d

.inspector initial width

2

38

2d

How do I get my View to update when my data changes

2

65

2d

SwiftUI: DragGesture Issue Between Parent and Child Views in SwiftUI

1

46

2d

Help with how to construct complex form in SwiftUI

6

164

2d

an swiftData update issue

2

65

2d

SOLVED: SwiftData context seperate from views

3

54

3d

Keeping track of nesting depth in views

0

24

3d

Using different locale in Preview

0

21

3d

SOLVED: MultiSelect doesn't working

3

51

3d

UltimatePortfolio Project: Unable to initialize without a valid iCloud account

10

1723

3d

Using MultiPolygons with Map

0

17

4d

Using @Observable and getting a "Accessing State's value outside of being installed..." error.

7

88

4d

Recursion in a Table

1

37

4d

Gesture: System gesture gate timed out.

3

1328

4d

SwiftData objects and Multiple Selection in Lists

5

137

5d

How to use #Preview

1

51

6d

How do I get my UIImage that I receive from a custom Camera/Photo Picker stored in SwiftData?

1

40

6d

Challenge 1 Problem with Selecting Different Measurement Styles

0

38

7d

LazyVGrid crash on specific column width

0

32

7d

Using AppStorage to update other Views

3

72

8d

Dynamically Resizing an Array for Room Descriptions in a SwiftUI Form

0

35

8d

Can anyone help me conceptually understand how to work with NavigationStack across files/views?

9

156

9d

SOLVED: ScrollView category title

4

104

9d

Struggling with SwiftData Migration

1

173

10d

SwiftData `isStoredInMemoryOnly: true` not working on macOS + iCloud?

3

132

10d

Re-using a WkWebView in multiple SwiftUI views

0

28

10d

How do I animate out a view based on an StateObject change (animating in fine)??

1

43

10d

How to fix lag occurring while transitioning images?

2

49

10d

RealityKit Materials: Basic Gradient

0

37

10d

How to add LazyVGrid row seperators?

0

33

10d

Window position MacOS

6

211

11d

SOLVED: Using CloudKit with home grown database - can it be done?

2

98

11d

What font / color is used for section headers?

5

1715

11d

Identify what OS the app is running on

1

86

11d

navigationTitle will not remain large after segueing from a previous view that set it to inline (automatically)

0

28

12d

Quick Animation Clarification

2

51

12d

SOLVED: How SwiftData following external JSON changes

14

230

12d

SOLVED: Adjustments on Catalyst port of my app from iOS

8

1460

13d

SOLVED: How to determine which List row that we've scrolled to is in view?

1

60

14d

SOLVED: SwiftData and mapping two data models (changing Moonshot project to SwiftData)

3

129

15d

Scrolling and Animation Issues in iOS17/SwiftData

0

155

15d

Generic child views containing bindings do not re-render / UI does not update

0

37

16d

SOLVED: Formatting a string as a date and ignoring text at the end?

1

81

16d

SwiftData: How to make a copy of a model containing an array of other models

2

132

18d

SOLVED: A weird problem, about swiftData insert

1

77

18d

Working with SwiftUI Table and SwiftData

1

124

18d

invalid display identifier error while trying to make app full screen.

0

52

19d

SOLVED: API to detect focus mode? (Personal, Work, Sleep, etc)

1

89

20d

Struggling with Bindings

0

80

20d

RealityKit: Incorrect Shadows with Directional Light

1

67

20d

I need help with barcode

0

41

20d

SOLVED: Why can't I parse this JSON data? Error: "Couldn't parse *.json as Array<Competition>"

9

260

21d

SOLVED: Conditionally showing toolbar items when in EditMode

3

117

21d

Changing .chartXVisibleDomain(length: ) causes the chart to move to another position - how to stop this?

0

59

21d

iOS 16 TextField, axis parameter, and keyboard avoidance

4

2071

21d

How to compose complex views in SwiftUI

1

90

22d

How to make SwiftData document-based app coexist with Core Data using same persistent container from the document

0

49

23d

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

1

69

23d

AppStorage save select swift data

0

51

23d

Need Advice On Storing Data

3

149

23d

'init(destination:isActive:label:)' was deprecated in iOS 16.0

7

303

23d

How to generate points in text? 🙁

5

196

23d

How to work with VectorArithmetic and Accelerate

1

79

24d

Advice for a problem with the dismiss button

0

57

24d

How to use a SwiftData custom fetch descriptor to limit properties to fetch while using a dynamic filter predicate

0

67

24d

SOLVED: Adding searchable affects position of child views

2

108

25d

Canvas TapGestures HitAreas or Alternative

0

44

25d

Swipe to delete in Picker "List" view

0

49

26d

SOLVED: Frilly circle border ?

2

157

27d

SOLVED: SwiftData Predicate changing at user input?

4

171

27d

Updating @State variable, view not updating

1

980

29d

IPAD SWIFTUI APP SPLIT-SCREEN

0

54

29d

How to properly add a new item to an NSSet related to another entity in CoreData

2

105

Jan 24

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

0

58

Jan 24

"Stream" data from child view to parent view

0

65

Jan 24

Feeling lost already in Project 2?

1

92

Jan 24

Creating a dropdown searchable list in SwiftUI?

4

182

Jan 23

How to create a Path with a loop

2

142

Jan 23

SwiftUI app architecture for server-side driven data

0

73

Jan 23

Why does using LazyHStack with ScrollView break .onTapGesture/.sheet in a child view?

3

131

Jan 22

SOLVED: Can I have multiple navigation destinations in a SwiftUI Navigation Stack?

3

169

Jan 22

SOLVED: SwiftData child views not updating on insertions, but updating fine on deletions

4

765

Jan 22

Drag Drop Table row using Transferable?

2

130

Jan 22

NSTokenField For Swift 5 & MacOS Only

1

91

Jan 22

Fussing with Table on MacOS

1

171

Jan 22

Can HKWorkout be made Codable?

3

224

Jan 21

SOLVED: Synchronized Slider and TextField (macOS) in SwiftUI

11

1450

Jan 20

Can I update a Widget on one device when a SwiftData/Cloudkit object is modified on another?

1

91

Jan 20

Failed to launch process, couldn't communicate with helper application.

0

74

Jan 20

How Costly is @Query?

1

125

Jan 19

SOLVED: Need advise on grid lines displayed in a chart

2

123

Jan 18

SOLVED: Grouped list, but the category is in the view model

4

161

Jan 16

Debugging SwiftData Logs

1

126

Jan 16

 
 

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 your entire paywall view 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.