Post AmjOw3SEgoqZi0CBWq by [email protected] | |
More posts by [email protected] | |
Post #AmiVU0DpcQye634Kgq by [email protected] | |
0 likes, 0 repeats | |
With #SwiftData, how to use optional (for CloudKit) Codable enums in a Predicat… | |
Post #AmiVU0PAwG3EfENON6 by [email protected] | |
0 likes, 1 repeats | |
@alpennec Have you tried flatMap on the optional property instead? I found that… | |
Post #AmjLmQX9j6wWWuDLlo by [email protected] | |
0 likes, 0 repeats | |
@jonduenas I’ll try but I think it will behave the same as the safe unwrappin… | |
Post #AmjLmQjD0IaH8HqyYa by [email protected] | |
0 likes, 1 repeats | |
@alpennec These predicates are weird. Like you have to hold them very specifica… | |
Post #AmjOw3SEgoqZi0CBWq by [email protected] | |
0 likes, 0 repeats | |
@jonduenas I’ve just tested. If we use rawRepresentable Enum (Int or String),… | |
Post #AmjOw3b69rw69ULGLI by [email protected] | |
0 likes, 1 repeats | |
@alpennec Ah yeah my experience may have been slightly different. Can’t remem… | |
Post #AmkbcHi5TFsEgzTO64 by [email protected] | |
0 likes, 0 repeats | |
@jonduenas I just tried the flatMap thing, but it's the same. The apps cras… | |
Post #AmkbcHsMr265CsHb7Y by [email protected] | |
0 likes, 1 repeats | |
@alpennec Looks like it’s what you have to do. Also seeing that guidance here… |