BLACK FRIDAY SALE: 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

6569

May '20

help making TabView ForEach items variables into clickable items

0

8

2h

Is there any help for a new swift user/forum member that need to retrieve data from another swift file?

0

26

14h

New MapKit API in iOS 17

1

40

14h

SOLVED: @Published property is not updated in ContentView

12

159

17h

swiftdata With Multiple Targets membership

1

49

18h

Getting an Error Related to NavigationStack and .navigationDestination...

1

27

1d

.NavigationDestination "String error"

5

113

1d

How to set the Anchor Points of a PDF in PDFKit?

0

16

1d

Cloud kit Exception

0

27

1d

Can I define what is being copied when the user presses COPY on a sharesheet?

1

58

2d

Ideas for Implementing User Awards in App

1

39

2d

SwiftUI to PDF Layout issues

2

43

2d

Is it possible to query multiple different Element types from a SwiftData data model at once?

2

73

2d

SOLVED: centre coordinates from visible map?

11

1887

3d

Firebase .order(by:) & .whereField with .addSnapshotlistener??

1

36

4d

No matching navigationDestination declaration visible

1

81

5d

Populate a grid of shapes

0

33

6d

Export to PDF, multi page PDF

5

1666

6d

Bind to a struct with a property of class type (@Model)

0

29

6d

Colour issue for confirmationDialog on physical iPads in dark mode

1

51

6d

Orientation iPhone iPad

4

84

7d

SOLVED: Using an array of objects in a timer

2

50

8d

Updating a view in a loop

1

51

8d

Learning exciting new Apple technologies ✌🏻 and building apps.... and then... Android?? πŸ€·πŸΌβ€β™‚οΈ

2

164

9d

Is it possible to add header and footers to an RTF file that a swiftui app is creating?

1

33

9d

SOLVED: Question about putting a rounded border around a text?

8

150

9d

Dates Are Hard πŸ—“οΈ

9

541

9d

TabView > List > Sheet State issue

0

42

10d

Maps not updating in MacOS (and iOS)

0

30

10d

request App Review causing strange crash

5

165

11d

Canvas: move, select, add data to objects

0

37

11d

Experiencing trouble with Picker in SwiftUI

0

30

11d

Hierarchical table view

0

31

11d

How to implement a swipe operation in the other scroll direction for a ScrollView?

0

25

11d

Update UI on CloudKit Change

0

39

12d

Is it possible to create a Picker like this? (SwiftData related)

3

126

12d

How to viewing PDFs that have been electronically signed or contain a cert in a browser window for iOS

1

42

13d

SwiftData model ID vs id

0

48

13d

SOLVED: .onOpenURL not being called

1

61

13d

Using modern SwiftUI NavigationStack with UINavigationController

0

39

13d

Render SwiftUI view to pdf ( debug Errors)

3

98

13d

Reading JSON after successful decoding

1

78

14d

SOLVED: How to specify line breaks in Text("") ?

5

209

14d

SwiftUI Library Views Drag and Drop in Preview

2

81

15d

iDine folder issue

0

36

15d

Drag and Drop in a List

0

61

15d

SwiftUI: Grandparent View Not Updating on Model Change in SwiftData

0

65

17d

Jumping hidden tab bar

0

89

18d

SOLVED: Readonly database Error when running on physical device, works on Simulator

1

63

19d

SOLVED: How can I sort SwiftData Query results by a bool?

2

129

19d

Strange issue with SwiftData

2

120

19d

SwiftData Navigation Challenge 1 - Why is this not valid?

0

52

20d

Assign a value to an optional when sheet is presented

0

68

21d

SOLVED: How to resize Xcode Canvas Live Preview window - it refuses to expand vertically despite using .windowResizability(.automatic) ?

3

148

21d

Gesture on map

0

51

22d

Fetching SwiftData from AppIntentTimelineProvider does not work

0

66

23d

Review Request once a year

3

163

24d

How to conditionally exclude a navigation destination?

2

120

25d

Create an Array of IDs from an Array of Structs

3

175

25d

TabView with ScrollView in sheet disables scroll down to dismiss

8

264

25d

SOLVED: How to apply .onHover ( which uses @State ) to a single ViewModifer - in order to cause multiple Text views to behave the same, but activate independently ?

2

87

25d

SOLVED: Apply 2 groups of modifiers to multiple text views ( aka create text styles ) ?

3

174

26d

Day 47 challenge

1

120

26d

Local Notification Sound problem

1

108

28d

Speech recognition, limiting to task context

0

73

28d

Working with Enumerations. πŸ™„

1

125

28d

How do you add documents to file folder in swift preview

0

90

28d

Help with NumberFormatter

3

171

29d

Constraining text to wrap to image width?

2

203

29d

Switching field focus πŸ™„

2

187

Oct 31

SOLVED: Creating an URL for an Image of an Assets Catalog

2

176

Oct 31

SOLVED: Query filter error: Key path cannot refer to enum case

1

171

Oct 30

SOLVED: SwiftData and deleting a Double Linked List

3

192

Oct 30

Selecting a field from a model

2

128

Oct 29

Not Able To Customize MKMapView Annotations

0

72

Oct 29

Partially Solved: Persisting TextField (Issue With View Updating)

6

361

Oct 29

iOS 16.4+, SwiftUI, TextField always on top of keyboard

0

80

Oct 28

**SPOILER** SwiftData By Example: "Building a Complete Project" (Challenges) **SPOILER**

3

257

Oct 28

SOLVED: #Preview macros with @Binding<String>

4

2823

Oct 27

SOLVED: Changing the color of a segmented picker...breaks if I use a NavigationView

2

129

Oct 27

Trying to save the last index in a variable to perform automatic scrolling

0

87

Oct 27

What's the iOS 16 version of AnnotationOverflowResolution?

0

72

Oct 27

Using SwiftData with a Widget leads to deadlock

0

81

Oct 27

SOLVED: How to set text position for all screen sizes in SwiftUI?

1

143

Oct 27

SwiftData requires BackingData

1

189

Oct 26

How to unit test that a radio button is setting state var correctly

0

85

Oct 26

SOLVED: Can someone please help pe understand why a function is written?

1

128

Oct 26

SOLVED: How to filter @Query with specific Value?

2

167

Oct 26

SwiftUI broken NavigationPath as of iOS 17. Not fixed as of release of GM 17.0

4

643

Oct 26

SwiftData preview crash when adding a second model

0

104

Oct 25

Day 28 - Challenge - How do I trigger a function without a button?

3

208

Oct 25

Can someone help me for a quick fix with this

4

247

Oct 24

app loses state when going to background when using sizeClassic in SwiftUI

0

72

Oct 24

SOLVED: NavigationStack – Pop to root

4

285

Oct 24

Read Json data and read it on ContentView

5

253

Oct 24

[Pro SwiftUI] Lava lamp crashing when the timer is too frequent

0

74

Oct 23

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

0

70

Oct 23

Circular slider to continue counting after 360 degrees

0

102

Oct 23

SOLVED: Conditional Alerts

2

170

Oct 22

 
 

All interactions here are governed by our code of conduct.

Save 50% in my Black Friday sale.

SAVE 50% To celebrate Black Friday, all our books and bundles are half price, 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!

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.