In that case, are there any ways to make the UI more transparent like how Apple does for their control Center and other macOS UIs?
Post
Replies
Boosts
Views
Activity
Oh yeah my apologies i used the wrong term, yes I'm referring to the previews.
I tried both. if I add my .onAppear to my ZStack Below my list nothing happens. My Retrieved data is still only displayed in my console. Same thing happens if I place it outside my stacks at the bottom like you showed
ill try out using this wrapper, I actually do get a runtime error after a 10 seconds into the project being built
@Scott Yes, that error handler I added does get triggered which is how I know it's a JSON parsing issue. So I'm trying to figure out why my data is not being parsed and returned and what I am doing wrong.
thank you ill be sure to redact info like that in my future code snippet shares going forward, ill check out the link you sent.
thats very helpful thank you. I am using bridging headers I was not aware the @silgen_name was unnecessary for exposing c functions
thank you ill try to single out more individual issues to hone in on. Im just a little confused why this is not a task that is very well documented or supported as theres many applications that are able to return the temperature values. My examples are apps like Macmade Hot, or the CPU temp feature thats built into Clean My Mac X.
@JWWalker I've checked. For this error in particular, it doesn't give me any more detail beyond "1 duplicate symbols "
Thank you for the head up. I'm definitely consulting documentation whenever I can but in all honesty I haven't been able to find much for what I am trying to accomplish with IOKit. I've mostly been consulting GitHub repos of apps that do something similar to what im trying to do as reference such as: https://github.com/beltex/SMCKit/blob/master/SMCKit/SMC.swift
https://github.com/macmade/Hot
from my research I thought im supposed to have it converted as a string to convert it to a double before displaying the number value in the form of gigabytes, im probably wrong but I thought this was ok practice.
this works thank you, Xcode however then throws an error "Cannot convert return expression of type 'Double' to return type 'String?'" for my return value.
thank you, ill try using that instead UPDATE: is there also an updated version for scanCharecters()?
@Claude31 I'm on Xcode 15.1 which should be the latest version, so it very much appears be to depreciated.
Thanks you for letting me know, but then how do applications like CleanMyMac X that have features that are able to monitor the temps of your local machine do so?