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

  • Home
  • SEARCH
  • 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 7832537
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T12:16:11+00:00 2026-06-02T12:16:11+00:00

The scenario: ViewControllerA.m sets up the ASIHTTPRequest with ViewControllerB.m being the delegate, passes it

  • 0

The scenario:

ViewControllerA.m sets up the ASIHTTPRequest with ViewControllerB.m being the delegate, passes it to ServerIO.m to start the ASIHTTPRequest, and ViewControllerA pushes view controller to ViewControllerB.

However, the delegate methods are not being called. Here’s the code:

ViewControllerA.m

ViewControllerB *drc = [[ViewControllerB alloc] initWithRequestID:requestID];

[self.navigationController pushViewController:drc animated:YES];

[ServerIO findRooms:[NSDictionary dictionaryWithObjectsAndKeys:drc, @"delegateController", nil]];`

ServerIO.m

[request setDelegate:[parameters objectForKey:@"delegateController"]]; //I checked the delegate here and it's valid.

I have already added in ViewControllerB.m, but the delegate methods are not being called there. Any ideas?

  • 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-02T12:16:19+00:00Added an answer on June 2, 2026 at 12:16 pm

    To answer my own question:

    You must use the instance methods (-), not the class methods (+).

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

Sidebar

Related Questions

Scenario: I start out in my app's main page. I navigate to sub-page A,
Scenario: A web site with x number of pages is being served with a
Scenario : I have a ContentControl in my View whose Content property is bound
Does anyone have any tips for this scenario. My app delegate's nib has a
Scenario: UITabBarController has three tabs corresponding to each of three view controllers which are
Scenario: I'm dealing with 2 viewControllers each with it's own context (same thread). I'm
Scenario: old legacy code in rpg have to consume data from a new web
Scenario: I have a console application that needs to access a network share with
Scenario: A client calls WebService A on the LAN. WebService A is running under
Scenario : There is this online questionaire that will be filled in by various

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.