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

SOLVED: How to filter array according to set content?

2

888

Sep '22

SOLVED: How to add picture to post?

3

1676

Sep '22

Recording Speech Synthesizer

0

1104

Sep '22

Multiple decode output (Choice)

2

854

Sep '22

How to handle XCode Updates

2

1701

Sep '22

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

2

1161

Sep '22

How to convert string into date

4

8137

Sep '22

Help: inheritance, protocol, and structs

4

2937

Sep '22

Looking for an example of saving clip after using ReplayKit2 broadcast

0

616

Aug '22

SOLVED: Grabbing Struct of Struct

2

1012

Aug '22

SOLVED: Week identifier in Calendar.current

4

2108

Aug '22

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

2

3089

Aug '22

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

0

595

Aug '22

All I've got so far

0

475

Aug '22

Regular Expression

2

722

Aug '22

Having trouble understanding Threads/MainActor

0

575

Aug '22

Need help with code review

0

555

Jul '22

How do you setup Music kit for UIKit Apps?

0

986

Jul '22

SOLVED: Writing to an array inside a dictionary?

2

4851

Jul '22

Multiple Selector Picker

4

5445

Jul '22

Best practice for iCloud updates.

1

587

Jul '22

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

2

1114

Jul '22

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

4

2421

Jul '22

Changing the value of an element in an Array

7

4984

Jul '22

Swift for real-time 3D procedural generation

0

818

Jul '22

File into App's bundle for Integration builds only.

0

447

Jul '22

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

2

2234

Jun '22

SOLVED: No ObservableObject found

1

2775

Jun '22

Xcode Simulator

1

981

Jun '22

Confusion about unterminated string literal error (Blind developer)

1

2376

Jun '22

Magic Numbers

8

2344

Jun '22

removing from an array inside a function

3

1693

Jun '22

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

2

876

Jun '22

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

1

1672

Jun '22

Best Approach For Moving Code Between Xcode Projects

0

679

Jun '22

func and count question

2

1175

Jun '22

func, bools and count

1

866

Jun '22

Please help, Unable to write into plist file.

4

2244

Jun '22

nil coalescing operator and multiple function parameters

2

840

Jun '22

Objective-C and Swift Mixed Compile

0

598

Jun '22

Swift playgrounds 4.1 no animation, no running code

0

621

Jun '22

SOLVED: AVPlayer streaming from downloading file

8

21726

Jun '22

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

3

5094

Jun '22

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

6

1724

Jun '22

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

0

11139

Jun '22

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

4

1697

May '22

SOLVED: Notification

2

1401

May '22

Document Application template - pagination

0

537

May '22

Network framework example

7

3594

May '22

Constants

4

2031

May '22

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

0

601

May '22

What is an append equivalent for a struct?

5

2698

May '22

SOLVED: Decode two arrays of structs for UserDefaults

1

675

May '22

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

5

3420

May '22

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

6

3791

May '22

Correct way to load a Raw image into an Image view

3

3660

May '22

SOLVED: How to decode a JSON dictionary?

10

11922

May '22

White screen

1

578

May '22

Time on date shows 6 hours ahead

2

2668

May '22

Deleting a single task from a table of structs

0

460

Apr '22

Reload a UITableView while preserving selections and style

0

1239

Apr '22

Serial ports examples

0

810

Apr '22

SOLVED: Date Comparison

5

2544

Apr '22

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

2

3040

Apr '22

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

1

649

Apr '22

SOLVED: JSON Decodable, objects and arrays?!

3

2395

Apr '22

WWDC - Best day to "attend"?

1

747

Apr '22

SOLVED: Code review of median calculator

2

1141

Apr '22

Bluetooth Audio Lag

0

876

Apr '22

Core Audio learning project

0

1594

Apr '22

CloudKit authentication

1

766

Apr '22

Some packages don’t load in Swift Playgrounds 4

2

1753

Mar '22

Coloring SF Symbol in MKAnnotation

0

841

Mar '22

Fatal error when converting user provided String to Integer

4

2268

Mar '22

SOLVED: How to remove optional in my network service

2

853

Mar '22

SKEmitterNode follow path - but offset?

0

511

Mar '22

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

2

2489

Mar '22

Catching complicated errors including generic error types

0

521

Mar '22

Dependency Injection

4

1797

Mar '22

SOLVED: Animating SKUniforms?

2

1081

Mar '22

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

2

972

Mar '22

SOLVED: Confused about dates

2

1491

Mar '22

Avoid escaping slashes when generating a JSON string

0

1836

Mar '22

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

1

677

Mar '22

iOS development

0

522

Mar '22

ForEach won't start at anything but 0

3

978

Mar '22

SFSafariViewController and Authentication

0

1059

Mar '22

SOLVED: SHA256

3

2670

Feb '22

Does Swift have multiple dimension Arrays?

3

2400

Feb '22

ContiguousArray memory storage

2

1724

Feb '22

General Questions about CloudKit Sharing

0

584

Feb '22

Struggle with TextField delegate methods

1

6054

Feb '22

Question on Switch statements.

3

1097

Feb '22

SSL Certificates

3

1567

Feb '22

SOLVED: Need help with compound assignment operators

2

1051

Feb '22

Reset Unwrap App

0

548

Feb '22

Is there a Stack implementation in swift5

3

2845

Feb '22

Need help with visual studios 2022

0

760

Feb '22

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

2

18665

Feb '22

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

5

927

Feb '22

All interactions here are governed by our code of conduct.

BUILD THE ULTIMATE PORTFOLIO APP Most Swift tutorials help you solve one specific problem, but in my Ultimate Portfolio App series I show you how to get all the best practices into a single app: architecture, testing, performance, accessibility, localization, project organization, and so much more, all while building a SwiftUI app that works on iOS, macOS and watchOS.

Get it on Hacking with Swift+

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.