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 9013385
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T03:15:11+00:00 2026-06-16T03:15:11+00:00

I have a table view made of 2 arrays, a title and a description.

  • 0

I have a table view made of 2 arrays, a “title” and a “description”. I’ve set numberOfRowsInSection, numberOfSectionsInTableView and titleForHeaderInSection.

I’ve added swipe gesture recognisers, swipe to the right and the cell accessory changes to a check mark, swipe to the left and the accessory goes back to the disclosure indicator. All working fine.

I have 2 section headers, one is Complete the other Incomplete. I’d like to have all cells under incomplete by default and when right swiping, the cell’s section header is changed to complete, likewise if swiping left the cell reverts back to the incomplete header.

I’ve tried various things but can’t seem to get my head around it. Originally I was looking to added a button but this way seems more natural.

Any advice appreciated.

Cheers.

  • 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-06-16T03:15:12+00:00Added an answer on June 16, 2026 at 3:15 am

    You don’t want to change the section header for that cell, you want to put that cell in the other section (complete or incomplete), no?

    So you have to put the object that this cell represents in either the complete o incomplete array that feeds your tableView – and remove it from the other one respectively.

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

Sidebar

Related Questions

I made a very simply table view, with load more function. I have added
I have a table view controller with custom cells. In those cells i added
I have a UITableView with a Navigation Controller . The table view is made
I have a table view made up of an NSArray of instances of a
I have made horizontally scrollable UITableView by adding a table view to a UISrollView
I have table View with grouped style with three sections. Get information from dictionary
I have a table view of peoples names and when I click on one
I have a table view with numerous cells. When I press one, a tick
I have a table view controller with (among others) a cell that is to
I have a table view with a custom cell ( UISwitch on every cell

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.