WWDC22 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

6241

Sep '20

Changing the value of an element in an Array

7

66

10h

Swift for real-time 3D procedural generation

0

8

1d

Get a property of an object by passing a string or enum instead of using dot notation.

3

45

1d

File into App's bundle for Integration builds only.

0

16

2d

How do I fix "Expected member name following '.'" error?

8

47

3d

SOLVED: Multipeer Connectivity - Need help sending and receiving data correctly

2

24

7d

SOLVED: No ObservableObject found

1

29

7d

Xcode Simulator

1

44

8d

Confusion about unterminated string literal error (Blind developer)

1

57

9d

Magic Numbers

8

134

9d

removing from an array inside a function

3

49

9d

SOLVED: Unwrap app. Free Coding task. Will be glad for advice how to solve.

2

52

9d

Is the Swift Playgrounds Subscription URL for Hacking with Swift dead ?

1

210

10d

Best Approach For Moving Code Between Xcode Projects

0

29

12d

func and count question

2

45

13d

func, bools and count

1

52

16d

Please help, Unable to write into plist file.

4

167

18d

nil coalescing operator and multiple function parameters

2

61

19d

Objective-C and Swift Mixed Compile

0

23

19d

Swift playgrounds 4.1 no animation, no running code

0

35

21d

SOLVED: AVPlayer streaming from downloading file

8

8923

21d

How to properly cancel Tasks in a ViewModel when a ViewController is deinitialized

3

713

22d

Custom initialisers, what to put when you want you create an empty class?

1

50

23d

Is it normal to have the data in the file written in a different order than it was programmed?

6

126

26d

How do I change the font in MS Word on Android?

0

63

Jun 3

Using CoreData for a reference guide, and if so, how to preload the data?

4

155

May 30

SOLVED: Notification

2

140

May 25

Document Application template - pagination

0

64

May 23

Network framework example

7

292

May 16

Constants

4

219

May 16

In this website...where do i start to learn ios programmatically?

0

87

May 14

What is an append equivalent for a struct?

5

175

May 11

How to convert string into date

3

139

May 8

SOLVED: Decode two arrays of structs for UserDefaults

1

80

May '22

SOLVED: How do I create a new CoreData object without referencing an empty object first?

5

318

May '22

Prevent an Apple Watch app from sleeping on SwiftUI, not working

6

419

May '22

Correct way to load a Raw image into an Image view

3

295

May '22

SOLVED: How to decode a JSON dictionary?

10

689

May '22

White screen

1

103

May '22

Time on date shows 6 hours ahead

2

140

May '22

Deleting a single task from a table of structs

0

60

Apr '22

Reload a UITableView while preserving selections and style

0

148

Apr '22

Serial ports examples

0

115

Apr '22

SOLVED: Date Comparison

5

310

Apr '22

Is there a way to convert DispatchTime value to Date on iOS?

2

296

Apr '22

Import and check contacts

4

269

Apr '22

SOLVED: Is there an easy way to find the index in an array from ForEach

3

266

Apr '22

SOLVED: How to pass a variable backwards and forward between views?

1

127

Apr '22

SOLVED: JSON Decodable, objects and arrays?!

3

270

Apr '22

WWDC - Best day to "attend"?

1

213

Apr '22

SOLVED: Code review of median calculator

2

175

Apr '22

Bluetooth Audio Lag

0

123

Apr '22

Core Audio learning project

0

195

Apr '22

CloudKit authentication

1

139

Apr '22

Some packages don’t load in Swift Playgrounds 4

2

461

Mar '22

Coloring SF Symbol in MKAnnotation

0

102

Mar '22

Fatal error when converting user provided String to Integer

4

302

Mar '22

SOLVED: How to remove optional in my network service

2

165

Mar '22

SKEmitterNode follow path - but offset?

0

92

Mar '22

Why is contains() so much faster with sets than it is with arrays?

2

223

Mar '22

Catching complicated errors including generic error types

0

91

Mar '22

How to handle XCode Updates

1

258

Mar '22

Dependency Injection

4

335

Mar '22

SOLVED: Animating SKUniforms?

2

265

Mar '22

SOLVED: Does reduce() use short-circuit evaluation?

2

164

Mar '22

SOLVED: Confused about dates

2

269

Mar '22

Avoid escaping slashes when generating a JSON string

0

95

Mar '22

How do I create a new Dictionary extension that returns a specific type of dictionary

1

119

Mar '22

iOS development

0

155

Mar '22

Network Status Check

3

1485

Mar '22

ForEach won't start at anything but 0

3

359

Mar '22

SFSafariViewController and Authentication

0

157

Mar '22

SOLVED: SHA256

3

542

Feb '22

Does Swift have multiple dimension Arrays?

3

379

Feb '22

ContiguousArray memory storage

2

343

Feb '22

General Questions about CloudKit Sharing

0

145

Feb '22

Struggle with TextField delegate methods

1

2510

Feb '22

SOLVED: How to add picture to post?

2

322

Feb '22

Question on Switch statements.

3

297

Feb '22

SSL Certificates

3

377

Feb '22

SOLVED: Need help with compound assignment operators

2

221

Feb '22

Reset Unwrap App

0

103

Feb '22

Is there a Stack implementation in swift5

3

270

Feb '22

Need help with visual studios 2022

0

145

Feb '22

SOLVED: How to fix 'self' is used before all stored properties are initialized?

2

1685

Feb '22

Conceptual questions about Struct's immutability and property changes from within the struct and from the instance

5

271

Feb '22

SOLVED: Can I configure XCode to create a new tab when opening a file from the Navigator?

2

153

Feb '22

Unit Testing of CloudKit Using Mock Objects

0

122

Feb '22

SOLVED: Improve memory performance

4

343

Feb '22

Writing/reading from file

1

281

Feb '22

Advanced Dismissing Views

4

366

Feb '22

SOLVED: print something with „where“ (2d array)

8

470

Feb '22

SOLVED: Using async await with older asynchronous Swift API's

1

981

Feb '22

SOLVED: I want to store formatted text in Realm Swift database

1

234

Feb '22

Change text klick button...

3

291

Feb '22

'windows' was deprecated in iOS 15.0: Use UIWindowScene.windows on a relevant window scene instead

0

2083

Jan '22

SOLVED: JSON Decoding Error Using A Generic

2

1477

Jan '22

SOLVED: Update records in json array

15

1111

Jan '22

Filter ForEach From a Binding

1

508

Jan '22

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by RevenueCat

SPONSORED You know StoreKit, but you don’t want to do StoreKit. RevenueCat makes it easy to deploy, manage, and analyze in-app subscriptions on iOS and Android so you can focus on building your app.

Explore the docs

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.