WWDC24 SALE: Save 50% on all my Swift books and bundles! >>

Forums > Swift

Help and discussion for the Swift language.

  Title Replies Views Activity

About the Swift forum

10

10083

Sep '20

Local Notifications

1

31

1d

Ignite & Github

0

29

1d

Swift 6 in Xcode 16 by default?

0

24

2d

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

1

118

2d

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

5

157

3d

Getting remote configuration - Pattern advice

0

72

5d

SOLVED: Best Practice Advice Needed

9

446

6d

Understanding Syncing between Core Data and CloudKit Public Database using NSPersistantCloudKitContainer

0

66

6d

New @Previewable and Previewer() issues for Swiftdata

0

77

8d

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

4

364

18d

Data from multiple entities into array for math ops

16

3791

20d

Problem with collection view cells being reused

1

131

21d

Write AVAsset to a new file with updated metadata

0

73

24d

How to use multiple ViewModels together

0

90

27d

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

1

95

28d

Help with alerts in UIKit

0

86

28d

Advanced Text Styling

0

133

May 23

SOLVED: XcodeCloud failing

2

196

May 19

How can I scan a PDF417 Barcode from a screenshot?

0

105

May 17

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

1

242

May 16

AVAudioRecorder and SwiftData/CloudKit

0

111

May 10

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

0

117

May 9

SOLVED: CloudKit. How to avoid duplicates

2

269

May 8

SOLVED: UPDATED: SwiftData Attribute Fetching

6

773

Apr '24

SOLVED: Dates Show 0.000000

2

241

Apr '24

SOLVED: How to decrypt AES 128 in Swift?

2

347

Apr '24

SwiftUI ChartXSelection on TvOS

0

141

Apr '24

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

2

214

Apr '24

Xcode 15.3

0

176

Apr '24

SOLVED: Is there a regex for this?

10

661

Apr '24

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

3

278

Apr '24

XCode 15.3 frequent Crashes on m1pro, macOs 14.4.1

0

198

Apr '24

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

0

137

Apr '24

Trouble with Await and Task

1

256

Apr '24

SwiftData Listed Attributes

1

265

Mar '24

binding SwiftData properties

0

180

Mar '24

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

2

270

Mar '24

Help! Please help, I am stuck: SwiftData Migration

19

2622

Mar '24

Sending and receiving Codable data with URLSession and SwiftUI

1

268

Mar '24

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

0

214

Mar '24

SwiftData outside of View

3

1431

Mar '24

SwiftData - Using it in a class

6

3180

Mar '24

Different UITableView behavior on different devices

2

270

Mar '24

SOLVED: Facing Issue with GitHub API call

1

226

Mar '24

How can I debug JSONDecoder?

3

456

Mar '24

SOLVED: Phone regex giving out of bounds error

3

383

Mar '24

Component of components

2

278

Feb '24

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

1

193

Feb '24

Sectioned Fetch Request without a property wrapper?

2

306

Feb '24

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

1

620

Feb '24

How do I embed a ScrollView in a NavigationStack?

2

671

Feb '24

How do I prepare CloudKit data for Swift Charts?

1

248

Feb '24

SOLVED: Swift Array append woes

4

418

Feb '24

SOLVED: Something wrong with SwiftData

6

1227

Feb '24

Swift Standard Library - How are operators implemented

2

368

Feb '24

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

0

195

Feb '24

Help! How add Header in UICollectionView

1

579

Feb '24

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

2

346

Feb '24

Is it possible to disconnect SectionHeade from one UICollectionView?

0

215

Feb '24

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

1

297

Feb '24

How to upload default-data to the public CloudKit database

6

2453

Feb '24

Data Inconsistency when Syncing Core Data to CloudKit

0

286

Feb '24

Changing order of array

3

369

Feb '24

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

4

2312

Jan '24

ExpressibleBy#Literal with parameter pack "Cannot convert value of type '#ExpressibleType' to expected argument type '#Type'"

0

206

Jan '24

How to sort Swift Data by the original order of a decoded JSON array

0

339

Jan '24

How to save data safery 🤔?

0

197

Jan '24

Looking for an easy way to decode JSON into an object, but with partial data

2

452

Jan '24

How to change property type with custom migration?

1

500

Jan '24

SwiftData iCloud Syncing isn't working in default project

1

490

Jan '24

Cell is not configured in collection view with Diffable data source, while using generics

0

226

Jan '24

How to implement Header in UITableView UIKit?

10

892

Jan '24

C++ libraries & Swift

0

278

Jan '24

Sharing from books app

0

210

Jan '24

How to pass data to the parent View from is a child 🙄?

3

721

Jan '24

SOLVED: Preload app with SwiftData objects?

1

362

Jan '24

Binary operator “+” cannot be applied to operands of type “Int” and “Double”

4

844

Jan '24

how to take the value of child elements XML?

0

287

Dec '23

Verify if phone can access internet even though connected to wifi.

9

1865

Dec '23

Toggle with variable isOn parameter

3

587

Dec '23

SwiftData: improper model with nonsensical relationship definitions

1

465

Dec '23

How to migrate @Published with Combine to the new @Obserbable?

1

1153

Dec '23

How do I adjust the font size in Adobe Reader to make text easier to read?

0

247

Dec '23

How do I add new fonts to Google Docs?

0

265

Dec '23

How upload data through Coordinator?

2

329

Dec '23

I am learning Swift

2

468

Dec '23

How to pre-load an app with multiple json files

1

266

Dec '23

SOLVED: Dynamic Query in SwiftData is failing

2

790

Dec '23

How sent infrormation from Second ViewController back?

0

298

Dec '23

Solved: SwiftUI/EnvironmentObject.swift:90: Fatal error: No ObservableObject of type PomodoroModel found. A View.environmentObject(_:) for PomodoroModel may be missing as an ancestor of this view.

4

836

Dec '23

SwiftUI StoreKit with IOS 17

4

980

Dec '23

SOLVED: Camera activated on views without camera

3

1560

Dec '23

SwiftData - model context in a bigger application. How to work with it?

1

453

Dec '23

SOLVED: Problem with calculation of differences between month-value pair beyond the turn of the year

3

614

Nov '23

Creating a macOS app with Haskell and Swift

0

285

Nov '23

macOS 14 upgrade caused new confusing errors in my Swift test.

8

1358

Nov '23

SOLVED: SwiftData: How do I create an Add view with an optional date

5

2398

Nov '23

SOLVED: Challenge: can you port this Rust function to Swift?

1

410

Nov '23

SOLVED: Unwrap "create Player struct" challenge

4

779

Nov '23

 
 

All interactions here are governed by our code of conduct.

Save 50% in my WWDC sale.

SAVE 50% To celebrate WWDC24, all our books and bundles are half price, so you can take your Swift knowledge further without spending big! Get the Swift Power Pack to build your iOS career faster, get the Swift Platform Pack to builds apps for macOS, watchOS, and beyond, or get the Swift Plus Pack to learn advanced design patterns, testing skills, and more.

Save 50% on all our books and bundles!

 
Unknown user

You are not logged in

Log in or create account
 

Link copied to your pasteboard.