Re: Usage of +class
Re: Usage of +class
- Subject: Re: Usage of +class
- From: j o a r <email@hidden>
- Date: Sat, 22 Apr 2006 11:47:00 +0200
On 22 apr 2006, at 11.05, Jonathon Mah wrote:
Here's one train of thought: (2) is preferred, but (1) is should be
used in practice. NSView should be sent any message (in this case,
+class) to make sure that it has been +initialized and all that.
The first call to +class in (3) is pointless.
Is that the case?
Not really. You can find the answer in The Fine Manual:
<http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/
Articles/chapter_4_section_4.html#//apple_ref/doc/uid/TP30001163-CH7-
TPXREF121>
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden