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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:44:09+00:00 2026-05-28T05:44:09+00:00

it works with no problems: h file: – (BOOL) trytoGETURL; m file – (BOOL)

  • 0

it works with no problems:
h file:

- (BOOL) trytoGETURL;

m file

    - (BOOL) trytoGETURL {

    / some code here ... 


      if ([response statusCode] == 200)
        return YES;
    else
        return NO;
   }


    - (IBAction)ButtonTouchUp:(id)sender {
    NSLog(@"button clicked");
    if (  [self trytoGETURL]) {
        NSLog(@"ok");
    }  else    NSLog(@"problem");

but this crashes:
h file

    - (BOOL) trytoGETURL:(NSString *) baseurl Redvalue:(int)red 
GreenValue:(int)green BlueValue: (int) blue;

m file

    - (BOOL) trytoGETURL:(NSString *) baseurl Redvalue:(int)red 
GreenValue:(int)green BlueValue: (int) blue  {



   if ([response statusCode] == 200)
        return YES;
    else
        return NO;
   }


- (IBAction)ButtonTouchUp:(id)sender {
    NSLog(@"button clicked");
    if (  [self trytoGETURL:@"sd" Redvalue:100 Greenvalue:100 Bluevalue:100]) {
        NSLog(@"est takaya stranica");
    }  else    NSLog(@"net takoi stranica");

Xcode also writes: instance method not found!??
and by the way it doesn’t help me with when I’m starting to write like usual, why is it so?

  • 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-28T05:44:09+00:00Added an answer on May 28, 2026 at 5:44 am

    it was just a problem with suntax.
    trytoGETURL:(NSString *) baseurl – is wrong,
    trytoGETURL:(NSString *)baseurl is right. – no space needed.

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

Sidebar

Related Questions

I have a stand-alone svg file that displays without problems. It includes some inline
I am having some problems with regexp_extract: I am querying on a tab-delimited file,
I'm having some problems with my ASP.NET 4 application in Chrome & Safari (works
I have problems running a dynamic LIKE statement in my project: this query works
Have you any problems using it on high concurrency environment? It's really works as
I am having problems with the Jquery qtip plugin. It works fine in Firefox
I'm having problems with a cascading combo box. Everything works fine with the combo
I work with my student group on a project : We have some problems
Problem: I am using a big C/C++ code base which works on gcc &
Here's the problem: split=re.compile('\\W*') This regular expression works fine when dealing with regular words,

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.