Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
sieder villareal
4,016 Pointscore data: assigning tableview header section's title to a date from an entry and grouping it
I found an example https://developer.apple.com/library/ios/samplecode/DateSectionTitles/Introduction/Intro.html
I have been trying to translate it, seems like I am unable to. Please help me, I really need to know how this work for my project ;c
I am able to display entries in a row but I want it to be grouped by the date it was entered.
what should I enter here
override func numberOfSectionsInTableView(tableView: UITableView) -> Int {
}
override func tableView(tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
}