Post

Replies

Boosts

Views

Activity

Reply to SwiftUI iPad Landscape Only
Downside these methods are not fired: func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {             self.orientationLock         }                  func supportedInterfaceOrientations(for window: UIWindow?) -> UIInterfaceOrientationMask {             self.orientationLock         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to What is "focus"?
You must be a teacher with your own opinions already cemented. The documentation is very clear and provides examples. Stop fighting the system and follow the examples, perform actual test, and assess the results instead of fighting those providing the answers to your somewhat rant list of questions. As some will say, Read The ******* Manual.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Apr ’22
Reply to dieharder compilation failure on Apple Silicon: 'ld: symbol(s) not found for architecture arm64'
The insert functions are not exported public for the ARM compilation of the library. Undefined symbols for architecture arm64: "_insert", referenced from: _dab_filltree in libdieharder.a(libdieharder_la-dab_filltree.o) _main_filltree in libdieharder.a(libdieharder_la-dab_filltree.o) "_insertBit", referenced from: _dab_filltree2 in libdieharder.a(libdieharder_la-dab_filltree2.o) ld: symbol(s) not found for architecture arm64 Known issue: https://github.com/eddelbuettel/dieharder/pull/1 You will have to fix the issue locally before building.
Apr ’22
Reply to ObservableObject as a singleton vs EnvironmentObject
Singletons are bad as they do not adhere to any memory deallocation rules when not manually implemented. There is a reason for injecting the object into the environment as it is made available to the entire app without the need creating singletons. https://dev.to/amrtaher1234/why-singletons-are-bad-220o
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Decrypt an apple pay token
Not possible, make a new Cert and store the private key somewhere safe.
Replies
Boosts
Views
Activity
Apr ’22
Reply to SwiftUI iPad Landscape Only
Downside these methods are not fired: func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask {             self.orientationLock         }                  func supportedInterfaceOrientations(for window: UIWindow?) -> UIInterfaceOrientationMask {             self.orientationLock         }
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to App Store Game Rejected For "Spam"
Appeal, if no success, then port to another platform and publish via Steam.
Replies
Boosts
Views
Activity
Apr ’22
Reply to Minimum access role to upload iOS apps to via App Store Connect API
Developer
Replies
Boosts
Views
Activity
Apr ’22
Reply to Why AVSpeechSynthesizer object method speakUtterance only worked when object declared by @property
Version 1 AVSpeechSynthesizer has class scope and remains allocated until it cleaned up by ARC or its dealloc method is called. Version 2 AVSpeechSynthesizer has function or method scope is a deallocated when the method speak returns. It is a matter of scope.
Topic: Machine Learning & AI SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to What is "focus"?
You must be a teacher with your own opinions already cemented. The documentation is very clear and provides examples. Stop fighting the system and follow the examples, perform actual test, and assess the results instead of fighting those providing the answers to your somewhat rant list of questions. As some will say, Read The ******* Manual.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to how do i output system command C++ on xcode
Windows and Unix based operating systems each have specific platform programs.
Replies
Boosts
Views
Activity
Apr ’22
Reply to OS keeps crashing my app
Looks like a Task dispatched something for the main thread to background.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to dieharder compilation failure on Apple Silicon: 'ld: symbol(s) not found for architecture arm64'
The insert functions are not exported public for the ARM compilation of the library. Undefined symbols for architecture arm64: "_insert", referenced from: _dab_filltree in libdieharder.a(libdieharder_la-dab_filltree.o) _main_filltree in libdieharder.a(libdieharder_la-dab_filltree.o) "_insertBit", referenced from: _dab_filltree2 in libdieharder.a(libdieharder_la-dab_filltree2.o) ld: symbol(s) not found for architecture arm64 Known issue: https://github.com/eddelbuettel/dieharder/pull/1 You will have to fix the issue locally before building.
Replies
Boosts
Views
Activity
Apr ’22
Reply to AppleScipt last mile help - XML data automation
You now need another script to coordinate execution or calling the two scripts passing any data from one to the other.
Replies
Boosts
Views
Activity
Apr ’22
Reply to "Failed to produce a diagnostic for expression; please file a bug report" error.
bracket before text parameter value var title = "Merhaba \(lifeformanalyzer.processLifeform(text: [text))!" var title = "Merhaba (lifeformanalyzer.processLifeform(text: text))!" or var title = "Merhaba (lifeformanalyzer.processLifeform(text: $text))!"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to MailKit Mail Extension for Mac Catalyst
Only native macOS as per the availability notice here: https://developer.apple.com/documentation/mailkit
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to How to put in casual position objects in SwiftUI
See here and mark as answered: https://developer.apple.com/tutorials/swiftui/drawing-paths-and-shapes and here https://developer.apple.com/documentation/swiftui/add_rich_graphics_to_your_swiftui_app
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’22
Reply to Is there a way to send event that audio playback ended (AVAudioEngine)?
There is no expected result because one developer should not influence the behaviour of another developer's app hence the sandbox. The API doesn't work like that.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’22