• 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
Re: Modifying outside properties from NSOperation subclass
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifying outside properties from NSOperation subclass


  • Subject: Re: Modifying outside properties from NSOperation subclass
  • From: PCWiz <email@hidden>
  • Date: Mon, 14 Dec 2009 17:54:58 -0700

Its being loaded into an NSOperationQueue, and I'm using methods like setObject:forKey: on the dictionary, not replacing the whole thing.

Thanks
On 2009-12-14, at 5:51 PM, Nick Zitzmann wrote:

>
> On Dec 14, 2009, at 5:19 PM, PCWiz wrote:
>
>> I need to modify an NSMutableDictionary in my delegate class from within an NSOperation subclass. What's the best way to do this? I could just use the property setter method, but is this even acceptable?
>
> More details, please. Is your operation enqueued or invoked directly? And are you seeking to replace the entire dictionary or just its contents?
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>

_______________________________________________

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: Modifying outside properties from NSOperation subclass
      • From: Ken Thomases <email@hidden>
    • Re: Modifying outside properties from NSOperation subclass
      • From: Nick Zitzmann <email@hidden>
References: 
 >Modifying outside properties from NSOperation subclass (From: PCWiz <email@hidden>)
 >Re: Modifying outside properties from NSOperation subclass (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Modifying outside properties from NSOperation subclass
  • Next by Date: Re: Modifying outside properties from NSOperation subclass
  • Previous by thread: Re: Modifying outside properties from NSOperation subclass
  • Next by thread: Re: Modifying outside properties from NSOperation subclass
  • Index(es):
    • Date
    • Thread