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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T02:48:58+00:00 2026-06-06T02:48:58+00:00

I only get this warning if I import my helper class (#import JLHelper.h). An

  • 0

I only get this warning if I import my helper class (#import “JLHelper.h”).

An example of the where the warning occurs…

[[subViews objectAtIndex:i] center].y+translation.y)];

I understand that it is telling me that the compiler sees more than one method named center, but center is declared in the framework in CLRegion.h.

Why would the compiler see more than one method in this case? Is it a problem to be concerned about, and if so how do I track down and resolve it.

Thanks,

John

Problem solved, thanks to Eric! Here is a more extensive look at my code after it was fixed

NSArray *subViews = [self subviews];
UIImageView *bottomResizer;
int count = [subViews count];
for (int i =count-1; i>=0; i--) {
    if([[subViews objectAtIndex:i] tag] == 301) {
        bottomResizer = (UIImageView*)[subViews objectAtIndex:i];
        [bottomResizer setCenter:CGPointMake([bottomResizer center].x, [bottomResizer center].y+translation.y)];

    }
}
  • 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-06T02:49:01+00:00Added an answer on June 6, 2026 at 2:49 am

    Looks like you need to cast the object so it knows what center you mean…

    [((OBJECT_TYPE*)[subViews objectAtIndex:i]) center].y+translation.y)];
    

    Where OBJECT_TYPE is a CLRegion Object

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

Sidebar

Related Questions

document.onkeydown.toString() returns onkeydown function but I only want to get this function's name. Is
I get this wired error only when I try to access the web page
I get this cryptic error the first time (and only the first time) my
How do I get this function to not only run on window resize but
I'm trying to use this to create a splash screen, but I only get
How can I get all this to not only output on the screen, but
I want to use this SQL query to get only the records between 8
i have text like this div bla-bla end div i need to get only
I am using Octave version 3.4.3, and I get this warning: warning: fmincg.m: possible
When I put my application link in the Object Debugger, I get this warning:

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.