• 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
personal convience constructors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

personal convience constructors


  • Subject: personal convience constructors
  • From: David Cairns <email@hidden>
  • Date: Mon, 20 Jan 2003 17:16:36 -0500

thanks to everyone that helped me with my last problem.

here's another question for you now: How does one create one's own convenience constructor? is it something as simple as

- (Obj *)myObj {
MyClass *newObj;
return [newObj autorelease];
}

???? or is it more difficult? do they have to be class methods?



-- dave

--------------------------------------------
"see you later, space cowboy..."
--------------------------------------------
_______________________________________________
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: Sending HTML mail message
  • Next by Date: how to get the frontmost application
  • Previous by thread: Re: Sending HTML mail message
  • Next by thread: RE: personal convience constructors
  • Index(es):
    • Date
    • Thread