func sortArrayBasedOnStartTime(_ array: NSArray) -> NSArray
{
for eventDict in array
{
let startHourOfThisEvent : String = self.getStartHour((eventDict as! NSArray)["eventStartTime"] as! String)
if(hourTemp as! String == startHourOfThisEvent)
{
arrSpecificHour.add(eventDict as! NSDictionary)
}
}
}
-
Where do you receive the error exactly? Upon adding an item to arrSpecificHour?dirtydanee– dirtydanee2016-10-25 09:20:07 +00:00Commented Oct 25, 2016 at 9:20
Add a comment
|