ios - Sort a relationship in cosmicmind graph's library -
i'm using graph library , need sort relationship relationship.subject field [ " idorder " ] . it's possible it? , if idorder isn't int date?
yes can swift 3, in development branch.
_ = graph.search(forrelationship: ["t1"]).sorted { (a, b) -> bool in return a.subject!["idorder"] as! int > b.subject!["idorder"] as! int }
all best :)
Comments
Post a Comment