Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- func filteredExercises(with propertyKeyPath: #keyPath, filter: Any) {
- do {
- let filteredExercises = try CoreStore.fetchAll(
- From<ExerciseEntity>(),
- Where<ExerciseEntity>("%K = %@", #keyPath(ExerciseEntity.muscle.name), filter)
- )
- } catch {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement