diff options
Diffstat (limited to 'doc/design/assistant')
-rw-r--r-- | doc/design/assistant/OSX/comment_1_9290f6e6f265e906b08631224392b7bf._comment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/design/assistant/OSX/comment_1_9290f6e6f265e906b08631224392b7bf._comment b/doc/design/assistant/OSX/comment_1_9290f6e6f265e906b08631224392b7bf._comment new file mode 100644 index 000000000..633dd01b4 --- /dev/null +++ b/doc/design/assistant/OSX/comment_1_9290f6e6f265e906b08631224392b7bf._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="https://www.google.com/accounts/o8/id?id=AItOawlu-fdXIt_RF9ggvg4zP0yBbtjWQwHAMS4" + nickname="Jörn" + subject="Mount detection" + date="2012-09-21T09:23:34Z" + content=""" +regarding the current mount polling on OSX: why not use the NSNotificationCenter for being notified on mount events on OSX? + +Details see: + +1. <http://stackoverflow.com/questions/12409458/detect-when-a-volume-is-mounted-on-os-x> +2. <http://stackoverflow.com/questions/6062299/how-to-add-an-observer-to-nsnotificationcenter-in-a-c-class-using-objective-c> +3. <https://developer.apple.com/library/mac/#documentation/CoreFoundation/Reference/CFNotificationCenterRef/Reference/reference.html#//apple_ref/doc/uid/20001438> +"""]] |