UPGRADE YOUR SKILLS: Learn advanced Swift and SwiftUI on Hacking with Swift+! >>

Forums > Swift

Help and discussion for the Swift language.

  Title Replies Views Activity

About the Swift forum

10

9405

Sep '20

Sectioned Fetch Request without a property wrapper?

0

6

1h

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

0

15

2d

How do I embed a ScrollView in a NavigationStack?

2

48

3d

How do I prepare CloudKit data for Swift Charts?

1

27

3d

SOLVED: Swift Array append woes

4

66

5d

SOLVED: Something wrong with SwiftData

6

157

5d

Swift Standard Library - How are operators implemented

2

67

7d

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

0

25

10d

Help! How add Header in UICollectionView

1

48

13d

Help! Please help, I am stuck: SwiftData Migration

18

502

17d

Cycle through enum - checking if that value exists an object

2

81

17d

Is it possible to disconnect SectionHeade from one UICollectionView?

0

28

18d

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

1

97

20d

How to upload default-data to the public CloudKit database

6

1206

21d

Data Inconsistency when Syncing Core Data to CloudKit

0

46

21d

Changing order of array

3

123

22d

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

4

280

25d

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

0

44

26d

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

0

52

Jan 22

How to save data safery ๐Ÿค”?

0

60

Jan 22

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

2

135

Jan 20

How to change property type with custom migration?

1

129

Jan 19

SwiftData iCloud Syncing isn't working in default project

1

120

Jan 17

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

0

59

Jan 17

How to implement Header in UITableView UIKit?

10

250

Jan 15

C++ libraries & Swift

0

78

Jan 13

SwiftData outside of View

1

201

Jan 13

Sharing from books app

0

62

Jan 11

How to pass data to the parent View from is a child ๐Ÿ™„?

3

212

Jan 9

SOLVED: Preload app with SwiftData objects?

1

121

Jan 7

Binary operator โ€œ+โ€ cannot be applied to operands of type โ€œIntโ€ and โ€œDoubleโ€

4

247

Jan 6

how to take the value of child elements XML?

0

89

Dec 30

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

9

1245

Dec 30

Toggle with variable isOn parameter

3

218

Dec 29

SwiftData: improper model with nonsensical relationship definitions

1

123

Dec 29

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

1

524

Dec 28

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

0

75

Dec 28

How do I add new fonts to Google Docs?

0

81

Dec 28

How upload data through Coordinator?

2

133

Dec 28

I am learning Swift

2

184

Dec '23

Data from multiple entities into array for math ops

13

2598

Dec '23

How to pre-load an app with multiple json files

1

109

Dec '23

SOLVED: Dynamic Query in SwiftData is failing

2

302

Dec '23

How sent infrormation from Second ViewController back?

0

148

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

279

Dec '23

SwiftUI StoreKit with IOS 17

4

407

Dec '23

SwiftData - Using it in a class

5

1701

Dec '23

SOLVED: Camera activated on views without camera

3

941

Dec '23

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

1

198

Dec '23

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

3

314

Nov '23

Creating a macOS app with Haskell and Swift

0

143

Nov '23

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

8

721

Nov '23

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

5

1148

Nov '23

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

1

205

Nov '23

SOLVED: Unwrap "create Player struct" challenge

4

427

Nov '23

Purchase "Swift against humanity"

2

248

Nov '23

Which library to extract notes from sound?

3

543

Nov '23

SwiftData Book - Add Backup Procedure.

1

422

Nov '23

AVAudioRecorder and SwiftData

0

245

Nov '23

How to Upload HealthKit Data in the background?

0

247

Nov '23

SOLVED: How to earn "Earnings" in the Unwrap App

1

208

Nov '23

How fix problem Cannot find type 'You_class' in scope? ๐Ÿ™„

1

323

Nov '23

SOLVED: Isometric grid overlay

1

259

Nov '23

who has pod smcamera_ios?

0

160

Oct '23

Hangman game

2

320

Oct '23

SOLVED: How to figure out which swift closure is holding strong reference?

2

356

Oct '23

GameKit achievement notifications not showing up even though they were working before?

1

586

Oct '23

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

0

208

Oct '23

JSONDecoder and absent optionals

0

169

Oct '23

SwiftData problem with SortDescriptor

1

322

Oct '23

Obfuscating JSON data

1

372

Oct '23

Concurrency URLSession extension example query

0

162

Oct '23

SOLVED: Querying with SwiftData

8

1743

Oct '23

Fatal Error: Duplicate keys...

0

542

Sep '23

iOS 17 | Disk Full | Developer/System Data | Irregular heating

3

492

Sep '23

MapKit create custom places and navigate to them

7

945

Sep '23

SOLVED: Remove or resize an image when selecting an item in a Picker view?

3

738

Sep '23

SOLVED: Modified Core Data Model and CloudKit Syncing

2

420

Sep '23

SOLVED: Hacking arend with JSON invalid key containing a space - no snakes or camels

7

748

Sep '23

Xcode 15

4

804

Sep '23

SOLVED: Group Core Data items by category in List in SwiftUI

7

851

Sep '23

Project 12 - Problem with unarchiving :(

1

281

Sep '23

SOLVED: Measurement conversion error?

1

283

Sep '23

Setting up problems

1

269

Sep '23

didBegin is not working in swift

1

199

Sep '23

SwiftData

4

1205

Sep '23

Help needed: Type annotations for generic types result in loss of generic flexibility

0

206

Aug '23

SOLVED: Not able to show image on the UI

5

553

Aug '23

SOLVED: How can I edit something that was already saved in CoreData?

2

573

Aug '23

Trouble getting CloudKit to work with Core Data

0

393

Aug '23

SwiftData What is this parameter in ModelConfiguration?

6

1371

Aug '23

SOLVED: How to get rid of AppDelegate in modern Swift Apps

5

810

Aug '23

SOLVED: Can you make a non-concrete type conform to codable?

6

1009

Aug '23

SOLVED: Trying to access managed object context through a model

3

2098

Aug '23

SOLVED: Still having problems understanding how to create a Struct to extract from a JSON

8

1390

Aug '23

Best approach to share changes between classes

0

243

Aug '23

Problem trying to iterate CoreBluetooth write/read requests to OBD-II BLE adapter

0

394

Aug '23

Help. Only the last element is removed in UIScrollView ๐Ÿ™„

1

290

Jul '23

Multi-output enums as generics...opinions sought.

1

320

Jul '23

 
 

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 your entire paywall view 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.