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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T16:34:50+00:00 2026-05-22T16:34:50+00:00

In my app, I used xml parser.Well, using xml parsing i set text of

  • 0

In my app, I used xml parser.Well, using xml parsing i set text of cell of tableview and onclick of cell particular image visible for user which is also coming from xml parsing.these all things are done.but,

I want to implement Badge icon to the uitableviewcell whenever new feed available in xml link. and onclick of that cell the badge should be removed from that cell.

My problem is as follows:-
I tried tutorials for custom badge overay or customization of label and add that label in uitableviewcell’s contentview.But you all can suggest me whatever way u tried but in all these i cant find updating when new feed available.

And if above is more complicated yours can help me as this way:-(forget the xmlparsing)initially take all the cell has badge icon and on click of 1 particular cell how can i just remove the badge of that cell.

thanx in advance for any help!

  • 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-22T16:34:51+00:00Added an answer on May 22, 2026 at 4:34 pm

    Assuming that you want to display the unread items. You can do this by maintaining an mutable array of unread times and updating your customized label based on the row in tableView:cellForRowAtIndexPath:. Obviously, cells with zero unread items would not show the label.

    You can handle the click by becoming the delegate of the table view and responding to tableView:didSelectRowAtIndexPath: like this –

    - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
        ...
        [self.unreadItems replaceObjectAtIndex:indexPath.row withObject:[NSNumber numberWithInt:0]];
        [self.tableView beginUpdates];
        [self.tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:indexPath] 
                              withRowAnimation:UITableViewRowAnimationNone];
        [self.tableView endUpdates]; 
    }
    

    As for the feed having new data, you will have to check periodically and if new data is available, download them in the background and update the unread counts appropriately.

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

Sidebar

Related Questions

I am having a problem while parsing XML file,i used newsRSS parser as a
I used Themeroller to generate an app theme and I am using jQuery and
I used web browser component in my app for windows mobile... I set the
I've never used xml builder in my rails 3 app, but need to start.
I used In App Purchase and i follow all step to create In App
We are porting an app which formerly used Openbase 7 to now use MySQL
I am creating a rails app and have used this code in one of
I have a .Net 2.0 app that is used internally and we want to
I'm building a simple accounting app to be used for personal finance. A user
I have been support a web app that is used by a user base

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.