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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:59:07+00:00 2026-06-17T22:59:07+00:00

Just ran into an issue in an iOS project where a delegate function wasn’t

  • 0

Just ran into an issue in an iOS project where a delegate function wasn’t being called. Couldn’t work out why it wasn’t triggered.

The function was in a UITableViewController subclass.

- (void)tableView:(UITableView *)tableView didDeselectRowAtIndexPath:(NSIndexPath *)indexPath

Turns out I had added the function manually with my own code, but it already existed further down the source file as part of the auto-generated code from XCode.

XCode didn’t seem to have an issue with the fact that the function existed twice in the same source file.

Why isn’t XCode showing a warning for this?

Any way to configure it to show a warning for this case scenario?

Edit: I’m using XCode 4.5.2

  • 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-17T22:59:08+00:00Added an answer on June 17, 2026 at 10:59 pm

    Are you sure one of the methods isn’t in a category? That would be legal as the category would override the subclass’ method. I just tested using Xcode 4.5.2 and got an immediate warning when I tried to use the same method name twice.

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

Sidebar

Related Questions

I just included T4MVC in my project and ran into an issue. I'm passing
I just ran into an issue where the value returned by a function is
I am just starting out with Core Data and ran into an issue where
I just ran into this issue while making a GET request to a node.js
I just ran into something in Visual Studio 2010 RC that wasn't previously happening
I'm trying to create a website for myself and just ran into this issue:
Why/When do you use one over the other? I just ran into an issue
The project I have been managing has ran into an issue of updating contents
I need some clarification on this subject as I just ran into an issue
I just upgraded to XCode 4.0.2 and ran into a strange issue. Every time

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.