From 23b3325514a9c98cb78855e66efb267198a0f74c Mon Sep 17 00:00:00 2001 From: michael starke Date: Wed, 17 Dec 2014 16:05:55 +0100 Subject: [PATCH] Updated comments --- MacPass/MPDocument.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MacPass/MPDocument.m b/MacPass/MPDocument.m index e02aa781..167dd811 100644 --- a/MacPass/MPDocument.m +++ b/MacPass/MPDocument.m @@ -143,17 +143,19 @@ NSString *const MPDocumentGroupKey = @"MPDocumentGroupKey } - (void)saveDocumentAs:(id)sender { - /* take a look at NSEditor Protocoll commitEding, as NSDocument supports that */ + /* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */ [[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self]; [super saveDocumentAs:sender]; } - (void)saveDocument:(id)sender { + /* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */ [[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self]; [super saveDocument:sender]; } - (void)saveDocumentTo:(id)sender { + /* FIXME: Use controllers for bindings to enable NSEditorRegistration. NSDocument supports this! */ [[NSNotificationCenter defaultCenter] postNotificationName:MPDocumentWillSaveNotification object:self]; [super saveDocumentTo:sender]; }