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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:46:02+00:00 2026-06-03T02:46:02+00:00

This time I really don’t know where to look for this problem. I have

  • 0

This time I really don’t know where to look for this problem.

I have an UIViewController with an embedded UITableView.
I’ve added the UITableViewDelegate, UITableViewDataSource to my header file.
Inside the implementation file I’ve imported the header file of another Class I use to read/write to my DB.

In the “numberOfRowsInSection” section of my implementation file there’s this code:

- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
DbOperations *medi = [[DbOperations alloc] init];
self.orari = [medi ProssimeMedicineGrouped];

return [self.orari count];
}

I’ve added a breakpoint to the start of this method and then I’ve seen that the method “ProssimeMedicineGrouped” is not being called at all.

Yesterday it was working without problems. The only change I’ve made is changing the ViewController from UITableViewController with just the table, to an UIViewController with the tableView embedded.

  • 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-03T02:46:04+00:00Added an answer on June 3, 2026 at 2:46 am

    Did you set the tableView’s delegate property to self? And one more thing, I don’t think it’s a good practice to create the DbOperations object in this method as it’s called when the tableView needs more information about the data source and this can happen more than once.

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

Sidebar

Related Questions

I have this problem when I deploy, I really don't know how to solve
I don't really know how to formulate my question this time... I have my
I have a homework problem that I really don't know how to start. Here
I am having a really hard time getting this to work. I have two
I'm having a really difficult time debugging this problem. Whenever I try to establish
I have not used C++ for a really (really) long time and this question
I really don't know what is going on. It worked the first time, then
I know it is an old question! But this time I have different situation.
This is the second time this has happened to me, and I don't know
I'm asking this because I really don't know where I should handle events of

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.