• 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: State of instance variables defined at instantiation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: State of instance variables defined at instantiation?


  • Subject: Re: State of instance variables defined at instantiation?
  • From: Finlay Dobbie <email@hidden>
  • Date: Tue, 27 May 2003 15:21:39 +0100

On Tuesday, May 27, 2003, at 03:57 am, Wade Tregaskis wrote:

Unfortunately, the result is that if you don't define a generic init method, and someone using the class tries to do the nice thing and call [[yourClass alloc] init], they'll get thrown a compiler warning.

Uh, NSObject defines -init, so unless you're creating your own root object class...

-- Finlay
_______________________________________________
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.

  • Prev by Date: Re: Why multi-threading ?
  • Next by Date: Re: Cocoa Help Implementation
  • Previous by thread: Re: State of instance variables defined at instantiation?
  • Next by thread: Re: State of instance variables defined at instantiation?
  • Index(es):
    • Date
    • Thread