TEAM LICENSES: Save money and learn new skills through a Hacking with Swift+ team license >>

Forums > Swift

Help and discussion for the Swift language.

  Title Replies Views Activity

SOLVED: Querying with SwiftData

8

2670

Oct '23

Fatal Error: Duplicate keys...

0

843

Sep '23

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

3

668

Sep '23

MapKit create custom places and navigate to them

7

1200

Sep '23

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

3

1139

Sep '23

SOLVED: Modified Core Data Model and CloudKit Syncing

2

550

Sep '23

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

7

1017

Sep '23

Xcode 15

4

1037

Sep '23

SOLVED: Group Core Data items by category in List in SwiftUI

7

1461

Sep '23

Project 12 - Problem with unarchiving :(

1

443

Sep '23

SOLVED: Measurement conversion error?

1

399

Sep '23

Setting up problems

1

374

Sep '23

didBegin is not working in swift

1

278

Sep '23

SwiftData

4

1491

Sep '23

Help needed: Type annotations for generic types result in loss of generic flexibility

0

301

Aug '23

SOLVED: Not able to show image on the UI

5

777

Aug '23

SOLVED: How can I edit something that was already saved in CoreData?

2

790

Aug '23

Trouble getting CloudKit to work with Core Data

0

571

Aug '23

SwiftData What is this parameter in ModelConfiguration?

6

1733

Aug '23

SOLVED: How to get rid of AppDelegate in modern Swift Apps

5

1170

Aug '23

SOLVED: Can you make a non-concrete type conform to codable?

6

1372

Aug '23

SOLVED: Trying to access managed object context through a model

3

3305

Aug '23

SOLVED: Still having problems understanding how to create a Struct to extract from a JSON

8

1640

Aug '23

Best approach to share changes between classes

0

313

Aug '23

Problem trying to iterate CoreBluetooth write/read requests to OBD-II BLE adapter

0

559

Aug '23

Help. Only the last element is removed in UIScrollView 🙄

1

373

Jul '23

Multi-output enums as generics...opinions sought.

1

475

Jul '23

Update JSON with new data

0

410

Jul '23

Access outside of Sandbox

3

1006

Jul '23

Changing property wrapper's properties

2

849

Jul '23

SOLVED: Strange positioning issues with SpriteKit - what am I getting wrong?

2

982

Jul '23

Strange behaviour compiling in xCode

4

1187

Jul '23

Cannot convert value of type 'Int' to expected argument type 'String'

1

2491

Jul '23

Is it possible to use Swift Data with an external API?

0

551

Jul '23

Creating Onboarding Screen in UIKit with custom page indicators

0

536

Jul '23

Creating functions best practice

0

297

Jul '23

Fetching an entity as a dictionary, and including a related entity in the result

0

353

Jul '23

SOLVED: Executing code while writing a package?

2

677

Jul '23

SOLVED: MCNearbyServiceBrowser fails to connect after resetting services

5

1402

Jul '23

How do I change the font to small caps in PowerPoint?

0

701

Jul '23

Swift Data and CloudKit

7

7230

Jul '23

Sharing a background NSManagedObjectContext across a task group’s tasks?

1

497

Jul '23

Return from initializer without initializing all stored properties

3

1386

Jul '23

Decode JSON when dictionary keys are unknown

1

976

Jul '23

SOLVED: Decoding JSON

5

815

Jul '23

SOLVED: Calculating first and last day of the month.

4

7838

Jun '23

Error converting AXValue to CFTypeRef in AXUIElementCopyAttributeValue on MacOS

0

495

Jun '23

How to hide my API Key in my code?

2

1981

Jun '23

Context in environment is not connected to a persistent store coordinator: NSManagedObjectContext

1

872

Jun '23

sending data to table view when tapping a button using delegate pattern

1

1313

Jun '23

Understanding the PassthroughSubject and CurrentValueSubject

2

1148

Jun '23

Which text font looks good in AutoCAD drawing?

0

1025

Jun '23

Simplifying Reel Downloads on Facebook

0

336

Jun '23

SOLVED: Is there any way to approach the same functionality without "virtual" keyword in swift. (Absence of "virtual" keyword and consequences in swift)

2

572

Jun '23

Sync Local-Notifications via iCloud

0

322

Jun '23

pure-evil

1

532

May '23

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

5

3450

May '23

Writing a function that returns a function

6

1092

May '23

Can't log in to HWS+

3

614

May '23

SOLVED: Useful Functions/Methods

1

573

May '23

DVTCoreDeviceEnabledState message

0

4924

May '23

SOLVED: Async Await with a For Loop

1

1418

May '23

Waiting until the for loops ends

0

394

May '23

CloudKit keeps syncing after being turned off until the app is relaunched

0

574

May '23

How to change Menu backgroundcolor?

0

340

May '23

Localization

3

841

May '23

HyperLinks

2

628

May '23

SOLVED: How do I create and use Environmental Variables in Swift for sensitive info?

2

668

May '23

Screenshot Function not working

3

727

May '23

How do you watch the videos and which video/book best covers Closures?

7

1684

May '23

dataTask() in loop

2

1005

May '23

how to ping an IP address

1

1862

May '23

SOLVED: JSON Issue

4

1405

May '23

Lock Screen Widget (.accessoryCircular) does not refresh

0

495

Apr '23

SOLVED: Using chatGTP in Swift?

2

771

Apr '23

Error displayed in Xcode. Error Domain=NSCocoaErrorDomain Code=4099

2

5216

Apr '23

SOLVED: 100 Day/UIKit/Day 26 Part 4, Challenge 1 &2 included, WKWebView issue/question

4

1041

Apr '23

SOLVED: Could I add .environment(\.managedObjectContext, persistenceController.container.viewContext) to a Class or a Struct?

7

1817

Apr '23

SOLVED: Confused about background colors in forms.

3

923

Apr '23

SOLVED: Error code 36 when trying to copy projectname.xcodeproj

2

561

Apr '23

SOLVED: How to update UISlider in real time so it can be in sync with a song that's playing.

2

2297

Apr '23

SOLVED: How to initialize this subclass

5

1968

Apr '23

Pre-load data when using CoreData and CloudKit

0

675

Apr '23

SOLVED: Is it ok to call Published properties from an ObservableObject class in other classes in Swift

2

558

Apr '23

How to deal with presenting modal view controllers in Swift coordinator pattern?

0

523

Apr '23

Swift Package View not showing

1

384

Apr '23

.sheet & Swift Package Manager

2

552

Apr '23

Using static libraries inside a Swift Package

0

570

Mar '23

How to store multiple iterations of a data structure into an array? The end goal is to ForEach loop through that array to display the data in a view

2

744

Mar '23

URLSession

3

689

Mar '23

How can i refresh/reload a view on orientation change to make my constraints work as intended in a different orientation?

1

980

Mar '23

MQTT with Swift

0

477

Mar '23

SOLVED: Calculating Dates and Double

2

805

Mar '23

SOLVED: Not appending in nested for loops

2

823

Mar '23

Cannot convert value of type 'RemoveFunctionIntent.Type' to expected argument type '() -> INIntent'

1

821

Mar '23

SOLVED: Sorting with many, many criteria

3

977

Mar '23

SOLVED: For loop in sorting function just plain does not work...

1

553

Mar '23

SOLVED: Playground: Troubleshooting function to create an array of hourly pay rates from employee history of promotions

1

471

Mar '23

SOLVED: Computed var referencing “parent” var

3

873

Mar '23

How can I use speech synthesis as an alarm?

0

754

Mar '23

All interactions here are governed by our code of conduct.

Hacking with Swift is sponsored by String Catalog.

SPONSORED Get accurate app localizations in minutes using AI. Choose your languages & receive translations for 40+ markets!

Localize My App

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.