Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7559811
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:43:52+00:00 2026-05-30T12:43:52+00:00

I am developing an application that shows all the courses that take place in

  • 0

I am developing an application that shows all the courses that take place in a class room depending on the time and date. In the prototype I was thinking to implement a UITableView, with two sections, one for previous clases(top) and one for next classes. I want to add the previous button as the header of the section with following classes and when I press it I want to programatically add a new section and populate it with the previous courses. I am not sure how to implement this, what methods I should override, etc.

I found something quite similar but I couldn’t find any details of how he actually implemented it.

Thank you.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:43:54+00:00Added an answer on May 30, 2026 at 12:43 pm

    You will need to read up on UITableViews and the delegate methods. The sections are controlled in:

    - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
    

    You can put conditional logic here to control how many sections you need. Button pressed calls [tableView reloadData]; and will update the sections with it. How you control the data going into the table is up to you, but this should get you started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing a web application that shows some controls and descriptions dynamically (I don't
I am actually developing and application that has around 15 modules, all of them
I am developing a Qt application that can play the videos and shows some
Im developing an application,which blocks all outgoing calls and then after blocking that call
When developing an application that sends out notification email messages, what are the best
I'm developing and application that runs as a Windows service. There are other components
I'm developing an application that manages network interfaces on behalf of the user and
I am developing an application that needs to use regini (because of legacy reasons)
We are developing an application that involves a lot of different tests where each
I am developing RoR application that works with legacy database and uses ActiveScaffold plugin

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.