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

9687

Sep '20

How to decrypt AES 128 in Swift?

1

30

19h

SwiftUI ChartXSelection on TvOS

0

13

1d

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

2

52

3d

Xcode 15.3

0

28

3d

SOLVED: Is there a regex for this?

10

189

4d

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

3

69

9d

XCode 15.3 frequent Crashes on m1pro, macOs 14.4.1

0

64

9d

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

0

51

10d

Trouble with Await and Task

1

73

15d

SwiftData Listed Attributes

1

95

19d

binding SwiftData properties

0

62

21d

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

2

111

23d

Help! Please help, I am stuck: SwiftData Migration

19

1375

24d

Sending and receiving Codable data with URLSession and SwiftUI

1

85

25d

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

0

56

26d

SwiftData outside of View

3

710

Mar 20

SwiftData - Using it in a class

6

2376

Mar 14

Different UITableView behavior on different devices

2

107

Mar 10

Data from multiple entities into array for math ops

14

3042

Mar 8

SOLVED: Facing Issue with GitHub API call

1

87

Mar 7

How can I debug JSONDecoder?

3

169

Mar 6

SOLVED: Phone regex giving out of bounds error

3

150

Mar 5

Component of components

2

161

Feb 28

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

1

87

Feb 26

Sectioned Fetch Request without a property wrapper?

2

146

Feb 26

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

1

350

Feb 26

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

0

66

Feb 21

How do I embed a ScrollView in a NavigationStack?

2

330

Feb 20

How do I prepare CloudKit data for Swift Charts?

1

106

Feb 20

SOLVED: Swift Array append woes

4

226

Feb '24

SOLVED: Something wrong with SwiftData

6

549

Feb '24

Swift Standard Library - How are operators implemented

2

189

Feb '24

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

0

76

Feb '24

Help! How add Header in UICollectionView

1

211

Feb '24

Cycle through enum - checking if that value exists an object

2

171

Feb '24

Is it possible to disconnect SectionHeade from one UICollectionView?

0

95

Feb '24

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

1

179

Feb '24

How to upload default-data to the public CloudKit database

6

1697

Feb '24

Data Inconsistency when Syncing Core Data to CloudKit

0

112

Feb '24

Changing order of array

3

219

Feb '24

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

4

1032

Jan '24

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

0

98

Jan '24

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

0

166

Jan '24

How to save data safery 🤔?

0

112

Jan '24

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

2

257

Jan '24

How to change property type with custom migration?

1

271

Jan '24

SwiftData iCloud Syncing isn't working in default project

1

266

Jan '24

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

0

121

Jan '24

How to implement Header in UITableView UIKit?

10

486

Jan '24

C++ libraries & Swift

0

154

Jan '24

Sharing from books app

0

116

Jan '24

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

3

468

Jan '24

SOLVED: Preload app with SwiftData objects?

1

240

Jan '24

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

4

489

Jan '24

how to take the value of child elements XML?

0

169

Dec '23

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

9

1494

Dec '23

Toggle with variable isOn parameter

3

380

Dec '23

SwiftData: improper model with nonsensical relationship definitions

1

262

Dec '23

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

1

770

Dec '23

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

0

149

Dec '23

How do I add new fonts to Google Docs?

0

143

Dec '23

How upload data through Coordinator?

2

209

Dec '23

I am learning Swift

2

301

Dec '23

How to pre-load an app with multiple json files

1

166

Dec '23

SOLVED: Dynamic Query in SwiftData is failing

2

478

Dec '23

How sent infrormation from Second ViewController back?

0

204

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

504

Dec '23

SwiftUI StoreKit with IOS 17

4

650

Dec '23

SOLVED: Camera activated on views without camera

3

1217

Dec '23

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

1

326

Dec '23

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

3

443

Nov '23

Creating a macOS app with Haskell and Swift

0

190

Nov '23

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

8

982

Nov '23

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

5

1715

Nov '23

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

1

289

Nov '23

SOLVED: Unwrap "create Player struct" challenge

4

584

Nov '23

Purchase "Swift against humanity"

2

327

Nov '23

Which library to extract notes from sound?

3

760

Nov '23

SwiftData Book - Add Backup Procedure.

1

579

Nov '23

AVAudioRecorder and SwiftData

0

375

Nov '23

How to Upload HealthKit Data in the background?

0

338

Nov '23

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

1

266

Nov '23

How fix problem Cannot find type 'You_class' in scope? 🙄

1

626

Nov '23

SOLVED: Isometric grid overlay

1

342

Nov '23

who has pod smcamera_ios?

0

215

Oct '23

Hangman game

2

387

Oct '23

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

2

527

Oct '23

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

1

708

Oct '23

JSONDecoder and absent optionals

0

214

Oct '23

SwiftData problem with SortDescriptor

1

417

Oct '23

Obfuscating JSON data

1

518

Oct '23

Concurrency URLSession extension example query

0

227

Oct '23

SOLVED: Querying with SwiftData

8

2357

Oct '23

Fatal Error: Duplicate keys...

0

745

Sep '23

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

3

617

Sep '23

MapKit create custom places and navigate to them

7

1148

Sep '23

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

3

1005

Sep '23

SOLVED: Modified Core Data Model and CloudKit Syncing

2

508

Sep '23

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

7

933

Sep '23

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by Essential Developer

SPONSORED Join a FREE crash course for mid/senior iOS devs who want to achieve an expert level of technical and practical skills – it’s the fast track to being a complete senior developer! Hurry up because it'll be available only until April 28th.

Click to save your free spot now

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.