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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T19:18:06+00:00 2026-05-23T19:18:06+00:00

For a project I’m working on, I need to be doing several simultaneous plist

  • 0

For a project I’m working on, I need to be doing several simultaneous plist uploads with an NSURLConnection, and it’d be neat to have a userInfo property to keep track of stuff.

I have:

// header
@interface NSURLConnection ()

@property (nonatomic, retain) id userInfo;

@end

// implementation
@implementation NSURLConnection ()

@synthesize userInfo = _userInfo;

@end

When I try to compile, it says it expects an identifier in the parens. When I give it an identifier, making it a category, it becomes incredibly offended that I want to synthesize in the category. When I remove the parens entirely, the worst nightmare occurs: it compiles. Unfortunately, NSURLConnection becomes ambiguous, with mine overwriting the real one. It’s great at holding userInfo, but absolutely nothing else.

Has anyone successfully done this?

  • 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-23T19:18:07+00:00Added an answer on May 23, 2026 at 7:18 pm

    You could try with alternative approach by considering inheriting your a class from NSURLConnection.

    Here check the simple and alternative solution for (BROKEN LINK) adding state to NSURLConnection

    EDIT: Link broken, here’s a better one:
    http://web.archive.org/web/20110116033842/http://www.goosoftware.co.uk/blog/adding-state-to-nsurlconnection/

    (Thanks, wjl)

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

Sidebar

Related Questions

Project I'm working on uses jQuery. I have a series of Ajax calls being
Project layout: /project_a /shared /project_b /shared /shared project_a and project_b both need to contain
A project I'm working on at the moment involves refactoring a C# Com Object
My project is currently using a svn repository which gains several hundred new revisions
The project is ASP.NET 2.0, I have never been able to reproduce this myself,
Project Requirements: I need to build a web service that will receive chunks of
Project Euler I have recently begun to solve some of the Project Euler riddles.
Project file here if you want to download: http://files.me.com/knyck2/918odc So I am working on
Project is C#. So I have a bunch of multithreaded code that is designed
Project Structure I have a silverlight project SLProj, that references a silverlight class library

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.