The Swift Den

TSD

The Swift Den

Join the community to ask questions about The Swift Den and get answers from other members.

Join
FFrank_Li5/3/2024

Seeking Help with Mac App Crash Issue - $1000 Reward

Hello everyone, I'm facing an issue with my Mac app where it crashes upon opening. I've uploaded the app file to Google Drive and would appreciate any help in identifying and fixing the problem. The app can be downloaded using this link. https://drive.google.com/file/d/1fHGc-9l22ZIGmaxMu5NJ9lqb1jXOC9Fq/view?usp=drive_link...
MUMoin Uddin5/2/2024

macos support issue

Hello, I have macos 11 , which is out of support, and I can't afford to buy a new MacBook and my MacBook is not strong enough for OS update . So how can I use macos 12 or 13 in my MacBook ? Because I am importing some libraries that only macos 12 supports, so how can I resolve this issues ?...
HYHemisi Yahya4/24/2024

Noob Status

learning Swift with no prior knowledge of programming what so ever any tricks ?
Aandrearusso233/23/2024

vision framework

does anyone have experience working with the vision framework and coreml? got an interesting project i'm working on. would love to discuss
Jjudas3/17/2024

Xcode framework conversion

How can I turn a Swift language module into a framework via Xcode? Can you help me?
AAmsel3/15/2024

Cannot convert Value

Exact error: Cannot convert value of type URL to expected argument type MLModel I’m using swift playgrounds on iPad...
No description
AAmsel3/14/2024

Class for MLModel

Can someone help me out? I don’t have an Mac available right now so I’m coding on my iPad. I need the class which gets automatically created when you import an MLModel into XCode. I need the class for the ResNet50 model. Could somebody send me that via private message or post it in here?
Nno_brainer3/13/2024

Needed help with Tabview re-tap pops the NavigationStack to root

I had implemented the code from https://kentrobin.com/home/tap-tab-to-go-back/ But I'm stuck and its not working....
ZZer03/12/2024

Am I trippin' or is this animation absolutely not behaving like intended ?

I was trying to fix some animation problem and somehow got down to this weird behavior : ```swift import SwiftUI struct ContentView: View {...
Solution:
Ok for those interested I found a workaround : using scaleEffect instead of frame seems to fix the problem Not sure why this works but I guess it has to do with the fact that the view's frame is used to determine its position in the parent view...
Nnpmaile3/11/2024

SwiftUI Project refuses to build in GitHub actions after adding an external dependency

I'd try to explain it, but I'm not super familiar with the Xcode Build process, so I'd probably volunteer wrong information. It builds locally in xcode. Ask me anything else you want to know about the project and how it's supposed to be set up Feel free to ask anything you need to know https://github.com/npmaile/PapeChanger/actions/runs/8230082356/job/22502591489...
SSamarth3/3/2024

Connecting Swift to SDK

Cannot find App Sandbox within swift, how to connect to SDK?
FFrazyy3/2/2024

SWIFT

Looking to learn how to use swift language. I’m on iOS 14.4 (no computer) I’m looking to see if I’m able to use command swift to be able to mess around with low level code. I understand swift playground is a thing buts it won’t let me get and I’d rather not use swift online playground. If there is a way I can send code through my terminal please let me know. It would be great to be able to practice
Vveronica18262/29/2024

xpc connection

If xpc service starts listening is there any call back to know at client application? #xpc #swift...
SSurpriseGuy2/27/2024

Help - Review Apple Question

#help #reviewapple Is anyone having problems with Apple regarding the review? I sent an app to Apple on February 14th, it's under review but the status doesn't change!!...
ZZooooom2/26/2024

How to block input for mixed immersive spaces (VisionOS)

Basically, I'm sick of trying to use a keyboard in VisionOS (magic keyboard or Macbook) and having it decide that I've pinched every third word while I'm typing. Since I can't find one that exists (though if one does, please tell me), I'm looking into making a basic text editor that has a toggle where you can turn on and off gesture control while using it. Basically I just want the text to not be affected by where you're looking or any pinching gestures. There's a browser I saw recently that...
SSamarth2/19/2024

Having some trouble cloning a project using XCode

Having some trouble with cloning and being able to open the file
Ssana2/11/2024

Image picking for Beginner

Hi i'm very new to swift, i've been using flutter for two years now so i'm having a hard time translating thing in my mind between dart and swift, i want to get back an image from library or camera ( i have finished this part) and i want to temporary save it in memory and get the path, how can i do that ???...
DDrakeo1/28/2024

Looking For Help & Guidance

Hello everyone, At the moment, I'm working on a project using swift and Xcode. Admittedly, I'm not the most skilled programmer. I'm in search of assistance or guidance from anyone who's willing and able to offer it. Additionally, if someone could point me in the direction of where I might find the help I need without it costing an arm and a leg , I would be very grateful.
Sstefanjuhl1/27/2024

Deploy watchOS app without Apple Developer Account

Hey everyone, I developed a watchOS app for personal use and i cant find a way to deploy it permanent to my Apple watch. I dont aim to create apps for the app store , so i am not very interested in purchasing the dev account. Anyone can help me? 🙂...
QQuailude1/27/2024

Programmatically creating navigation bar for bottom of an app. Similar to native clock app.

I want to have a simple navigation bar along the bottom of my app. I currently have it set up as TabView, with each tab linking to one of my views. Research has pointed me in the direction of using UITabBarController. Which one should I be using for this use case?
Next