FREE TRIAL: Accelerate your app development career with Hacking with Swift+! >>

Forums > Swift

Help and discussion for the Swift language.

  Title Replies Views Activity

About the Swift forum

10

4649

Sep '20

"Custom Zone in Public DB" error when using iOS15 / Xcode 13

0

5

3h

SOLVED: Failed to call designated initialiser on NSManagedObject class

4

28

12h

Funny Error

2

208

3d

CarPlay vs Hands Free Audio

0

14

4d

SOLVED: MVVM Comprehension Help

3

157

6d

UICollectionViewCell with three UICollectionViews using Compositional Layout

0

16

7d

Colouring UIButton's image

0

15

8d

SOLVED: Escaping closure captures 'inout' parameter

5

1561

13d

SOLVED: Help with generics and lists

2

89

16d

Fix an Identifiable struct

2

57

16d

Swiftui and firebase avoid blink on load data

0

40

20d

Stored Value Pass

0

49

21d

pickers and picker data in swift uikit

2

70

21d

SOLVED: how to create generic array that can accept any data type?

2

105

21d

Firebase work with sub collections getting empty

0

28

22d

Given an array of structs with non-optional properties, why is compactMap { $0.property } fine but compactMap(\.property) doesn't work?

1

52

24d

SOLVED: Why is compactMap { $0 } not equivalent to compactMap(\.self)?

2

77

24d

.usesFontLeading in boundingRect gives different height

0

34

24d

Help with model concept for my app

3

103

24d

intrinsicContentSize's width is ignoring widthAnchor

0

36

25d

Local Notifications with specified start date and repeatable every 3 days

1

61

25d

Help: inheritance, protocol, and structs

3

118

27d

UITextField.text optional unwrap inside of textFieldShouldEndEditing function

2

89

Sep 15

Learn UIKit or SwiftUI

4

612

Sep 14

Voice Promptings

0

47

Sep 14

SOLVED: Swift and SwiftUI for Android?

2

112

Sep 13

SOLVED: AVAudioRecorder

3

154

Sep 13

When setting background colour of view

1

75

Sep 10

SOLVED: Given an array of integers arr, replace each element with its rank.

2

144

Sep 2

I want to understand Delegation

2

137

Sep 1

Two buttons to catch an event - uikit

1

81

Sep 1

Specific datatypes from MapKit

0

45

Aug 29

New Outcome with each print of an set

2

115

Aug 26

SOLVED: Making some code run only on iPad

1

105

Aug 19

SOLVED: AVPlayer streaming from downloading file

6

3888

Aug 19

Architecture

1

135

Aug 18

Swift Package or Library

1

119

Aug 18

SOLVED: How to decode JSON response with different type

2

194

Aug '21

Environment Object not updating view

1

858

Aug '21

SOLVED: How to implement tree data structure in Core Data?

7

1690

Aug '21

Images not loading from an API call

2

147

Jul '21

Swift Playground Not Working

1

147

Jul '21

How to use the resulting callback swift code

0

119

Jul '21

TableView didSelectRowAt save value to different properties.

1

136

Jul '21

SOLVED: Best approach to store 2D data and interpolate between that data

10

1499

Jul '21

Using random values within Unit Tests, how do you feel about it?

0

75

Jul '21

Animating pixelation affect on SKSpriteNode using SKEffectNode ?

1

173

Jul '21

IOS & WatchOS background communication

1

242

Jul '21

Timer App help

2

289

Jul '21

How to read JSON with Swift?

3

323

Jul '21

How do I create my own iOS custom file format in Swift?

1

352

Jul '21

Need help repairing my hoverboard

0

87

Jul '21

Why is didSet called

0

102

Jul '21

Cannot stop SKActions on Node, even if removed and readmitted to scene ?!

0

79

Jul '21

SOLVED: Filtering SKNodes ?

2

188

Jul '21

Getting an error when I try to compress/down-sample the audio file using AVAssetWriterInput swift.

0

172

Jun '21

SOLVED: How do I get a [UInt32] into a Data?

2

211

Jun '21

is Swift still worthy?

2

231

Jun '21

How to choose dynamically JSON content from the web?

6

420

Jun '21

How can I go back to the tableView?

0

92

Jun '21

Playground won't run

2

527

Jun '21

Child ViewController inside child ViewController.

0

82

Jun '21

Xcode 13.0 beta shouts my lazily initialized UICollectionView.CellRegistration inside a separate datasource class

0

110

Jun '21

didSet does not fire on @Published property when assign(to:) is used

2

263

Jun '21

AVQueuePlayer

1

196

Jun '21

Find The Best Swift Repositories For Your Project

0

85

Jun '21

Info.plist - Where/when does it get Generated - How do I trigger Generation from Project files?

1

875

Jun '21

Call async function in tableview

0

154

Jun '21

Need help with Tiktok Feed

1

293

Jun '21

How can I use a protocol with an associated type as input type for dependency injection?

0

122

Jun '21

SOLVED: Project 4, challenge

1

259

Jun '21

What is the right way of using CloudKit as a Backup Service for Core Data?

1

1141

Jun '21

HWS+ not working

2

249

May '21

SOLVED: What does jpegData(compressionQuality:) changed to?

2

335

May '21

SOLVED: Accessing Files from the Files App

1

239

May '21

escaping closures vs delegates

2

298

May '21

GCD and weak self in main thread

0

246

May '21

Defining Scene versus a Window

0

108

May '21

SOLVED: Loading .sqlite file into Core Data

1

374

May '21

how to set AVAudio session correctly

1

3217

May '21

SOLVED: swift playground....where to now?

1

147

May '21

how do i create a Countdown clock in swift playground

0

143

May '21

SOLVED: Core Data: Fetch Requests Templates in the XCDataModelD. How to substitute values for placeholders?

1

193

May '21

SOLVED: Array compare values

10

909

May '21

Can iCloud Documents be used to sync simple data betwen devices?

3

851

May '21

Application payment problem

0

108

May '21

SOLVED: Card exercise

2

207

May '21

Project 7 Only 'Most Recent' shows on tabBarItem

2

453

May '21

Edit and save image exif metaTada

0

305

May '21

JSON Encoding my data back to my app directory

1

325

May '21

Project 4 Easy Browser Challenge 1 (HELP ME IM LOSING MY MIND)...lol

2

288

May '21

how to redraw using functional draw() swift

0

110

May '21

How to set reserved space for Section Header to zero

0

108

May '21

Execute code after my qrcode scanned

2

264

May '21

How do I use Core Data across an application?

3

324

May '21

High Level Core Data Binary Data Question

3

1409

May '21

BASE64 DECODED CONTENT IS NIL

1

618

May '21

bamboozled: index-range issue with decoding a polyline

0

104

May '21

Cannot Pass Immutable Value as Inout argument: function call returns an immutable value, Type '()' cannot conform to 'sequence'

1

424

Apr '21

 
 

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 iOS devs who want to become complete senior developers — from October 18th to 24th. Learn how to apply iOS app architecture patterns through a series of lectures and practical coding sessions.

Learn more

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.