Re: NSAlert strategy advice
Re: NSAlert strategy advice
- Subject: Re: NSAlert strategy advice
- From: Larry Fransson <email@hidden>
- Date: Fri, 17 Dec 2004 23:07:41 -0800
On Dec 17, 2004, at 19:06, Henry Maddocks wrote:
I know it was sort of a dumb question, but having a bunch of similar
named functions that almost do the same thing is a recipe for a
cockup. I was hoping someone had come up with some clever pattern to
reduce the maintenance. Maybe using contextInfo and some funky
selector thing or maybe wrapping them up in their own object...
I have used the contextInfo to determine what action to take when I
have multiple alerts calling a single function.
Larry Fransson
Seattle, WA
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden