Sorting an NSArray by a key-value relationship that is 2 levels deep

后端 未结 1 1898
孤街浪徒
孤街浪徒 2021-01-28 03:58

I have an NSArray of UILocalNotification objects that I need to sort according to a key within the UILocalNotification\'s userInfo property, which is an NSDictionary. I know how

相关标签:
1条回答
  • 2021-01-28 04:32

    Did you try your code? Apple's document (here) says it accepts key paths, not just keys.

    0 讨论(0)
提交回复
热议问题