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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:38:21+00:00 2026-05-23T00:38:21+00:00

Part of my program parses and RSS feed depending on which feed was chosen

  • 0

Part of my program parses and RSS feed depending on which feed was chosen from a tableview.

to pass the url of the rss file, i am creating a new view controller, and calling a function

setURL:(NSString*)url withTitle:(NSString*)title ..... 

on it… (then I push it)
in viewDidLoad of that viewController, i start the parsing for that URL and so on.

Now if i get a memory warning when this view isnt visible. (eg, i choose an article to go on and view it’s summary), how can i release this view in a way that i can get back the relevant table when i come back?
I hope i’m being clear. my question is that if the viewcontroller is freed, then i lose the URL that it is supposed to parse.
When re-allocing it, the viewDidLoad will try to parse an invalid url, and i shudder to think what will happen. 😐

What can i do to solve this problem? do i ignore the memory warning on this viewController, and just focus on freeing the other ones?

Thanks, and i hope I make myself clear.

  • 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-23T00:38:21+00:00Added an answer on May 23, 2026 at 12:38 am

    your question is not very clear. but your viewcontroller shouldn’t be freed or dealloceted on a mem warning, only it’s view property is being freed by ios.
    So IMHO, you are storing the url in a wrong place..try storing it in an ivar on the view controller, and setting it on the init method. That way it should be available across the whole viewcontroller’s life cycle even if a mem warning is encountered.

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

Sidebar

Related Questions

We have a part of our program which can save a diagnostic file for
I'm writing a clojure program which parses XML. As a part of this, I
I recently built a program that parses a remote file from \some_server\c$\directory\file.xls and it
Hello I am new to assembly and I'm struggling to get a two-part program
I've a part of my python program which is generated, the generated codes contains
As part of the program that I am writing I need it to: Compare
Say one part of a program writes some stuff to a socket and another
For a part of a program i need the following 2 methods. The first
This is the part of a program I am trying to run in python,
I am writing a GLSL program as part of a plugin that runs inside

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.