JCMTimeSliderUtils

Undocumented

  • Undocumented

  • Binary search for the index with the closest date to the one passed by parameter

    Declaration

    Swift

    public func findNearestDate(dataSource: JCMTimeSliderControlDataSource?, searchItem :NSDate) -> Int

    Parameters

    searchItem

    the date we want to find in the data source

    Return Value

    the index at which we find the closest date available

  • Undocumented

  • Undocumented