Post

Replies

Boosts

Views

Activity

Reply to SwiftData #Predicate case insensitive String comparison
I followed your suggestion: musicAlbumPredicate = #Predicate<MusicAlbum> { $0.artistName.localizedLowercase.contains(searchQuery.localizedLowercase) } It produced the following error messages: SwiftData/DataUtilities.swift:93: Fatal error: Couldn't find \MusicAlbum.artistName.localizedLowercase on MusicAlbum with fields [("artistName", \MusicAlbum.artistName, nil, nil), ("albumName", \MusicAlbum.albumName, nil, nil), ("songName", \MusicAlbum.songName, nil, nil), ("genre", \MusicAlbum.genre, nil, nil), ("rating", \MusicAlbum.rating, nil, nil), ("releaseDate", \MusicAlbum.releaseDate, nil, nil), ("coverPhotoFullFilename", \MusicAlbum.coverPhotoFullFilename, nil, nil)]
Jul ’23
Reply to AVSpeechSynthesizer not working in iOS 16
I was hoping that Xcode 14.1 beta would solve this issue reported above, but unfortunately still the same errors. I have been getting these errors since Xcode 14.0 beta 3. Text-to-Voice is a critically important feature, but has been missing in Xcode 14 and now 14.1 beta. It works perfectly under iOS 15.6 and Xcode 13.x. Why is Apple not including this feature in Xcode 14?
Sep ’22