Re: What does "access" mean for NSAppleScript?
Re: What does "access" mean for NSAppleScript?
- Subject: Re: What does "access" mean for NSAppleScript?
- From: "Paul J. Lucas" <email@hidden>
- Date: Fri, 23 Feb 2007 11:02:52 -0800
On Feb 23, 2007, at 10:15 AM, Michael Watson wrote:
The syntax of the sentence:
"You should only access (class name) from the main thread."
Implies that you shouldn't use anything involving the class--
methods or objects--from outside of the main thread.
I'm not asking for what it implies since inferences are subjective
and may not have any relationship to what's actually true. I'm
asking for what is actually true.
If you really want to analyze the sentence, there's the curious word
choice of "should": why did the author use "should" instead of
"must"? If you were to apply RFC 2119 usage of those words, then:
SHOULD: This word, or the adjective "RECOMMENDED", mean that there
may exist valid reasons in particular circumstances to ignore a
particular item, but the full implications must be understood and
carefully weighed before choosing a different course.
So are there "valid reasons in particular circumstances to ignore"
the statement about NSAppleScript?
If it's true that the word "should" should have been "must", then the
author got it wrong. If the author got that key distinction wrong,
who knows what s/he really meant by "access"?
So, is there anyone who can confirm what's actually true about
NSAppleScript? Thanks.
- Paul
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden