Re: What's the best practice to write some common tasks?
Re: What's the best practice to write some common tasks?
- Subject: Re: What's the best practice to write some common tasks?
- From: Jens Alfke <email@hidden>
- Date: Tue, 15 Nov 2011 19:33:55 -0800
On Nov 15, 2011, at 7:17 PM, ico wrote:
> So what is the best practice to place these function? Simply write them as
> a C function or implement them in a common class and make them static?
Either way is OK, and you can find several examples of either technique in Apple’s APIs — look at NSFileManager and at NSGraphics.h.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden