Post

Replies

Boosts

Views

Activity

Comment on Missing Fundamental something
Ah, excellent OOPer. I replaced my code with yours a got something that resembles the TV test pattern. I was worried about my storyboard being buggered, but now I know that's OK. Thanks. The key changes to my code (which now works!) are: declaring let layer = CAShapeLayer() within the loop. I had let shapeLayer = CAShapeLayer(). before the function declaration analysisView.layer?.addSublayer(layer) which provides the missing tie-in to the Outlet Thank you so much!
Oct ’21
Comment on ProgressBar with DispatchQueue
Thanks for responding Claude31. I'll need to move my "func possibleCombos()" into my ViewController as it is currently remote. Yes, I'm beginning to see. Since the progressBar must be a member of the ViewController, the "when" and "progressBar.doubleValue" assignment must be made within the class also. I thought (hoping) maybe there was a way to have remote functions "use" or "pass" messages into or out-of the ViewController. It will take me a while to study and assimilate this. Thanks!
Nov ’21
Comment on Delegation in Swift
I didn't mean to abandon this thread, it's just that I've tested the code and discovered the nested for-loops execute over 1.5E14 times and would require over 650,000 days to compute. A progress indicator is moot. I'm looking into whether GPU efforts would even help. It's mostly an issue of getting the results to memory and then storage. Since the memory required is tens of GB if not hundreds of GB, I/O speeds dictate not computational speeds. So I'm also re-thinking compromises. In the mean time, Claud31 did answer my question in a few different ways, so I'll close the thread.
Nov ’21