• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSURLDownload and userInfo
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURLDownload and userInfo


  • Subject: NSURLDownload and userInfo
  • From: Trygve Inda <email@hidden>
  • Date: Sun, 09 Mar 2008 20:14:41 +0000
  • Thread-topic: NSURLDownload and userInfo

I am using NSURLDownload and NSURLRequest to download 2 different types of
data (A & B)... Both of which are related to the same class so they share
delegate methods.

In my delegate, when there is an error or successful completion I need to
call one "process method" for A and a different one for B. To enable this,
is there a way to attach some sort of userInfo type (even an int) to either
the NSURLDownload or NSURLRequest... Or should I subclass one of them to add
a variable?

Thanks,

Trygve


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSURLDownload and userInfo
      • From: "Clint Shryock" <email@hidden>
  • Prev by Date: Viability of OSADictionaryView and OSADictionaryController.
  • Next by Date: Re: Inverted images in selected segmented control segment
  • Previous by thread: Viability of OSADictionaryView and OSADictionaryController.
  • Next by thread: Re: NSURLDownload and userInfo
  • Index(es):
    • Date
    • Thread