BLACK FRIDAY SALE: Save big 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

6989

Sep '20

Loading JSON ignores different subclasses

1

149

7h

SOLVED: Help Needed: JSON Encoding

4

93

1d

Help needed: Xcode won't build my project because it can't find a file that I purposely deleted. How do I fix it?

6

95

5d

How to detect ANY change of a class property

1

51

6d

Revert UIApplication.shared.isIdleTimerDisabled to its initial state

0

20

6d

SOLVED: How to initialize this subclass

4

138

12d

Is there anything comparable to a ListBox like in C#?

4

174

17d

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

5

988

23d

SOLVED: Easiest way to create an array of all capital letters?

4

135

23d

SOLVED: Suggestions on a better way to implement OptionsSet with Codable

4

155

24d

SOLVED: How would you structure this in Core Data?

4

189

25d

XCTest is not documented. Paul's page on XCTest is unclear.

0

71

Oct 28

What right way to restore in app purchases with swift and handle non purchased product

0

43

Oct 27

H264 frame decoding help

0

47

Oct 27

How does one iterate over files in a specific folder in the app Bundle?

3

150

Oct 26

Why are table views so difficult? And autolayout as well?

1

74

Oct 25

Someone made requests to the blockchain from a swift app?

0

111

Oct 25

Want to learn programming

3

156

Oct 21

Coordinating access to NSManagedObjects across multiple background services

1

76

Oct 21

Array 'vertical flip'

4

156

Oct 20

SOLVED: How to use generics to simplify overloaded functions

4

173

Oct 20

100 days of SwiftUI

1

99

Oct 18

SwiftUI app architecture.

4

280

Oct 15

SOLVED: override can only be specified on class members?

1

131

Oct 13

Some help with delegate pattern, kindly guide

6

221

Oct 13

Best resources to learn Swift?

2

178

Oct 12

CloudKit question regarding limits

0

79

Oct 11

What user interface framework Apple TV uses?

1

91

Oct 6

Where am I going wrong?

0

131

Oct 2

Watching Swift in One Hour - question about extension

2

135

Sep 30

Import and check contacts

4

549

Sep '22

Watching swift in one hour - question about class refence

0

73

Sep '22

ContinuousClock() not compiling in Xcode 14?

1

140

Sep '22

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

9

1212

Sep '22

Core Data validateForDelete misbehavior

0

81

Sep '22

Image stored in documents directory disappears on app relaunch/rebuild

0

71

Sep '22

SOLVED: How to filter array according to set content?

2

156

Sep '22

SOLVED: How to add picture to post?

3

736

Sep '22

Recording Speech Synthesizer

0

84

Sep '22

Multiple decode output (Choice)

2

212

Sep '22

How to handle XCode Updates

2

732

Sep '22

SOLVED: Help with UIKit Error - unable to dequeue a cell with identifier

2

374

Sep '22

How to convert string into date

4

478

Sep '22

Help: inheritance, protocol, and structs

4

1239

Sep '22

Looking for an example of saving clip after using ReplayKit2 broadcast

0

102

Aug '22

SOLVED: Grabbing Struct of Struct

2

188

Aug '22

SOLVED: Week identifier in Calendar.current

4

284

Aug '22

SOLVED: Filtering the array of structs by another array of dates

2

384

Aug '22

In-App Purchases (Non Consumable): Can we have reusable Promo Codes?

0

124

Aug '22

All I've got so far

0

137

Aug '22

Regular Expression

2

237

Aug '22

Having trouble understanding Threads/MainActor

0

120

Aug '22

Need help with code review

0

188

Jul '22

How do you setup Music kit for UIKit Apps?

0

212

Jul '22

SOLVED: JSON Issue

3

447

Jul '22

SOLVED: Writing to an array inside a dictionary?

2

339

Jul '22

Multiple Selector Picker

4

509

Jul '22

Best practice for iCloud updates.

1

178

Jul '22

SOLVED: Would an app developed with ios 15.2 sdk always work on newer ioses, like 15.5

2

327

Jul '22

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

4

589

Jul '22

Changing the value of an element in an Array

7

820

Jul '22

Swift for real-time 3D procedural generation

0

167

Jul '22

File into App's bundle for Integration builds only.

0

136

Jul '22

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

2

438

Jun '22

SOLVED: No ObservableObject found

1

285

Jun '22

Xcode Simulator

1

259

Jun '22

Confusion about unterminated string literal error (Blind developer)

1

539

Jun '22

Magic Numbers

8

772

Jun '22

removing from an array inside a function

3

407

Jun '22

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

2

345

Jun '22

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

1

465

Jun '22

Best Approach For Moving Code Between Xcode Projects

0

219

Jun '22

func and count question

2

327

Jun '22

func, bools and count

1

248

Jun '22

Please help, Unable to write into plist file.

4

662

Jun '22

nil coalescing operator and multiple function parameters

2

268

Jun '22

Objective-C and Swift Mixed Compile

0

247

Jun '22

Swift playgrounds 4.1 no animation, no running code

0

193

Jun '22

SOLVED: AVPlayer streaming from downloading file

8

11850

Jun '22

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

3

1611

Jun '22

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

1

195

Jun '22

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

6

555

Jun '22

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

0

1540

Jun '22

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

4

529

May '22

SOLVED: Notification

2

427

May '22

Document Application template - pagination

0

176

May '22

Network framework example

7

907

May '22

Constants

4

529

May '22

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

0

206

May '22

What is an append equivalent for a struct?

5

584

May '22

SOLVED: Decode two arrays of structs for UserDefaults

1

213

May '22

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

5

853

May '22

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

6

1234

May '22

Correct way to load a Raw image into an Image view

3

1015

May '22

SOLVED: How to decode a JSON dictionary?

10

3426

May '22

White screen

1

229

May '22

Time on date shows 6 hours ahead

2

496

May '22

Deleting a single task from a table of structs

0

166

Apr '22

Reload a UITableView while preserving selections and style

0

364

Apr '22

 
 

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by RevenueCat

SPONSORED In-app subscriptions are a pain to implement, hard to test, and full of edge cases. RevenueCat makes it straightforward and reliable so you can get back to building your app. Oh, and it's free if your app makes less than $10k/mo.

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.