NEW: Get your ticket to Hacking with Swift Live! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

3364

May '20

View does not refresh

0

1

18m

How to center map to users current location?

1

15

12h

What's the best way to return nested data?

8

78

1d

SOLVED: ForEach Enum with occasional headers.

5

70

1d

SwiftUI And Google AdMob Setup - Interstitial, Banner, Etc.

1

17

1d

Why do these two lines of code result in different types?

1

36

2d

SOLVED: Show CloudKit Public Database info in List

10

4515

2d

SOLVED: Changes to @State / @Binding variable does not effect view - I'm missing something here....

3

54

2d

project 7 iExpense

0

13

2d

How to use the play(atTime: 1) function.

0

13

3d

HELP -> Unexpected view update behaviour - SwiftUI / Monterey

0

17

3d

I'm really struggling with JSON and SwiftUI in my project, and what I think is called Nesting?

3

62

3d

Core Data, @FetchRequest, and MVVM

1

62

3d

SwiftUI environmentObject passed down hierarchy?

0

24

3d

Picking date range in DatePicker

0

15

3d

SOLVED: Update Styling Of "URL" DataType AKA Gif Images When Tapped

4

50

4d

SwiftUI wrapping text mid-word

2

2742

4d

ForEach: how to force row height?

3

53

4d

reedit userdefault data and save it

0

19

4d

Part of view hidden by TabView tabItems

0

19

4d

Picker (menu style) Xcode 13 beta

0

28

5d

Environment object not being inherited by child (sometimes) and app crashes

8

9634

5d

Need help comparing a user entered value against a table

2

44

5d

Detect trackpad force click pressure?

0

34

7d

SOLVED: UIViewRepresentable SearchBar: how to get search text?

6

122

7d

Core data MVVM - singleton?

7

370

7d

SOLVED: fullScreenCover

2

44

7d

Custom Multicomponent Picker - Pure SwiftUI

3

7313

7d

SOLVED: Passing Properties Between Views

3

74

8d

Something useful I have discovered now about infinity

0

25

8d

SOLVED: How to use a number to set UnitPoint for Color Gradient (not a Type property like ".leading")

1

33

9d

Expanding List View from JSON

1

43

10d

SOLVED: Using .sheet and .fullScreenCover together?

5

2293

10d

SOLVED: Decode JSON error

3

82

10d

How do I create a stopwatch with lap times in swiftUI?

2

335

11d

How to have "double-tap to edit text" functionality in a NavigationView?

3

64

12d

How to use fetched (Core)Data in a Picker?

15

4525

13d

SOLVED: How can I see console output when using an actual device instead of simulator?

2

52

13d

SOLVED: Alert button color conforming to .accentColor?

8

1059

13d

SOLVED: Display warning before closing Window in mac App

3

69

13d

Animation: Guess the flag question

3

65

13d

SOLVED: List view stuck in edit mode

3

386

14d

SOLVED: Attach a screen shot

8

112

14d

SOLVED: ScrollView Looking Poopy Amongst NavigationLink

2

46

14d

Full Screen

0

26

15d

NavigationLink losing animation; how to work around?

0

39

15d

SOLVED: SwiftUI - conditional onChange

1

46

15d

SOLVED: App delegate methods do not work.

2

50

17d

Model backed by sqlite database

0

35

17d

Advice - SwiftUI 3 App creating Tutorial

0

35

18d

TabView does not tap icon to pop to top of the stack, is this expected?

0

28

19d

TabView inside ScrollView

2

394

19d

How do I set the selection in NavigationView?

2

63

20d

SwiftUI Toggle to change setting on server

1

50

22d

Memory management with Core Graphics & SwiftUI

2

93

22d

BetterRest - init() deprecated

6

4879

22d

SOLVED: I can't figure out how to get the correct "task" when using onDelete. I need to delete it from CoreData.

1

50

22d

Picker returns to wrong view...

0

48

22d

Dynamically changing text color in status bar SwiftUI

0

58

22d

SOLVED: How do I encode/decode a @State property?

4

86

23d

SOLVED: BetterRest "number of cups" Picker question

5

121

23d

Problem with Tabs under TabView "More..."

0

33

23d

Three Column Layout Inside TabView

1

35

23d

Textfield Looses Focus on Animation

1

39

23d

Keyboard Accessory Buttons - Cancel / Clear / Done

3

1382

24d

A TabView inside a list?

3

121

24d

Tap button in HStack activates ALL button actions (iOS 14, SwiftUI 2)

6

4060

24d

SOLVED: CoreData, Dates, and DatePicker

3

99

25d

WWDC Session - Build apps that share data through CloudKit and Core Data

2

178

25d

SOLVED: Gif Image Gallery Help

7

499

25d

Dictionary - how can i acess this values ?

1

48

25d

animating the Text element in SwiftUI

0

49

25d

TabView with TextField issues iOS 14.4

0

48

25d

CoreData and CloudKit syncing question

8

856

26d

FireStore Delete

0

47

26d

How do I set the width of UIViewRepresentable?

4

200

26d

SOLVED: Second @State variable causes crash.

3

103

27d

API JSON

0

43

28d

SOLVED: adding a score to Word scramble

2

59

28d

SOLVED: Ternary operator with sf symbol?

1

59

28d

How to swap TabView and BottomToolbar in SwiftUI

1

58

28d

SOLVED: button that calls a function: project 5

3

97

29d

Initializing an Edit Form

3

128

29d

SOLVED: Project 5 Word Scramble: count <3

3

96

Jun 24

Need help by parsing a youtube JSON API call

2

101

Jun 23

SOLVED: Why is this an immutable value?

2

91

Jun 23

SOLVED: return object in function

3

102

Jun 23

Nested list with coredata?

2

85

Jun 23

Loop countdown timer: why @objc

2

115

Jun 23

SOLVED: CoreData MVVM -> how to edit data in a separate view

2

145

Jun 22

Crackling sound with ContentView

0

50

Jun 21

SOLVED: Stop and Start Buttons

6

187

Jun 21

How to pass data to a popup view?

3

113

Jun 21

SOLVED: View with an optional @ViewBuilder parameter - Avoiding "generic parameter could not be inferred"?

2

130

Jun 20

SOLVED: Struct with Color atribute to decode

1

69

Jun 20

SOLVED: error decoding

3

89

Jun 20

labelsHidden() not working

4

949

Jun 20

SOLVED: Make entire contents of button tappable without adding padding?

2

74

Jun 19

Is it possible to make a list with sections that scroll like normal rows?

3

135

Jun 18

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Essential Developer

SPONSORED From August 2nd to 8th you can join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer!

Save your spot now

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.