Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有带有日期和标题的 coredata 实体。我知道我们可以使用 NSPredicate 从核心数据中过滤数据。但我想根据日期属性的月份和年份过滤数据。可以通过 NSpredicate 实现吗?如果有怎么办?