Post

Replies

Boosts

Views

Activity

Comment on Not sure why Swift is giving me a "Cannot find 'xFile' in scope" error
Wow! The ‘f’! I kept looking at the ‘x’! Thank you. I seriously think I have a reading disorder sometimes.— SergioDCQ less than a minute ago
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Can I search for an existing instance of a particular class in Swift in runtime?
Did most of my work in Windows, that had such a feature, so am looking for an equivalent. But also, there might be a case of searching through multiple instances to find a particular one maybe?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Can I search for an existing instance of a particular class in Swift?
Runtime
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on Would someone please explain the <> in let requestedComponents: Set<Calendar.Component> = [ ...]?
So take make sure I read it correctly, Sets and Array are the same except a Set has no ordering, and each value must be unique? And in the example I gave, Calendar.Component was already defined as a set?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22
Comment on What is the difference between func (to view: UIView) and not using the 'to'?
So if I read you correctly? Do whichever I please, there is no difference as far as operations are concerned?
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Mar ’22
Comment on How can I get my app to wait for a permission request to complete?
See code below please
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on How can I get my app to wait for a permission request to complete?
Sorry, this does not make my app wait. Someone suggested I put the call to the rest of my app as a function in the completion part of AVCaptureDevice.requestAccess. I guess that makes sense. I would have though there was a way to: 1 - create a separate thread/queue 2- Make a call to the thread 3 - Tell calling app to wait till the new thread/queue is done
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Feb ’22
Comment on Is there a way to find gaps, or silences in audio files?
That code appears to read the stream live, still too new at this. Going to have to study it to find out how to read from saved file.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Jan ’22
Comment on Does Swift 5.x offer any callback functions in AVAudioRecorder or must I use a callback timer?
So I need to do my own callback timer, got it. Thanks @MobileTen
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Why does a dismissed child UIView doesn't reappear properly after its first appearance?
Same glitch regardless of which animation I chose.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Why does a dismissed child UIView doesn't reappear properly after its first appearance?
Actually the problem occurs when I am showing the window, but only after it is first dismissed.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Why is superview returning nil?
deleting my comment....thank you, that was it
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Dec ’21
Comment on Do child view controllers inherit the frame of their parents?
I don’t do anything other than the code you see above.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on How to properly destroy a child UIViewController?
Am reading it, handy but lengthy. But can’t a child window be modal as well?
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
Boosts
Views
Activity
Nov ’21
Comment on Unable to update to Xcode 13.1 storage wise
Thanks, I knew unzipping required more, but didn't realize how much more. Ugh so much work. Better to get another HD. I have a WD MyCloud EX2 that won't go online. I'd be better off to see if I can convert it to a a local HD.
Replies
Boosts
Views
Activity
Oct ’21