I am creating an app that needs to put all dates of the year into a uitableview (each date having their own cell). Is there any way to use the nsdate to populate each cell with every date?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You will need to create the
NSDateinstances manually if you need to display all dates from 1 January through 31 December.The following methods might help with the
NSDateinstances you need for yourUITableViewcells:In your tableView:cellForRowAtIndexPath: method you can then instantiate the corresponding
NSDateinstance: