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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:58:18+00:00 2026-06-03T13:58:18+00:00

I have a NSURLConnectionDelegate object handling some SOAP communications. Essentially I’m setting a few

  • 0

I have a NSURLConnectionDelegate object handling some SOAP communications. Essentially I’m setting a few property values, and then calling a method that builds an xml request and then sends it to the server. The object is also a NSXMLParserDelegate so it can parse the xml responses from the server and process the data appropriately.

When using the object I first set values for a number of properties. The retain count after is still one. I then call my first method and that is when the fun begins. Any time a custom method, or a NSURLConnectionDelegate method is called the retain count increases by 1. When NSXMLParserDelegate methods are called this doesn’t happen. After all communications are finished and I’m done with the objects it’s retain count it 43. Releasing the object does not decrease the retain count, so I end up with an object that I can’t free. Besides that the object works as expected.

There is a lot of code and I’m not really sure what’s relevant since it doesn’t actually seem like anything I’m doing inside the methods is causing the retainCount to increment. The only other thing worth mentioning is that I’m calling these methods from a background thread but performing them on the main thread:

[tEditor performSelectorOnMainThread:@selector(requestQueueList) withObject:nil waitUntilDone:YES];
  • 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-03T13:58:18+00:00Added an answer on June 3, 2026 at 1:58 pm

    Turns out I named a synthesized property “release” and had inadvertently overwritten the object’s release method. Oops!

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

Sidebar

Related Questions

Have 2 tables for example: In 1st: object & parent columns object | parent
Have some code: using (var ctx = new testDataContext()) { var options = new
I have looked at NSURLConnectionDelegate connection:didReceiveData not working already, but there didn't seem to
I have an iOS 5 app that uses NSURLConnection to load some XML via
In my .h file I have this: @protocol ScanBookDelegate - (void)MethodNameToCallBack:(NSArray *)s; @end @property
Have some dates in my local Oracle 11g database that are in this format:
I have been working on my first app for some time now, but it
Have I understod the following right? font-family:sans-serif; Above will result in the default sans-serif
Have just started converting an existing job tracking system into an ASP.NET MVC application.
Have an option to choose either a windows SE or Web Edition to install,

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.