Re: Functions in Cocoa
Re: Functions in Cocoa
- Subject: Re: Functions in Cocoa
- From: Nathan Day <email@hidden>
- Date: Thu, 6 Mar 2003 01:15:26 +1030
You can do most things without using functions, but objects and methods
in Objective-C are pretty heavy weight things and so sometimes we
resort to functions and structs, usually hidden behind classes and
methods. Cocoa itself uses stucts and functions for somethings like
NSRects, since you don't need dynamic binding, polymorphism and message
sending for things like NSRect.
On Wednesday, March 5, 2003, at 08:46 PM, Peter Karlsson wrote:
Is it possible to NOT use functions at all in Cocoa and is this maybe
the preffered way? If I am right we can do the same thing with classes
and methods. Can someone please sort this out for me?
Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
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.