logo
  • 教程列表
  • SO官方文檔
  • 使用謂詞
    • 匹配一個確切的字串
    • 換人
  1. StackOverflow 文件
  2. core-data 教程
  3. 使用謂詞
  4. 匹配一個確切的字串

匹配一個確切的字串

Created: November-22, 2018

let fetchRequest = NSFetchRequest(entityName: "Foo")
var thePredicate: NSPredicate?
thePredicate = NSPredicate(format: "message == 'example'")

實體 Foo 具有 message 字串屬性

  • 換人
  • 使用謂詞

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明