Re: KVO and bindings question
Re: KVO and bindings question
- Subject: Re: KVO and bindings question
- From: Don Rainwater <email@hidden>
- Date: Tue, 1 Jun 2004 09:15:09 -0400
This is a fine example of why you should go to the Apple web site for
the latest documentation. I was using the on-disk documentation, which
says:
"Value transformers are typically registered by an applications
delegate, in
response to receiving a[n] applicationDidFinishLaunching: message."
In the description of +initialize in the documentation for NSObject, it
says that the runtime system sends the initialize message to each
class, and any class that inherits from it. So I should not have
[super initialize] in my initialize method like I would with -init,
right?
On May 28, 2004, at 6:00 PM, Andreas Mayer wrote:
Am 28.05.2004 um 19:17 schrieb Don Rainwater:
I think the hardest part was noticing that
-applicationDidFinishLaunching: (where the value transformers are
registered for use) takes a notification parameter.
a) Parameters are explained in detail in the documentation; you should
probably use an app like AppKiDo
(http://homepage.mac.com/aglee/downloads) for quick reference.
b) Value transformers should be registered as early as possible, i.e.
in the +initialize method of your class:
http://developer.apple.com/documentation/Cocoa/Conceptual/
ValueTransformers/Concepts/Registration.html
_______________________________________________
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.