how to get a particular day of week in objective c??
- by hemant
using gregorian calender i am able to get the number of day of the week i.e 1 for sunday and 2 for monday etc but i am not able to find a function that displays the name of week then the number?? can anyone help??
here is my code to get the number of day
NSDate *dates = [gregorian dateFromComponents:component];
NSDateComponents…