Brad, you're overriding a method for a strange purpose, and it looks like 
you're examining an argument to see if it is a certain Apple private selector, 
and all this is done to achieve something which is quite ordinary, namely 
binding your data model to a combo box and a text view.

When you find yourself doing something extraordinary to achieve a result which 
is ordinary, it means that you took a wrong turn somewhere.  Anyone else with a 
similar problem should instead try the object controller I suggested.


On 2010 Apr 11, at 14:42, Brad Stone wrote:

> - (void)saveDocumentWithDelegate:(id)delegate 
> didSaveSelector:(SEL)didSaveSelector contextInfo:(void *)contextInfo {
>       
>     if (didSaveSelector == @selector(_document:shouldClose:contextInfo:)) {   


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to