Post

Replies

Boosts

Views

Activity

Reply to Build options in Xcode
I had read these reference before identifying these questions . Clarified questions: Thanks for "Adding a build configuration file to your project" but I am looking to save the current build settings in a file. Is there any option other than manually recreating them? #5 Privacy - I am not asking how to set the reason but a specific scenario where I am using scoped IDs that preserve privacy. If any one has specific responses, thanks in advance.
Oct ’24
Reply to Inexplicable Fence Hang
Wav file works!!! One of the older posts about this topic mentioned use of wav file instead. I tried that and it worked!!! Apparently mp3 being compressed coupled with use of AVFoundation may have something to do with it but still baffling, as I am simply playing music from statically included Bundle files. Anyway, onto the rest of testing and debugging hangs if any! 😬
Sep ’24
Reply to Inexplicable Fence Hang
I have no idea why there is some embedded "[ ] (https://www.example.com/) in my original post above. I don't remember adding that indeed no idea what that website is. I am unable to edit to remove that junk. Cleaned up code is : import var plyr : AVAudioPlayer? let pth = Bundle.main.path(forResource: "MusicFileName", ofType: "mpg")! let url = URL(fileURLWithPath: pth) do { plyr = try AVAudioPlayer(contentsOf: url) plyr?.prepareToPlay() plyr?.play() } catch { // print error etc. }
Sep ’24
Reply to Removing open match using Game Center functionality - why?
Thanks for your reply. Yes I am taking about list of matches for Turn-Based games on iOS. Currently both Forfeit and Remove ( slide left) options are available to a player. The term "Forfeit" sets the expectation that the local player is quitting the match. The term "Remove" / slide left appears to provide redundant functionality for two player Game matches that have not yet ended. I am using GKTurnBasedMatchMakerViewController and have a two player game so a player removing a match is effectively the same as a player forfeiting a match. Perhaps this functionality is useful for games with more than two players. I just wanted to make sure I am not missing something in the interpretation of "Remove"
Jan ’23