FREE TRIAL: Accelerate your app development career with Hacking with Swift+! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

About the SwiftUI forum

3

3694

May '20

Get Array from json file

0

0

2m

Is there a way to trigger a function call when certain properties change, without appending a didSet to each of them?

5

53

14h

WithAnimation not working as expected when property is existing in separate View

0

11

1d

shareActivity with IOS 15.0

3

30

1d

SOLVED: Custom Views with TextFields

5

63

2d

SOLVED: NavigationLink inside ForEach?

2

30

2d

100 Days of Swift and UIKit Project 2 Flag not changing.

1

28

4d

How would you model this situation where I want to use a custom property wrapper but also want @Published functionality?

3

130

4d

CodeScanner - StackNaviagtionViewStyle is breaking the Navigation link.

0

20

4d

Dismiss Keyboard Activityview Toolbar with unexpected? behavior

3

38

5d

SOLVED: Day 64 Using coordinators to manage SwiftUI view controllers

2

22

5d

Navigating From "NavigationViews" to "TabViews"

1

40

6d

NavigationLink destination - Set view programmatically

2

63

6d

WordScramble: how do i get the systemImage and Text showing in the same row?

1

24

6d

SwiftUI UIViewRepresentable PDFKit PDFView AttributeGraph: cycle detected through attribute xxx

0

14

6d

Sorting Core Data

1

37

6d

Keep losing mapType and pointOfInterestFilter when coordinateRegion updates

3

48

7d

SOLVED: Loading entries from One-to-Many Relationship (Core Data)

4

111

8d

SOLVED: Reuse Keyboard toolbar code

2

32

9d

How to resize SpriteKit SKScene when using with SwiftUI

3

1481

10d

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

9

3544

10d

SwiftUI Help for this code please

4

67

11d

SOLVED: SwiftUI not letting me use Image

2

98

11d

How to dismiss a sheet and return to last selected TabView?

3

66

13d

Disable Frame while an Animation

0

27

13d

SOLVED: Encode Image/UIImage To Base64

2

68

14d

SOLVED: Many To Many Relationship Core Data SwiftUI

13

262

15d

SOLVED: Adding an Array of Objects to an NSSet Relationship

4

94

15d

VisualEffects

0

49

16d

ScrollView autoscrolling on new pages, but only after the first couple pages load.

0

38

18d

Can I use AVFoundation classes for ultrasound data?

2

72

18d

Can't render a Text view and DatePicker together in a sidebar list section in iOS 15

1

52

19d

Make Menu Picker on navigation bar only show icon

1

78

20d

SOLVED: How can I get SwiftUI to release cached image memory?

6

234

21d

How to generate a PDF from a ScrollView

2

2131

21d

swiftui - How do you specify a font modifier within a Picker

2

93

21d

Token list/field view... or something like it?

3

348

23d

Error Image Picker

1

54

23d

SOLVED: Handling Files Opened from Mail Attachments

2

466

23d

Scrollview - snap in place/stop drifting...

0

99

24d

Coredata and Hierarchical List

3

2091

24d

iCloud Drive path returning nil

1

74

25d

Deleting an entity from an array in CoreData

0

41

25d

Running Simulator makes the resolution and window size look like an old iOS. How do I fix this?

5

134

25d

SOLVED: How to add a URL selection to use with url.lines

3

531

26d

SOLVED: Error when using onSubmit() - iOS 15

2

97

26d

SOLVED: Change to Picker in iOS15?

2

178

27d

How would you write common code for a react app and a swiftui app?

0

39

28d

SOLVED: Decoding JSON data - Error response

8

27916

29d

Core Data: Failed to call designated initializer on NSManagedObject

1

882

29d

I'm trying to add CoreData to my SwiftUI project, but I keep getting an error when I render for previews, and when I got to run the app.

1

80

29d

Issues with List Section Headers in iOS 15...

3

324

29d

Disable rotation?

2

221

Sep 23

FocusState and ObservableObject

1

122

Sep 23

SwiftUI 3 : Two Finger swipe down action

0

57

Sep 22

SOLVED: CoreData, Dates, and DatePicker

4

351

Sep 22

Document based CoreData app: What model class? UIManagedDocument? NSPersistentContainer?

0

44

Sep 21

Refresh view when sheet dismisses

1

126

Sep 21

SOLVED: SwiftUI data flow: how to update existing objects?

3

189

Sep 19

NavigationLink View in .toolbar(...): unwanted nested child views on model change

1

97

Sep 19

What am I doing wrong (Terrible google search skills and a general lack of experience)

1

80

Sep 17

SOLVED: TextField - Dismiss keyboard - Clear button

6

33875

Sep 17

Deleting an item from an array cause an index out of range in view

15

2876

Sep 17

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

1

70

Sep 17

Adding a func to a ForEach (on it's way to becoming red variable in Color for a Color Array)

4

194

Sep 17

SOLVED: How can I make a ScrollView cover a Text when scrolling

2

154

Sep 15

SOLVED: Show CloudKit Public Database info in List

13

6059

Sep 15

@Published property wrapper

2

122

Sep 14

SOLVED: Fatal error: Index out of range?

3

159

Sep 14

InsetGroupedListStyle doesn't work on picker

2

357

Sep 14

SOLVED: Background Color of a list, make it clear color.

10

28767

Sep 14

SOLVED: Having trouble with NavigationLink and EditMode

5

296

Sep 13

How do I nest ForEach loops? Current code erroring with Value of type '_' has no member '_'

4

167

Sep 13

Using a Picker with FetchRequest

2

80

Sep 13

Attempting to use PKAddPassesViewController inside SwiftUI with a UIViewControllerRepresentable

0

95

Sep 12

SOLVED: How do I pass a generic struct?

1

73

Sep 12

Edit a list item that is a NavigationLink

3

1604

Sep 11

How can i show Virtual Reality tours in SwiftUI with hotspots?

0

48

Sep 11

LazyVGrid update gives wrong scroll position upon switching between different grid layouts

1

105

Sep 10

Applying two different animation modifiers to the same view modifier

2

168

Sep 8

Stackview amount of text changes the height of my Image asset

0

58

Sep 8

Genstring command not working in terminal !!

4

1063

Sep 8

how to: SwiftUI Button + CustomStyle + ContextMenu?

0

61

Sep 7

ContentView, ViewController and Main.storyboard question

3

171

Sep 7

AppStorage incompatible with GeometryReader?

2

156

Sep 6

SOLVED: printing a year

4

2343

Sep 6

TextField margin

2

2281

Sep 5

Is there anything wrong with supplying models with asynchronous functions in MVVM architecture?

2

126

Sep 5

SOLVED: SwiftUI Text view refresh

10

453

Sep 3

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

1

1462

Sep 3

SwiftUI with SpriteKit in an AUv3 - Using the SwiftUI view to control the SKScene

0

59

Sep 2

Alert Deprecation in iOS 15+

2

399

Sep 1

How to show a sheet (splash screen) only on first time app launch? When the user presses ok, the splash screen should never be seen in subsequent launches.

7

340

Sep 1

Struggling with Core Data and SwiftUI

7

357

Sep 1

Fix NavBar in Sheet with ScrollView?

0

104

Sep 1

Pop multiple views off a navigation stack

4

4666

Sep 1

How to sync data written in Codable between users' devices

1

97

Aug 31

Disable SideBar

1

107

Aug 30

SOLVED: Device Orientation

1

121

Aug 30

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for iOS devs who want to become complete senior developers — from October 18th to 24th. Learn how to apply iOS app architecture patterns through a series of lectures and practical coding sessions.

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.