Problem getting weeks in a month with NSCalendar...
- by AngrySpade
I am creating a calendar control of sorts...
One thing I need to know is how many weeks are there in a Month...
So NSCalendar rangeOfUnit:inUnit:forDate Seems to be exactly what I need...
Except I am noticing something that seems off and I can't quite figure out why this is happening...
The following code...
NSCalendar *calendar = [NSCalendar…