AVSpeechSynthesizer() alternatives for Swift / Xcode?
A requirement of my application is to implement TTS. I can use the following code to loop through the available voices and select one. However, all of the available system voices are very low quality. There are no “(Enhanced)” version of the voices available. As I understand it, those are only on the device if the user has previously downloaded and configured it in their system settings.
Where to find the Size class button in Xcode 15
I’m kind of unable to locate where is the size class button in Xcode15, I was unable to create size classes for iPhone SE3
How Are Apps Like WhatsApp Releasing Builds with Dark Mode Icons When Only Xcode 16 Beta 5 is Available?
On iOS 18 (Xcode 16), Apple has introduced app icon asset variants for dark mode and tinted mode. However, currently, only Xcode 16 beta 5 is available, which is not suitable for App Store releases. Recently, I noticed that apps like WhatsApp have released builds with support for dark mode app icons. How is this possible? Am I missing something?
UIButtons don’t show
I have the following UIButtons
Positioning UILabel
I’m using the following code to position the UILabel on the screen
Xcode 0 files localized
Xcode does not see the translation in the Localizable file, but languages are added to the file when you click the “+” button. Also, when previewing a program in the simulator, a new translation from the file is not added and you need to constantly clear the build cache for it to appear.
How to create and position UIButton programmatically?
I want to programmatically create and position a UIButton. Is the correct way to do so using NSLayoutConstraint.activate
?
Shortcuts stopped working in Shortcuts app after moving intents definition file into a framework
I have a project with a framework that contains a few sub-projects. All of these projects were using Custom Intents
that were identical. Therefore, I decided to move those files into a framework, along with a class that handles the Custom Intents
logic.
provisioning profile errors in Xcode – can’t figure out how to fix
I keep getting this run error? It runs on simulator but not on my iPhone. I can’t figure out what I am doing wrong. I removed derived and archived data. I turned it to manual. I restarted Xcode. Any help is appreciated. I looked at other answers but none worked.
How to exclude R.generated.swift files from SwiftLint checks?
I have this setup. I have one main project, that has few targets, that are reused across sub-project. So, a its a framework in general. And there is a SwiftLint
enabled in that main project.