• 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: KVO and bindings question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KVO and bindings question


  • Subject: Re: KVO and bindings question
  • From: Scott Anguish <email@hidden>
  • Date: Wed, 2 Jun 2004 00:25:06 -0400

On Jun 1, 2004, at 3:38 PM, Don Rainwater wrote:

Well, in this particular case, my initialize method is only calling NSValueTransformer's setValueTransformer:forName: method for each of the value transformers I've written (I'm up to 3 now). Is there any harm in registering the same value transformer more than once? If so, it looks like I could use valueTransformerForName: to see if the value transformer already exists (returns nil if not). Probably good form anyway.


as I recall, this isn't an issue. So don't worry about it.

but you're better wrapping the entire initialize contents in something that will prevent anything from being called, rather than unregistering and registering the VT.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: KVO and bindings question
      • From: "Louis C. Sacha" <email@hidden>
References: 
 >Re: KVO and bindings question (From: Don Rainwater <email@hidden>)
 >Re: KVO and bindings question (From: Scott Anguish <email@hidden>)
 >Re: KVO and bindings question (From: Don Rainwater <email@hidden>)

  • Prev by Date: Re: some NSThread questions
  • Next by Date: Re: willPositionSheet never called ??
  • Previous by thread: Re: KVO and bindings question
  • Next by thread: Re: KVO and bindings question
  • Index(es):
    • Date
    • Thread