Post

Replies

Boosts

Views

Activity

Comment on SCNGeometry and .copy()
DOH! it probably would have worked if my class SCNGeometry had the encoder and decoder with which to archive. this class was the very first object when i started programming several years ago. new to Swift then, the class now needs a lot of reworking. maybe that's why copy() and mutableCopy() failed in the first place. Thanks Bill3D for causing me to have a look in another direction.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Dec ’24
Comment on SceneView selective draw since concurrency
The childNodes "few" or "many" are made children of the secondNode.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Jan ’25
Comment on SCNGeometry and .copy()
DOH! it probably would have worked if my class SCNGeometry had the encoder and decoder with which to archive. this class was the very first object when i started programming several years ago. new to Swift then, the class now needs a lot of reworking. maybe that's why copy() and mutableCopy() failed in the first place. Thanks Bill3D for causing me to have a look in another direction.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on SCNGeometry and .copy()
thanks for the reply, however... the deepClone() produces empty SCNGeometry's when acting on an instance of the class. the "try" never throws an error to catch.
Topic: Graphics & Games SubTopic: SceneKit Tags:
Replies
Boosts
Views
Activity
Dec ’24
Comment on Xcode 15.0 Release doesn't connect at all iOS 17
Works for me too! Thanks
Replies
Boosts
Views
Activity
Nov ’24
Comment on macOS load file progress indication
I see keys: current, downloaded, and notDownloaded, but no variables for progress. The spinning beachball will have to do. Thanks for letting me know that URLSession was a dead end though.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’24
Comment on memory race on deep looper
Turns out, I was declaring new instances of a structure within each loop. Rookie mistake. Replaced most of my DQ's with Task(), sendable func(). Works great!
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on memory race on deep looper
just to be clear, the DQ morph's to: DispatchQueue.main.async{ self.loop_count += Int(pow(Double(loopSet.count), 6.0)) } It is not continuous but it need not be.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jul ’23
Comment on Using LAPACK in macOS 13.3
The alerts/warnings have returned. Added -DACCELERATE_NEW_LAPACK to "Build Settings"/"Apple Clang - Custom Compiler Flags"/Debug & Release but alerts/warnings persist. Nevertheless, Build Succeeds and LAPACK generated data.
Replies
Boosts
Views
Activity
May ’23
Comment on Apple apps not downloading
thanks
Replies
Boosts
Views
Activity
Jul ’22
Comment on precompiler test for cpu count
FYI: "man sysctlbyname" does deliver a man page but "which sysctlbyname" gives: "sysctlbyname not found". Also, mdfind sysctlbyname is void.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’22
Comment on SecureCoding roadblock?
OK, that's all the unique code. If you cut and paste into a new project of your making, you can run it and get the same errors. Thanks.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on SecureCoding roadblock?
NO. runtime actually aborts @ aCoder.encode(e_Two, forKey: CodingKeys.e_Two.rawValue) during a save-to-file function.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on SecureCoding roadblock?
the runtime aborts when it hits a classTwo.init() @ self.e_Two = e_Two ?? [class...
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Is Core Data the right tool?
Nope, my class has optional arrays of unknown count.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22
Comment on Is Core Data the right tool?
Actually, since the size of the structures ARE known if they are populated, i.e, they are a class instance with optional variables, I could use that full size. It may be inefficient, disk wise, but is the best option so far.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
May ’22