I' looking for an equivalent of Java NavigableSet
object in objective-C, especially to get the pollFirst method.
Any ideas ?
EDIT : Documentation of NavigableSet : https://docs.oracle.com/javase/7/docs/api/java/util/NavigableSet.html
A SortedSet extended with navigation methods reporting closest matches for given search targets.
This interface additionally defines methods pollFirst and pollLast that return and remove the lowest and highest element, if one exists, else returning null.
Thanks in advance !