• 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: Usage of +class
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Usage of +class
      • From: Jonathon Mah <email@hidden>
References: 
 >Usage of +class (From: Jonathon Mah <email@hidden>)

  • Prev by Date: Core Data Merged Models
  • Next by Date: Re: Cocoa-dev Digest, Vol 3, Issue 521
  • Previous by thread: Usage of +class
  • Next by thread: Re: Usage of +class
  • Index(es):
    • Date
    • Thread