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

5573

May '20

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

5

3997

4h

List with Children

11

152

19h

Apple pay doesn't trigger delegate

2

384

21h

Help debugging why nested array loaded from JSON is not showing

6

114

1d

Auto correction disable not properly working

0

25

1d

Using Presentation Detents Elsewhere

1

31

1d

SOLVED: CoreData Relationship [Crash]

5

124

1d

Combining a DataModel class with CoreData?

0

37

2d

Example data shown

6

101

3d

NavigationSplitView

0

63

3d

mapkit and renderer

2

57

3d

Listening to LongPressGesture on Subview makes parent TabView pager unswipeable

0

19

4d

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

0

85

5d

Two questions about the colorpicker

5

83

5d

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

3

106

5d

How to open a specific view when opening a notification?

3

75

6d

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

2

62

6d

Color variable isn't updating views on change

2

58

6d

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

4

118

6d

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

2

76

6d

searchable is not working

1

46

6d

SOLVED: Download from internet failed.

3

113

7d

SOLVED: Changing to dark mode

7

137

7d

Deleting records from CloudKit and it's limitation.

0

36

7d

SOLVED: Fetching localized json

2

62

7d

SOLVED: Difference between @MainActor and MainActor.run

1

58

7d

Building a Tinder-like swipe feature on SwiftUI

1

49

7d

prevent duplicate toolbar buttons

1

60

8d

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

1

53

9d

Can I follow 100 Days of SwiftUI on windows11?

3

120

10d

SwiftUI NavigationSplitView Bug?

0

73

10d

Prevent duplicate records in Core Data & CloudKit?

0

51

10d

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

2

86

11d

Different text alignment in header of LazyVGrid

2

82

11d

SOLVED: Passing preview data with Core Data

5

347

11d

@ObservedObject not retrieving the changes

3

119

11d

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

3

124

12d

SOLVED: When to use FetchRequest?

2

113

13d

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

4

140

13d

Testing: Mocking out classes by default

2

86

13d

CoreData and Retrieving a single Object

1

64

14d

Set .toolbarColorScheme to white with a transparent background in SwiftUI

0

40

14d

Frames around Views in Xcode

1

86

15d

Cross-platform NS/UIViewControllerRepresentable

0

45

16d

What version of Xcode do I need for iOS 14?

2

93

16d

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

11

321

17d

Converting Base64 decoded SVG Image to Image always returns nil

3

123

17d

SOLVED: Help with CoreData and Entities

3

132

18d

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

2

105

18d

passing 2 arguements in swiftui

2

125

19d

WatchOS' Mindfulness breathe animation

0

54

20d

SOLVED: Day 25 Challenge; End game alert

4

139

20d

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

0

53

20d

[Solved] SectionedFetchRequest with Coredata, grouped by Date

3

141

21d

SOLVED: Failing to decode a JSON from URL :(

5

176

21d

SOLVED: Xcode: Inspecting view layout not visible

2

133

21d

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

3

168

21d

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

4

113

21d

Grouping @FetchRequest by date and display results in NavigationView

12

2410

22d

SOLVED: LazyVGrid, ForEach, onDelete and inconsistent Crash

7

269

22d

SOLVED: Unable to force a textfield to be lower case

5

136

22d

SOLVED: Different color bars in the same barmark chart

4

166

22d

why is back button special wrt accentColor?

0

53

22d

SOLVED: Updating the map region per item in DetailView

6

279

22d

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

2

148

22d

SignUp, SignIn and Main Views Navigation architecture

0

63

24d

SOLVED: Trailing closure on the View protocol

3

1401

24d

getting localization translations in code

9

283

24d

Bugged .contextMenu

0

69

24d

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

1

84

24d

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

3

3519

25d

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

2

90

25d

Colour of the header and items in an expandable list

0

46

26d

Read an RSS feed in my app

0

103

27d

ScrollViewProxy.scrollTo seems to be broken on iOS 16

2

895

27d

Unwrapping Date?

4

176

27d

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

9

310

27d

Displaying SwiftUi Code on button press

4

170

27d

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

4

178

27d

Reuse a view instead of creating multiple.

2

160

29d

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

191

29d

Formatting elements of expanding lists.

5

113

29d

Weird value update issue with TextField

7

242

Jan 5

SOLVED: NavigationSplitView Issue

3

164

Jan 4

Custom Tab showing blank screen when rendering view

2

246

Jan 4

Can't figure out why I cannot update a value

4

181

Jan 4

Day 24: Adding a conditional modifier to project 2

3

145

Jan 3

SOLVED: Issue with NavigationLink in a LazyVGrid on MacOS

2

163

Jan 2

running code on the main queue

1

107

Jan 2

SwiftUI Popover background with Material.

1

128

Jan 2

SOLVED: Section headers for a dynamic list

2

143

Jan 2

Multi Language SwiftUI App

0

60

Jan 2

SwiftUI ForEach raises error - Type 'any Storage' cannot conform to 'Hashable'

3

222

Jan 2

Navigation bar issues

0

59

Jan 2

Using the Document App template, editing in middle of long text results in scroll position jumping around making cursor out of view

1

107

Jan 1

TextField gets hidden by the keyboard when tapped if the previous field on focus, used the default keyboard

0

52

Dec 31

Customize the File Name Menu in the Toolbar of a DocumentGroup Window

0

65

Dec 31

determine what is being dragged

8

333

Dec 30

SOLVED: _variable - confusion with underscore

7

1938

Dec 30

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Play

SPONSORED Play is the first native iOS design tool created for designers and engineers. You can install Play for iOS and iPad today and sign up to check out the Beta of our macOS app with SwiftUI code export. We're also hiring engineers!

Click to learn more about Play!

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.