swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question on id vs obj *


From: Marcus G. Daniels
Subject: Re: question on id vs obj *
Date: 30 Aug 2000 06:20:37 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "KG" == Ken Gosier <address@hidden> writes:

KG> Question: Is this type syntax necessary in calls to the factory
KG> object, since in some sense you don't yet 'know' what kind of
KG> object you're working on, and id can refer to any object?

"Type *obj" and dereferencing assignments are not necessary in
+createBegin: factory methods.  You can use "id obj" and setters if you prefer.


                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]