Difference between revisions of "Method"

From GNUstepWiki
Jump to navigation Jump to search
(Added Remote Method)
(Added to category Objective-C)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
== Class Method ==
 
== Class Method ==
  
A method that can be used by the [[object|class object]] rather than by instances of the class.
+
A method that can be used by the [[object|class object]] rather than by [[object#instance_object|instances of the class]].
  
 
== Factory Method ==
 
== Factory Method ==
Line 11: Line 11:
 
== Instance Method ==
 
== Instance Method ==
  
Any method that can be used by an instance of a class rather than by the [[object|class object]].
+
Any method that can be used by an [[object#instance_object|instance of a class]] rather than by the [[object|class object]].
  
== Remote Method ==
 
  
A message sent from one [[application]] to an [[object]] in another [[application]].
+
[[Category:Objective-C]]

Latest revision as of 09:43, 21 June 2006

A method is a procedure that can be executed by an object.

Class Method

A method that can be used by the class object rather than by instances of the class.

Factory Method

Same as class method.

Instance Method

Any method that can be used by an instance of a class rather than by the class object.