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

Forums > Swift

Help and discussion for the Swift language.

  Title Replies Views Activity

About the Swift forum

10

10876

Sep '20

Observing progress of asynchronous work

0

20

16h

What's the difference between this two examples.

2

97

1d

New @Previewable and Previewer() issues for Swiftdata

2

520

10d

I am STUMPED by Dates. Can you please help me understand what I'm missing here?

1

80

10d

SOLVED: Updating An Int In Another View

7

209

19d

SOLVED: How do I embed audio with Ignite?

1

65

20d

SOLVED: Is there a regex for this?

11

1279

20d

SKPhysicsContactDelegate in Swift 6

1

73

21d

SOLVED: SwiftData @Model macro code - build / Preview fail after upgrading to xcode 16

3

222

21d

SwiftData Schema Fatal error: Inverse already set to another relationship

0

95

21d

SpriteKit SKRenderer User Interaction

2

84

22d

Compiler warning/error using SwiftData with an Identifiable @Model after upgrading to Swift 6

1

240

22d

SOLVED: Getting a strange SwiftData error when generating samples using AVFoundation

1

77

Sep 7

Playground and async

0

72

Sep 3

quick question about optional and if

6

240

Sep 3

Why doesn't the compiler understand my #available ?

0

61

Sep 3

Decode JSON with results from a Stored Procedure

3

184

Aug 27

How to replace a cell with another when updating UIColelctionView?

1

117

Aug 22

Secure Authentication for Swift Apps with Professional Services

1

104

Aug 21

Ignite & Github

1

318

Aug 20

Cycling through all elements of a struct

2

208

Aug 19

Rendering bitmap buffers using Metal

0

124

Aug 14

SwiftData Migration

1

165

Aug 13

Parse excel files

1

210

Aug '24

[SOLVED] Need help with JSONDecoder.dateDecodingStrategy = .iso8601

1

259

Aug '24

PDFKit and SwiftData Questions

1

267

Jul '24

How to Decode the NOAA Weather JSON into a Swift Struct

4

489

Jul '24

SOLVED: Trying to access managed object context through a model

4

5077

Jul '24

Help! Please help, I am stuck: SwiftData Migration

21

4959

Jul '24

Heap buffer overflow

2

384

Jul '24

SOLVED: How to save to specific store/configuration in Core Data

1

291

Jul '24

SOLVED: working with Generics and Enums

2

324

Jul '24

SOLVED: Prevent Preview Data and Methods from shipping with Final Product to the App Store

4

504

Jul '24

SwiftData: filtering in memory or using a predicate, which is faster?

0

152

Jul '24

SOLVED: json parsing

4

554

Jul '24

SOLVED: Should I take CS50 before 100 days of swift? or After?

4

605

Jul '24

Cannot convert value of type 'Int' to expected argument type 'String'

2

3853

Jun '24

How to change property type with custom migration?

2

1160

Jun '24

SOLVED: Create UIImage from web URL

2

384

Jun '24

Local Notifications

1

278

Jun '24

Swift 6 in Xcode 16 by default?

0

391

Jun '24

How to connect SwiftData model object to AppEntity for using with App Intents?

1

856

Jun '24

SOLVED: Appending an item to an optional array within a struct

5

879

Jun '24

Getting remote configuration - Pattern advice

0

216

Jun '24

SOLVED: Best Practice Advice Needed

9

1330

Jun '24

Understanding Syncing between Core Data and CloudKit Public Database using NSPersistantCloudKitContainer

0

292

Jun '24

Best way to update swiftData model in the background from api calls

4

2086

Jun '24

Data from multiple entities into array for math ops

16

4926

Jun '24

Problem with collection view cells being reused

1

609

Jun '24

Write AVAsset to a new file with updated metadata

0

257

May '24

How to use multiple ViewModels together

0

297

May '24

SOLVED: Value of a var in @Obersvable class only updates in one view, but not the other

1

295

May '24

Help with alerts in UIKit

0

228

May '24

Advanced Text Styling

0

278

May '24

SOLVED: XcodeCloud failing

2

473

May '24

How can I scan a PDF417 Barcode from a screenshot?

0

309

May '24

Cloudkit app with same codebase, macOS uses development database, iOS uses production

1

459

May '24

AVAudioRecorder and SwiftData/CloudKit

0

277

May '24

Best practice for implementing helper functions in Swift: Static vs. Singleton vs. Instance Method?

0

270

May '24

SOLVED: CloudKit. How to avoid duplicates

2

736

May '24

SOLVED: UPDATED: SwiftData Attribute Fetching

6

2421

Apr '24

SOLVED: Dates Show 0.000000

2

519

Apr '24

SOLVED: How to decrypt AES 128 in Swift?

2

982

Apr '24

SwiftUI ChartXSelection on TvOS

0

307

Apr '24

Error when trying to access non-static method from a static method

2

413

Apr '24

Xcode 15.3

0

330

Apr '24

Passing a class reference from a list of classes isn't updating as expected

3

601

Apr '24

XCode 15.3 frequent Crashes on m1pro, macOs 14.4.1

0

314

Apr '24

How to add inner and outer shadows for such a shape?

0

294

Apr '24

Trouble with Await and Task

1

547

Apr '24

SwiftData Listed Attributes

1

489

Mar '24

binding SwiftData properties

0

341

Mar '24

SOLVED: How to have trailing closure for function of type (first: () -> Void, second: String) -> Void

2

476

Mar '24

Sending and receiving Codable data with URLSession and SwiftUI

1

424

Mar '24

Doc-App global state with focusedSceneObject solves MacOS dynamic Menu issues

0

538

Mar '24

SwiftData outside of View

3

2544

Mar '24

SwiftData - Using it in a class

6

4191

Mar '24

Different UITableView behavior on different devices

2

512

Mar '24

SOLVED: Facing Issue with GitHub API call

1

417

Mar '24

How can I debug JSONDecoder?

3

939

Mar '24

SOLVED: Phone regex giving out of bounds error

3

737

Mar '24

Component of components

2

424

Feb '24

Should a struct's properties be optional when working with JSON data?

1

333

Feb '24

Sectioned Fetch Request without a property wrapper?

2

563

Feb '24

Which thread or queue does Task run on when using @MainActor?

1

1116

Feb '24

How do I embed a ScrollView in a NavigationStack?

2

1245

Feb '24

How do I prepare CloudKit data for Swift Charts?

1

435

Feb '24

SOLVED: Swift Array append woes

4

727

Feb '24

SOLVED: Something wrong with SwiftData

6

2434

Feb '24

Swift Standard Library - How are operators implemented

2

638

Feb '24

How Can I Clean The API Response (JSON) From HTML Tags and Twitter Stuff

0

334

Feb '24

Help! How add Header in UICollectionView

1

1313

Feb '24

SOLVED: Cycle through enum - checking if that value exists an object

2

620

Feb '24

Is it possible to disconnect SectionHeade from one UICollectionView?

0

382

Feb '24

Alright, I have no clue what I'm doing...

1

450

Feb '24

How to upload default-data to the public CloudKit database

6

3521

Feb '24

Data Inconsistency when Syncing Core Data to CloudKit

0

481

Feb '24

Changing order of array

3

638

Feb '24

SOLVED: SwiftData Model with an array of another Model inside - problem

4

4348

Jan '24

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by RevenueCat.

SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure and A/B test your entire paywall UI without any code changes or app updates.

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.