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

How to fetch data (Array)from API

1

382

Nov '22

Xcode 14 warning --> " This method should not be called on the main thread as it may lead to UI unresponsiveness."

3

6750

Nov '22

SOLVED: Inserting a Screenshot into a Forum Question

3

277

Nov '22

Supplementary aids to help older coders understand SwiftUI?

2

195

Nov '22

SOLVED: SiriKit App Intent not appear as app in Shortcuts

1

313

Nov '22

SOLVED: What the @ am I doing wrong?

5

341

Nov '22

Updating navigation bar title in mixed UIKit and SwiftUI project

2

1062

Nov '22

SOLVED: Advice needed on how to handle API responses with NSManagedObjects

2

313

Nov '22

SOLVED: updating Core Data with function, list view not updating after the change

12

786

Nov '22

Grey screen after navigating multiple times

7

414

Nov '22

SOLVED: ForEach inside a Disclosure Group

2

279

Nov '22

SOLVED: DocumentGroup / FileDocument

7

620

Nov '22

SOLVED: WatchOs: Best way to create some kind of table with static header and footer and scrollable content and most important how to center header with content and with footer

8

470

Nov '22

SOLVED: No exact matches in call to instance method 'append'

2

562

Nov '22

SOLVED: Celsius/Fahrenheit per user location.

2

247

Nov '22

SOLVED: Any way out of backbutton mess

2

178

Nov '22

SOLVED: Group() to avoid 10 items limit inside a Form has stopped working with Xcode 14.1

3

302

Nov '22

SOLVED: Generic @FetchRequest -> How can I get .onDelete Modifier

4

291

Nov '22

Using array elements to display images

11

714

Nov '22

SOLVED: How should I refactor this View?

8

627

Nov '22

A useful exercise in summing arrays

2

213

Nov '22

how to keep button tap enabled after adding accessibility

1

134

Nov '22

Code review request, for a noob to Swift/SwiftUI

4

240

Nov '22

Allowing swipe forward and backward in WKWebView

0

183

Nov '22

Video Player inside List SwiftUI iOS 16 - controls not displayed

4

800

Nov '22

Picker value resets when in a sheet, but works fine in parent View

0

137

Nov '22

SOLVED: SwiftUI List with key value pairs

3

1224

Nov '22

@FocusState before iOS 15

1

639

Nov '22

Editing a Core Data Object

5

586

Nov '22

How can I fix Voiceover not receiving UIAccessibilityNotification?

3

183

Oct '22

SOLVED: Weird effect after animating a saturation change on a gradient

1

167

Oct '22

Need Help pulling HealthKit Data and saving into CoreData to display

0

100

Oct '22

macOS SwiftUI pop up View for Settings from menu?

0

91

Oct '22

onDisappear not called when NagivationView navigates to different view

1

367

Oct '22

Navigation View

3

332

Oct '22

Sheet on LazyVStack or LazyVGrid inside a ScrollView doesn't open randomly (IOS16)

2

336

Oct '22

Changing text when button is pressed

3

435

Oct '22

Grids with images

1

122

Oct '22

rotation3DEffect weird behavior

0

86

Oct '22

Need help with making my app look good

1

160

Oct '22

SOLVED: Core Data Error

2

290

Oct '22

How can I get this custom button type to become enabled again?

2

217

Oct '22

SectionedFetchRequest Sort descriptors Xcode performance impact

0

180

Oct '22

SOLVED: My data does not show

7

428

Oct '22

SOLVED: How does one functionally check a condition and set a related value inside an .onChang() block?

5

336

Oct '22

Functions what is ‘returning’ a value?

12

644

Oct '22

Adding icon and file description on share sheet ActivityViewController

0

149

Oct '22

I do not understand how to use the Tab View properly

4

259

Oct '22

Generic struct 'ForEach' requires that '[String : [Any]]' conform to 'RandomAccessCollection'

10

2084

Oct '22

Read Data from Firebase to View

2

834

Oct '22

'animation' was deprecated in iOS 15.0: Use withAnimation or animation(_:value:) instead.

2

436

Oct '22

line up numbers

5

480

Oct '22

SOLVED: Apple Workout WatchOS App

3

212

Oct '22

Make the textfield scroll up when covered by the keyboard

0

170

Oct '22

SOLVED: How do I solve "Generic parameter 'T' could not be inferred" ?

8

1169

Oct '22

SOLVED: Vertical text

1

259

Oct '22

DocumentGroup navigation bar has two arrows, why?

0

146

Oct '22

SOLVED: Core Data: NSPredicate with array values as argument

3

616

Oct '22

SOLVED: How to increase the tappable area?

1

149

Oct '22

How do I create sections for this dynamic list I get from Firestore?

0

133

Oct '22

SwiftUI UIScrollView content can be scrolled out of frame

0

248

Oct '22

SOLVED: Why isn't background animating

3

275

Oct '22

SpriteKit Texture Atlas

0

107

Oct '22

SOLVED: Accessing dictionary values stored in an array linked to class in another view

3

276

Oct '22

Day 58 - Project 12, part 2 *ISSUE*

3

299

Oct '22

Default Core Data entity value with static var property?

2

262

Oct '22

SOLVED: NavigationStack (iOS16+), destination from enum Type, cannot conform to View

3

793

Oct '22

Challenge idea: RSS reader

0

183

Oct '22

Where to put code for AppDelegate.swift when that file no longer exists in SwiftUI lifecycle?

2

237

Oct '22

ObservedObject not updated in View when Published var is changed

6

542

Oct '22

Tabview with HStacks?

1

122

Oct '22

NavigationStack (iOS16+) Content below navigation area, safe edges?

0

139

Oct '22

A question about MVVM and CoreData

2

303

Oct '22

Converting View to UIImage problem: core data context loses persistent store coordinator

0

233

Oct '22

SOLVED: SwiftUI App failing to sync CloudKit data - but only in TestFlight version

8

1359

Oct '22

SOLVED: Sharing Core Data FetchRequest results in MVVM model

9

1550

Oct '22

SOLVED: How can I link a Picker to a Dictionary value?

1

199

Oct '22

SOLVED: Need help with JSON to struct.

9

633

Oct '22

Trying to figure out NavigationView “Preview Crashed”

2

471

Oct '22

Where / How do you store your sample code?

3

320

Oct '22

UI Grid Help

0

125

Oct '22

SOLVED: My checkpoint 8. Please be brutal ;D

3

291

Oct '22

How does one initialize Views as stored properties in the initializer of a parent view?

0

130

Oct '22

SOLVED: LazyVGrid and Array

1

246

Oct '22

How can I append and remove variables from an array tagged with the @State property wrapper?

4

707

Oct '22

Where did we learn about this?

7

334

Oct '22

Deprecated animation

4

409

Oct '22

How do I open links within WKWebView in Safari Browser or sheet?

5

773

Oct '22

Change value of an object in one-to-many - Core Data

2

264

Oct '22

SOLVED: Xcode error

13

6036

Oct '22

Binding with optional struct

0

248

Oct '22

SOLVED: How to initialize variables that depend on other variables in views?

5

838

Oct '22

How could I make a button change the value of a Bool in SwiftUI?

1

664

Oct '22

TextField is not moved back down with keyboard avoidance on

0

261

Oct '22

SOLVED: Login screen animation

5

601

Oct '22

How can I prevent nested NavigationViews in SwiftUI?

4

528

Oct '22

Toggle iCloud sync on/off

0

158

Oct '22

How to Create a Custom Tree Grid in SwiftUI

6

398

Oct '22

Get elements in NavigationPath as array

0

360

Oct '22

SOLVED: Reuse Keyboard toolbar code

3

639

Oct '22

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.