NEW: My new book Pro SwiftUI is out now – level up your SwiftUI skills today! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

5586

May '20

SOLVED: Saving and displaying images using the image picker

10

107

9h

Height of the View in a UIHostingController

2

923

17h

Firestore Nested Binding or Environment

0

15

1d

List searchable animation issue. Is SwiftUI really this buggy?

5

98

1d

SOLVED: CoreData Relationship [Crash]

7

169

1d

Do you practise Unit Testing?

1

37

1d

`TabView` with `tabViewStyle(.page)` not behaving as expected when app loads.

5

152

1d

SOLVED: Dismissing view using ObservableObject class provokes Publishing changes from within view updates is not allowed

4

32

1d

MKLookAroundViewController Questions

0

32

2d

Combining a DataModel class with CoreData?

2

71

2d

SwiftUI: How do you restore a collapsed sidebar on macOS?

5

4019

3d

List with Children

11

207

4d

Apple pay doesn't trigger delegate

2

395

4d

Help debugging why nested array loaded from JSON is not showing

6

128

4d

Auto correction disable not properly working

0

36

4d

Using Presentation Detents Elsewhere

1

41

4d

Example data shown

6

122

6d

NavigationSplitView

0

67

6d

mapkit and renderer

2

99

7d

Listening to LongPressGesture on Subview makes parent TabView pager unswipeable

0

24

8d

Navigation bug when dismissing view while focussing on empty .searchable() modifier

0

99

8d

Two questions about the colorpicker

5

99

9d

SOLVED: Do something in another class when the locationManagerDidChangeAuthorization method called

3

122

9d

How to open a specific view when opening a notification?

3

93

9d

SOLVED: Day 61, Core Data, can't save Tags when modeled as a relationship to User

2

65

9d

Color variable isn't updating views on change

2

65

9d

Don't understand why I get the error: Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure

4

127

9d

Trailing closure passed to parameter of type 'Visibility' that does not accept a closure

2

87

10d

searchable is not working

1

49

10d

SOLVED: Download from internet failed.

3

142

10d

SOLVED: Changing to dark mode

7

159

10d

Deleting records from CloudKit and it's limitation.

0

40

10d

SOLVED: Fetching localized json

2

73

10d

SOLVED: Difference between @MainActor and MainActor.run

1

65

11d

Building a Tinder-like swipe feature on SwiftUI

1

57

11d

prevent duplicate toolbar buttons

1

68

12d

How to changing navigation bar back button title in run time?

1

64

12d

Can I follow 100 Days of SwiftUI on windows11?

3

132

13d

SwiftUI NavigationSplitView Bug?

0

79

13d

Prevent duplicate records in Core Data & CloudKit?

0

54

14d

How to create a static instance of an Element as a default value when using Core Data?

2

96

14d

Different text alignment in header of LazyVGrid

2

88

15d

SOLVED: Passing preview data with Core Data

5

372

15d

@ObservedObject not retrieving the changes

3

131

15d

SOLVED: How can I prevent interface orientation for a specific view?

3

136

16d

SOLVED: When to use FetchRequest?

2

125

16d

SOLVED: How to update a view with the number of filtered items using Core Data

4

150

17d

Testing: Mocking out classes by default

2

95

17d

CoreData and Retrieving a single Object

1

70

17d

Set .toolbarColorScheme to white with a transparent background in SwiftUI

0

45

17d

Frames around Views in Xcode

1

90

18d

Cross-platform NS/UIViewControllerRepresentable

0

49

19d

What version of Xcode do I need for iOS 14?

2

99

20d

SOLVED: Changing the colour and annotation for a specifc barmark on a chart

11

359

20d

Converting Base64 decoded SVG Image to Image always returns nil

3

136

21d

SOLVED: Help with CoreData and Entities

3

140

21d

SOLVED: Trying to get two barmarks on a single chart. Help! :)

2

120

21d

passing 2 arguements in swiftui

2

129

22d

WatchOS' Mindfulness breathe animation

0

60

23d

SOLVED: Day 25 Challenge; End game alert

4

141

23d

How can I obtain my document location from the 'Document Picker" ?

0

55

24d

[Solved] SectionedFetchRequest with Coredata, grouped by Date

3

151

24d

SOLVED: Failing to decode a JSON from URL :(

5

192

24d

SOLVED: Xcode: Inspecting view layout not visible

2

135

24d

How to also delete an element from core data storage when deleting an element from the underlying NSSet array?

3

185

24d

Grouping @FetchRequest by date and display results in NavigationView

12

2447

25d

SOLVED: LazyVGrid, ForEach, onDelete and inconsistent Crash

7

289

25d

SOLVED: Unable to force a textfield to be lower case

5

148

25d

SOLVED: Different color bars in the same barmark chart

4

181

25d

why is back button special wrt accentColor?

0

56

25d

SOLVED: Updating the map region per item in DetailView

6

294

26d

Strange runtime error when trying to display a barmark with different coloured bars

2

164

26d

SignUp, SignIn and Main Views Navigation architecture

0

66

27d

SOLVED: Trailing closure on the View protocol

3

1425

27d

getting localization translations in code

9

297

27d

Bugged .contextMenu

0

72

28d

how to use Apple's swift-markdown to render view

1

89

28d

SOLVED: Error Message Trailing closure passed to parameter of type 'FormStyleConfiguration' that does not accept a closure

3

3773

29d

iExpense, Day 37, Cannot find 'Expenses' in scope

2

93

29d

Colour of the header and items in an expandable list

0

49

29d

Read an RSS feed in my app

0

115

Jan 8

ScrollViewProxy.scrollTo seems to be broken on iOS 16

2

926

Jan 8

Unwrapping Date?

4

187

Jan 8

How to add items to an array in a struct and iterate over it?

9

323

Jan 7

Displaying SwiftUi Code on button press

4

180

Jan 7

How do I change the background color of my bottom navigation bar

4

216

Jan 7

Reuse a view instead of creating multiple.

2

170

Jan 6

SOLVED: How to properly pass a Core Data Element from a view to a sub-view? How to reload sub-view upon dismiss, without returning to parent-view?

3

209

Jan 6

Formatting elements of expanding lists.

5

118

Jan 5

Weird value update issue with TextField

7

263

Jan 5

SOLVED: NavigationSplitView Issue

3

174

Jan 4

Custom Tab showing blank screen when rendering view

2

261

Jan 4

Can't figure out why I cannot update a value

4

184

Jan 4

Day 24: Adding a conditional modifier to project 2

3

150

Jan 3

SOLVED: Issue with NavigationLink in a LazyVGrid on MacOS

2

179

Jan 2

running code on the main queue

1

111

Jan 2

SwiftUI Popover background with Material.

1

136

Jan 2

SOLVED: Section headers for a dynamic list

2

146

Jan 2

Multi Language SwiftUI App

0

62

Jan 2

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.

Learn more

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.