NSPredicateEditor in Xcode 4

前端 未结 4 1103
醉梦人生
醉梦人生 2021-01-05 06:40

Bit of an issue with Xcode 4\'s predicate editor controls - I think I\'m doing everything right, and it really seems like the IDE itself is busted.

I\'m having this i

4条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-05 07:21

    It seems to be a bug in xCode 4 indeed. When you log the predicate formed by the predicateEditor, you'll see that it sounds

    "date" >= CAST(344464706.878616, "NSDate")

    instead of:

    date >= CAST(344464706.878616, "NSDate")

    The first style occurs in xCode 4 and the latter in xCode 3.

提交回复
热议问题