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.
假设我在核心数据中保存了以下餐厅详细信息,如 id、名称、地址,那么我如何检查具有特定 id 的餐厅是否存在于核心数据库中。
NSFetchRequest
NSPredicate
id == %@, currentID