2016-09-12 6 views

答えて

0

はい、これは現在、開発ブランチにあるSwift 3で行うことができます。

_ = graph.search(forRelationship: ["T1"]).sorted { (a, b) -> Bool in 
     return a.subject!["idOrder"] as! Int > b.subject!["idOrder"] as! Int 
    } 

すべてのベスト:)

+0

私は答えのために非常に感謝しています。彼は私をたくさん助けました。全体の代わりに日付だったら? –

+0

日付の場合、 graph.search(forRelationship:["T1"])のように 'createdDate'プロパティを使用できます。ソート済み{(a、b) - > Bool in return a.createdDate CosmicMind

関連する問題