NEW: Subscribe to Hacking with Swift+ and accelerate your learning! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

985

Jul '20

Crossfade When Text in a TextView Changes

1

21

5h

SwiftUI Changing buttons color inside forEach

3

39

5h

Best practice(s) for handling tap actions in subviews

0

12

14h

How to render timeline with HTML JSON content in SwiftUI

0

9

15h

Core Data Abstraction in SwiftUI

8

923

20h

PageTabViewStyle() in iOS 14 - how to get current swipe distance/offset?

1

15

22h

Is this correct way to use CoreData with the swiftUI 2.0 @main app protocol?

1

51

22h

Custom segue

0

22

1d

Best way to create NSTableView style grid in SwiftUI

0

16

1d

ForEach and PHFetchRequest error

0

77

1d

Does .accentColor() work in SwiftUI 2?

3

57

1d

MacOS window size control

0

14

2d

Top level animation and transition view modifier affecting subviews

0

21

2d

ScrollView in SwiftUI 2 overwriting Safe Area?

2

71

2d

Weird NavigationLink Behavior ?

2

50

3d

SOLVED: Modifying Boolean value with @StateObject

1

45

4d

Set Button highlight background color

7

175

4d

Apple SwiftUI tutorial bug?

3

216

4d

SwiftUI navigationBarItems Bug?

0

32

5d

SOLVED: Making CoreData implementation conform to MVVM

4

125

5d

Shared Core Database between SwiftUI App and Swift Action/Share Extension

0

29

5d

SOLVED: BetterRest (Hacking with iOS: SwiftUI Edition project 4) - help with Challenge 3

6

623

6d

How do I get access to the TabView at the bottom of the DocumentGroup scene where it says Recents and Browse

0

30

6d

Navigation Issue with Sidebar on MacOS

0

59

6d

How to handle first time launch experience when iCloud is required?

1

413

6d

OSX 11 and Xcode12 error

0

24

6d

FlashZilla - Day 88 - Removal of flash card using closure

0

15

7d

SOLVED: Filter whole custom JSON object for SearchBarView

3

59

7d

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

2

89

7d

SOLVED: Core Data and Lifecycle SwiftUI App

6

511

7d

OutlineGroup and EditButton - Move/Delete functions

0

115

8d

@FocusedBinding, @FocusedValue any information or examples

1

110

9d

How to migrate from SceneDelegate to the new main App struct?

2

229

9d

Unable to view items in List after ObservedObject array

1

59

9d

SOLVED: Using XCode 12 Beta?

2

255

9d

How do I dismiss the SwiftUI ColorPicker?

0

92

10d

Searchbar not updating List of Buttons

0

85

11d

LazyVGrid Memory Leak?

0

116

12d

Creating a binding property from a computed property

4

129

12d

Combining similar CoreData entries in a FetchRequest

6

338

12d

Day 35 Animation question

1

36

13d

Is SwiftUI the greatest thing since sliced bread? Is it too easy?

4

395

14d

SOLVED: Move to next item in array

4

140

14d

DatePicker minutes interval

1

65

14d

Need help to create data model and decode json api...

1

66

14d

BetterRest autogenerated model class doesn't work after rename (edit: answered)

2

198

16d

Custom Multicomponent Picker - Pure SwiftUI

0

106

16d

SOLVED: Use variable of one class in another class

4

144

17d

SOLVED: Core Data - Linking saved item to something else

6

165

17d

Bookworm

1

64

17d

SOLVED: TextField: Delay until user is done typing

2

103

17d

SwiftUI: Optimizing refresh time for computed properties in structs

0

55

17d

ForEach Causing Thread 1: EXC_BREAKPOINT when accessing core date (CloudKit)

9

204

19d

Picker not showing selected value

15

815

19d

Password Autofill API

0

65

19d

ScrollView's onTapGesture getting called for child events

7

283

19d

List reset when navigating back from detail screen

4

218

19d

SOLVED: Tabbar onTapGesture breaking navigation

1

90

19d

SOLVED: Problems with TabView

7

4067

21d

Modify attribute of the same view depending on the output value

9

193

21d

Advanced Geometry?

4

140

21d

How to compute MKMapCamera centerCoordinateDistance programmatically in SwiftUI

1

88

22d

Layout and geometry: Wrap up

1

105

22d

Set Background of ScrollView in NavigationView

1

86

22d

SOLVED: Show CloudKit Public Database info in List

4

153

23d

Project 7, iExpense Polish BUG : After "dismissing" it's impossible to add new item

2

103

23d

How to change background color of selected NavigationLink in List?

2

423

23d

SOLVED: .navigationBarItems alignment changes when size of View changes

3

111

23d

Building a menu using List

1

87

24d

Why no setting of intial state?

3

107

24d

SOLVED: Automatically shuffles views, SwiftUI and Core Data

4

154

24d

SOLVED: Is there a way of searching just this forum?

4

143

24d

SOLVED: Why is disabled not working with a view model?

1

77

24d

onAppear, something i don't understand 😅

2

165

24d

SwiftUI App Tab View Freezes after Network Request

0

61

25d

SOLVED: Swift storyboard to swiftui

21

535

25d

Normalising SVG or UIBezierPath for use in SwiftUI Shape

2

152

25d

Core Data - Changing data in detail

1

110

25d

SOLVED: How do I post code here keeping the original Xcode formatting and coloration?

1

61

25d

Unable to retrieve data from Firebase

0

101

27d

How to access MapView created in UIViewRepresentable from ViewModel in swiftui

1

172

27d

Calling Functions of Sub-views

1

150

27d

SOLVED: Importing Image into App

4

188

28d

Function calls

2

103

28d

How do I navigate back N views

0

59

28d

SOLVED: Navigating between views independently using EnvironmentObject

2

119

29d

SOLVED: Sort array alphabetically

3

141

29d

Dark background image ignoring safe area invert color

1

80

29d

SOLVED: Picker Choice To Alter Second Picker

1

96

29d

SOLVED: How to use UserDefaults.publisher in SwiftUI?

2

132

29d

Where to store big data that app requires

1

96

29d

SOLVED: Can i use core data to store information for my app

3

168

29d

Odd 'Use of unresolved identifier '$var - surely Swift has a easier way for getting a reference to a value

3

239

Jul 7

SOLVED: Submitting Int Into Coredata always 0

7

205

Jul 7

Using NavigationView conditionally

0

100

Jul 7

SwiftUI on Mac, and PopUpButtonPickerStyle

1

620

Jul 7

JSON Decode with hyphens

9

252

Jul 7

Rendering changes to a FetchedResult relation

0

65

Jul 7

Wrapped UITableViewController sometimes doesn't select row correctly

0

70

Jul 7

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Instabug

SPONSORED Are you tired of wasting time debugging your Swift app? Instabug’s SDK is here to help you minimize debugging time by providing you with complete device details, network logs, and reproduction steps with every bug report. All data is attached automatically, and it only takes a line of code to setup. Start your free trial now and get 3 months off exclusively for the Hacking with Swift Community.

Start your free trial!

Sponsor Hacking with Swift and reach the world's largest Swift community!

 
Unknown user

Not logged in

Log in
 

Link copied to your pasteboard.