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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T17:35:03+00:00 2026-05-13T17:35:03+00:00

I found some useful information on the web but I still can’t manage to

  • 0

I found some useful information on the web but I still can’t manage to do it by myself 😉

Ok, let me put my problem in context for you :

I have a first class (myViewController) whose declaration is below :

// i just give you relevant information
RssParser *rssParser;
UIActivityIndicator *activityIndicator;

In my viewDidLoad method (myViewController) I have :

//once again, I summarize it for you
[activityIndicator startAnimating];
[rssParser parse];

Now, suppose you are in the parserDidEndDocument method (which is in RssParser class), how am I suppose to stop the animation of the activityIndicator ? How can I get access to my instance of activity Indicator from the RssParser class ?

Hope I made myself clear 😉

Thanks guys!

Gauthier

  • 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-13T17:35:03+00:00Added an answer on May 13, 2026 at 5:35 pm

    A common way to do this is to use a delegate. Check the RssParser class for the use of a delegate or implement one yourself. Set the delegate of rssParser to self in MyViewController. Now you can implement the method that is called after the document is parse with MyViewController. If you create an ivar for activityIndicator then you can easily access activityIndicator again.

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

Sidebar

Related Questions

I just switched to CMake. And yet found it very useful and realized some
I found some classes designed for debugging in package com.sun.jdi like VirtualMachine , but
I'm building a website with Rails which can let user check if some domains
I'm trying in vain to get some useful information from the binary log of
I've been searching this web-site and other sources for an answer, but haven't found
I've been looking all over the internet for some useful information and I think
In the very beginning,I tried to do like this(hoped to get some useful information
I've been searching on the internet for some useful and clear information about this,
I'm looking into creating custom controls for WPF and I've found some reasonably useful
I'm using SqlServer 2008. A usefull link is also ok. I've found some links,

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.