NEW: Learn to build amazing SwiftUI apps for macOS with my new book! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

4571

May '20

How to ignore /n in decoded JSON data?

2

21

4h

Odd behavior passing data between parent and child views

0

18

9h

SwiftUI WebView... are we at the bottom of the scrollView?

4

75

11h

Question about Functions and Switch case

13

179

16h

Play a video

10

7779

18h

How to delete core data items with a button

3

76

1d

Play video fetched from the photo App Library

3

388

1d

Custom Multicomponent Picker - Pure SwiftUI

6

14022

2d

How to sort/filter out my API call to these menu settings in a list view?

11

131

2d

What's the best way of writing XCTests for SwiftUI?

0

45

3d

Bug in the code

3

103

3d

Set @State var from another class

2

52

3d

ObservableObject not updating view in nested loop

1

78

5d

Circular dependency between modules 'Accessibility' and 'SwiftUI'

0

23

5d

Many To Many relationship, main view doesn't automatically update data when data are added in another view

9

188

6d

SOLVED: Dynamic Filtering for API data in list view for my app based on date

15

221

6d

Trying to get value from func to ContentView

4

63

6d

QR code and Playing Cards

2

47

7d

Add section headers for list from JSON date field

2

92

9d

SOLVED: SwiftUI, iOS15 Day 60 Challenge: retrieving data and loading to list

4

377

10d

Storage of jpg & PDF

2

59

12d

SOLVED: No exact matches in call to initializer

2

95

13d

Trying to add new elements to my API Struct, but not working.

5

93

14d

NavigationView/Drawer animation bug

0

40

14d

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

4

2958

17d

searchable does not work in xcode 13.3

1

60

17d

touchable area of pickerWheel overlapping / off screen

5

679

17d

SOLVED: Habbit Tracking Challenge - Why doesn't updating the property directly work

1

43

17d

UIImagePicker sheet disappears when search field takes focus

8

1833

19d

SOLVED: Wrong version of Xcode/Swift or am I missing something?

3

92

19d

SOLVED: Widgets, SFSymbols and Custom User Icons

2

81

19d

SOLVED: Ultimate Portfolio: Hard Crash after Lesson 52 in Shared Projects/Shared Items view

1

58

20d

How do I get iOS to open my app from a file?

1

63

20d

SOLVED: Variables in URL string not working for AsyncImage

7

145

20d

CoreData Sort Descriptor Not Working

2

75

20d

Other/custom text input in picker

2

69

20d

NavigationView scrolling broken when using TabView

2

66

21d

I have a problem.Help me please.

3

99

21d

New to swift, where do I place the operational part of my code to make this work?

1

84

21d

Share data between views on same hierarchy level

1

55

21d

Hovering permanent popup on Slider?

13

318

22d

SwiftUI List performance with row count > 2000

4

130

22d

How to debug an Apple watch and an iPhone app at the same time?

3

132

23d

SOLVED: How do I fix error when trying to use chunking algorithm

4

129

24d

NavigationLink won't pass through to view

2

94

24d

Need help figuring out the correct way to implement "custom" fonts in SwiftUI coding

1

58

25d

SOLVED: CoreData entities

6

170

25d

Day 35 done...

0

61

Apr 25

Why the app is crashing when tab change (EXC_BAD_ACCESS)?

2

125

Apr 25

Is it possible to create a ViewModifier where output is conditional on the concrete type of Content?

0

70

Apr 25

Cannot infer contextual base in reference to member 'tabItem'

1

128

Apr 24

SOLVED: Searchable Modifier

3

360

Apr 24

CloudKit and SwiftUI

0

104

Apr 23

SOLVED: How to Build and Distribute for Real Devices?

3

111

Apr 23

Can't dismiss sheet

2

170

Apr 22

Why does View background extend into safe area?

2

122

Apr 21

How to create a picker from the unique values in an attribute of an entity from CORE Data?

1

117

Apr 21

MapKit Map Buggy in NavigationLink

3

125

Apr 20

The importance of using a source code repository

1

181

Apr 20

Question about Canvas

3

229

Apr 19

SOLVED: (Thank you gays!)Why the preview of my program displays different from the one displayed in the simulator?

5

175

Apr 19

Ultimate Portfolio App - Error in UI Test - Cannot recognize the "NEW PROJECT" Edit Button

4

687

Apr 19

SOLVED: How to preinstall data on an app using CloudKit and iCloud ?

2

134

Apr 19

How display native content after WKWebView ?

2

101

Apr 19

SOLVED: I still don't understand "some View"

7

301

Apr 19

Need help splicing a view together

2

77

Apr 18

Error -- Generic parameter 'T' could not be inferred?

4

296

Apr 18

Recreating a Social Media Feed

1

59

Apr 18

Does anyone know why my use of URLSession doesn't return anything?

3

156

Apr 16

How to Get Better at Design?

3

139

Apr 16

SwiftUI development against webapi on local machine causing Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid"

1

743

Apr 16

SOLVED: How to stop DatePicker closing a Navigation Link automatically?

2

134

Apr 16

List with selectable items and custom double click (tap) gesture

0

55

Apr 16

How to create Text view containing formatted HTML string?

1

96

Apr 15

SwiftUi, hiding the sidebar and program state.

1

143

Apr 13

Fetch CNContacts and update UI --> Blocking UI while fetching

3

2627

Apr 13

SOLVED: Is there a way to style the navigation link?

4

132

Apr 13

Limiting List or Form to size of content

5

196

Apr 11

SOLVED: Array contains logic not working

3

128

Apr 11

Form vs ScrollView

4

190

Apr 11

Picker not updating selection binding for Realm entities

0

99

Apr 8

SOLVED: SwiftUI in Playgrounds

3

201

Apr 8

SOLVED: Pop multiple nested views using NavigationLink and isActive

1

161

Apr 7

SOLVED: Large gap in UI

4

215

Apr 7

View allocate twice in VStack within a NavigationView

0

78

Apr 7

Image Classification vs Object Detecion

0

64

Apr 6

Padding on Textfield and Button

8

462

Apr 5

Scrolling a list up and down breaks the animation

4

228

Apr 4

Structs and Property Wrappers

2

122

Apr 4

Is there a way to hide the search bar after it's been activated?

0

111

Apr 2

How transfer (()->()) -> ()

2

153

Apr 2

Issue with SKStoreKitReviewController on HWS+

4

364

Apr 1

SOLVED: Dynamically filtering @FetchRequest with SwiftUI + Distinct Values

2

198

Mar 31

Setting Map coords in generic view?

4

167

Mar 31

Working with queue and unexpected (I do not expect it :-) ) behavior

2

191

Mar 31

SOLVED: Need guidance and/or best practice

11

530

Mar 31

SOLVED: Expression requiring global actor 'MainActor' cannot appear in default-value expression of property '_vm'; this is an error in Swift 6

2

1397

Mar 30

ScrollView doesnt scroll whole content, only certain height

0

69

Mar 30

SOLVED: NavigationLink issue updating both views when item changes

7

326

Mar 30

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Fernando Olivares

SPONSORED Fernando's book will guide you in fixing bugs in three real, open-source, downloadable apps from the App Store. Learn applied programming fundamentals by refactoring real code from published apps. Hacking with Swift readers get a $10 discount!

Read the book

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.