Re: Naming question (was: [Pyobjc-dev] Cocoa Sheets)
Brought to you by:
ronaldoussoren
From: Ronald O. <ous...@ci...> - 2003-06-11 19:29:04
|
On Wednesday, Jun 11, 2003, at 20:46 Europe/Amsterdam, Just van Rossum wrote: > Ronald Oussoren wrote: >> >> I'm afraid I don't see a way to automaticly detect that a method will >> be used as the callback for a sheet. > > We could create an informal protocol, and use a naming convention for > the method. I don't like restricting the developer like that. That would limit the users to 1 sheet per modalDelegate, I'm not comfortable about adding such limitations without much more Cocoa experience than I have now. BTW. This wouldn't really limit the developer, the current method is still there, but even so I think we should only add an informal protocol if we're very sure that having one sheet per modalDelegate is the right way to build Cocoa applications. Ronald |