How to get a date for a day in current week
i need to set alarm for monday开发者_开发百科 , Saturday ,friday etc... on every week repeatedly.
You can follow following link for your answer.
How to find what day of the week for any given date using Cocoa
Just need to do some stuff. It returns opposite of what you need so accordingly you can do some stuff to get what you required.
Hope it helps.
Take a look at the NSDate Class Reference.
精彩评论