GO FURTHER, FASTER: Try the Swift Career Accelerator today! >>

Forums > SwiftUI

Help and discussion for SwiftUI.

  Title Replies Views Activity

Which elements does controlSize work on?

1

270

Aug '24

SOLVED: @State var in loop

1

375

Aug '24

Best practice making a view with a summary view

0

274

Aug '24

SOLVED: New Observable and Environment giving run time error

1

390

Aug '24

How to Use Swift to Create an Interactive Soccer Coaching App

1

311

Aug '24

SOLVED: Custom fonts stop showing sometimes when you switch applications in SwiftUI

1

358

Aug '24

SOLVED: Multiple navigation options in a card ~ how best to handle this?

1

331

Aug '24

Hstack inside a view with .transition is not animated

0

222

Aug '24

[Question] Is it possible to compare dates with #Predicate

1

312

Aug '24

[SwiftUI] Does not render PDF after app closes

1

380

Aug '24

How can I only display complete rows of a list without vertical truncation?

0

178

Aug '24

SOLVED: DatePicker, how to save the date as a var

5

1077

Aug '24

SOLVED: How do I identify device type in Swiftui?

2

889

Aug '24

Nonisolated function inside SwiftUI struct?

1

457

Aug '24

Animating a Stepper Button on SwiftUI

2

419

Aug '24

SwiftData, CloudKit Sharing between different users

3

2303

Aug '24

Removing the leading inset from a list

0

270

Aug '24

Refreshing a list over time

4

887

Aug '24

How to update a view from escaping closure

0

227

Aug '24

Strange padding on ContextMenu with List on SwiftUI

0

411

Aug '24

Icon only button

1

633

Aug '24

Swift Data and Fetching from the database not working as expected.

2

524

Aug '24

ShareLink Rendering Code executes before User "shares"

2

567

Jul '24

SOLVED: Preview crashes when trying to display SwiftData model

4

1591

Jul '24

Why Isn't .onChange Triggering After Initial Bluetooth Pairing?

1

341

Jul '24

SOLVED: Add sections to customer List

2

478

Jul '24

Swift Chart - BarMark Gantt vertical steps

2

814

Jul '24

Hello!

0

211

Jul '24

SOLVED: SwiftData & CloudKit

2

2105

Jul '24

onInsert not working in macOS ForEach

1

258

Jul '24

@State variable with @Binding is not triggering the view to re-render when changed

0

241

Jul '24

SOLVED: buttons rotation and different colors

2

511

Jul '24

SOLVED: How to share a common function across multiple views in SWIFTUI app?

2

885

Jul '24

@State date stays the same among multiple views

1

429

Jul '24

How to preload CloudKit SwiftData with data on first launch

3

1210

Jul '24

SOLVED: SwiftUI + Pop to Root TabView Functionality

5

5973

Jul '24

DocumentGroup app on mac loses its "new document" button if I declare a WindowGroup?

0

236

Jul '24

new developer, need help displaying on screen

1

457

Jul '24

Using SwiftData with a Widget leads to deadlock

2

1007

Jul '24

LazyVGrid not updating correctly

0

497

Jul '24

SOLVED: Speech-to-text: View not updating with transcription

1

435

Jul '24

Please help with animation

3

596

Jul '24

What would be the Best way to download a file? REST API or directly from a URL?

1

696

Jul '24

Is the .refreshable view modifier inherited by all the subviews within an HStack?

0

267

Jul '24

How to Address Swift6 when using UIDevice.current.userInterfaceIdiom

0

620

Jul '24

Day 19: Solved : **I would like someone to grade my code or let me know if i have made any mistakes? Why my simulator shows two done while building this code.

0

216

Jul '24

How do you use @Bindable togheter with inferred relationship?

2

367

Jul '24

How do I put Pencil into my application?

0

345

Jul '24

SOLVED: Passing @EnvironmentObject to NavigationDestination

1

658

Jul '24

How can I update a @StateObject / @EnvironmentObject from a function?

4

702

Jul '24

SOLVED: Can I write a query for two SwiftData models?

3

879

Jun '24

Can't filter SwiftData @Query based on an @EnvironmentObject

1

407

Jun '24

Switch vs if else in a SwiftUI view... is there a reason to avoid switch?

2

782

Jun '24

Keyboard shrinks my whole screen so it is hard to type in my texteditor

0

247

Jun '24

Best practices for shared @ModelActor and Actors with Swift 6

0

671

Jun '24

How do I fix : List encountered an issue computing the margins for a cell. Please file a bug report.

4

1013

Jun '24

How to Implement a Dictation Button for Custom Input Fields in SwiftUI?

0

474

Jun '24

SOLVED: How do I create a List Section based on an empty related field in SwiftData?

3

1128

Jun '24

SOLVED: SwiftData deletions not triggering a View update - SOLVED

4

1223

Jun '24

Accessing app functions from a widget

0

217

Jun '24

Choosing to display one or other ScrollView blocks the second one

3

821

Jun '24

Stopping audio playblack when another disclosure group is opened in voice recorder app

0

254

Jun '24

Using TextFormattingCommands() with TextEditor

1

489

Jun '24

Creating a progress slider in SwiftUI for AVAudioPlayer using Combine

1

603

Jun '24

Compact screens, keyboard and dynamic type UI issues

0

293

Jun '24

Nested JSON - I am lost

3

825

Jun '24

Can I prevent the preview from crashing and showing the crash report?

3

837

Jun '24

Day 84: 'Caching' an Image (using @State vs computed property).

0

344

Jun '24

Bug with SwiftUI ColorPicker and SwiftData

1

667

Jun '24

ScrollView : expand views from centre ?

1

456

Jun '24

Staggered animation for ScrollView content

0

283

Jun '24

SwiftData For Model Containing [Any]

1

516

Jun '24

TabView Not Updating Correctly

2

1529

Jun '24

why can't I append to my list

5

1142

Jun '24

How to prevent app from going into background state

1

543

Jun '24

Creating a navigation link within a chart?

0

344

Jun '24

SwiftData `isStoredInMemoryOnly: true` not working on macOS + iCloud?

4

1746

Jun '24

SOLVED: Is there a way to solve this simple bit of code?

5

974

Jun '24

Voiceover cursor in TabView jumps to previous tab

0

285

Jun '24

scrollTo not working with List

1

841

Jun '24

Purple Warning Help - This code path does interprocess communication underneath

0

367

Jun '24

SOLVED: Day 37 - Closing Sheets

4

807

Jun '24

SOLVED: How to run Firebase Messaging in SwiftUI

1

1029

Jun '24

SOLVED: one alert shows but other doesn't

3

1026

Jun '24

SOLVED: SwiftData Relationship woes

3

924

Jun '24

Is there a way to use NavigationStack(path:) and navigationDestination(for:, destination:) but open different types of views?

0

404

Jun '24

SwiftData question

0

289

Jun '24

Animation problem/bug

0

372

Jun '24

A view that combines a list and a grid in SwiftUI iOS

2

1042

May '24

Addition of fonts to Xcode/SwiftUI project failure

0

257

May '24

Update toggle on incomming TCP packet

0

262

May '24

SwiftUI View not recomputing on change of @ObservableObject

4

2559

May '24

Why are computed properties allow to be published in iOS 17?

1

1185

May '24

UltimatePortfolio Project: Unable to initialize without a valid iCloud account

11

4538

May '24

How to transfer the line parameter from figma to swiftUI layout?

3

3719

May '24

How do I fix this weird behavior while sorting a List using SwiftData?

0

335

May '24

SOLVED: Extend view into the background of another view

4

946

May '24

SOLVED: Conditional Alerts

3

1958

May '24

SOLVED: iOS 17 Issue with Alerts that worked in iOS 16

4

5049

May '24

SOLVED: Day 61: Codable Conformance for SwiftData Model Class

3

937

May '24

All interactions here are governed by our code of conduct.

Go further, faster with the Swift Career Accelerator.

GO FURTHER, FASTER Unleash your full potential as a Swift developer with the all-new Swift Career Accelerator: the most comprehensive, career-transforming learning resource ever created for iOS development. Whether you’re just starting out, looking to land your first job, or aiming to become a lead developer, this program offers everything you need to level up – from mastering Swift’s latest features to conquering interview questions and building robust portfolios.

Learn more here

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.