# \#ns-predicate

**URL:** https://forums.swift.org/tag/ns-predicate/429.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [CompoundPredicate: A small library to combine Predicates](https://forums.swift.org/t/compoundpredicate-a-small-library-to-combine-predicates/70688)

<div class="topic-metadata">

**Author:** [@NoahKamara](https://forums.swift.org/u/NoahKamara)\
**Replies:** 7\
**Last updated:** [March 12, 2025, 9:19pm UTC](https://forums.swift.org/t/compoundpredicate-a-small-library-to-combine-predicates/70688 "2025-03-12T21:19:17Z")

</div>

Hello Swift Community, Lately, I've been increasingly frustrated with the limitations of Predicates in Swift, especially when it comes to combining them, unlike NSPredicate. The documentation on this topic has been rath…

---

## [\[Pitch\] #Expression Macro and Type](https://forums.swift.org/t/pitch-expression-macro-and-type/70097)

<div class="topic-metadata">

**Author:** [@jmschonfeld](https://forums.swift.org/u/jmschonfeld)\
**Replies:** 0\
**Last updated:** [February 16, 2024, 10:52pm UTC](https://forums.swift.org/t/pitch-expression-macro-and-type/70097 "2024-02-16T22:52:48Z")

</div>

Hi all, I'd like to pitch some new APIs for Foundation as an expansion of our existing #Predicate macro and type that we introduced last year. Please feel free to read the details below and let me know if you have any c…

---

## [How to filter with NSPredicate for fetch only the objects between now and one day ago?](https://forums.swift.org/t/how-to-filter-with-nspredicate-for-fetch-only-the-objects-between-now-and-one-day-ago/40760)

<div class="topic-metadata">

**Author:** [@Luko](https://forums.swift.org/u/Luko)\
**Replies:** 2\
**Last updated:** [September 29, 2020, 9:41pm UTC](https://forums.swift.org/t/how-to-filter-with-nspredicate-for-fetch-only-the-objects-between-now-and-one-day-ago/40760 "2020-09-29T21:41:11Z")

</div>

Hello! I need help in order to understand how works NSPredicate. Thank you. Example: I have an Entity in my Core Data model called “Post” This entity “Post” have 2 attributes: -postName: String -postDate: Double //…
