Graham, Still pouring over your thesis .. in process, so let me ask just one thing at a time, rather than chew here on the whole thing.
(1) learning about anonymous type = (id) .. I make this call within FC: [iboCalculateSheetCtrl showSheetOnParentWindow:itsWindow withDescription:nil delegate:self contextInfo:sCalculateSheetID]; The delegate here is FileController*, where the delegate received within SC's showSheetOnParentWindow looks like: - (void) showSheetOnParentWindow:(NSWindow*)parentWindow withDescription:(NSString*)theDescription delegate:(id)theTarget contextInfo:(void*)contextInfo { mFileSheetDelegate = theTarget; // etc. } and at the very top: @implementation CalculateSheetController id *mFileSheetDelegate; Within the implementation of showSheetOnParentWindow, I get "assignment from incompatible pointer type" with: mFileSheetDelegate = theTarget; and later on within this SC's implementation: - (void) sheetDidEnd:(NSWindow*)sheet returnCode:(int)returnCode contextInfo:(void*)contextInfo { [mFileSheetDelegate doSheetSelection:sheet returnCode:returnCode contextInfo:contextInfo]; } I get: "warning:invalid receiver type 'id'" and "no matching doSheetSelection:returnCode:contextInfo". Based on the "invalid .." warning, I understand "no matching ..". By the way my FC has the formal doSheetSelection:returnCode:contextInfo selector or method .. one final thing on this item, I do not really understand "informal protocols", so I have not yet tried to implement such. John _______________________________________________ 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 [EMAIL PROTECTED]