Re: Suggested amendments to your Temperature Converter tutorial
Re: Suggested amendments to your Temperature Converter tutorial
- Subject: Re: Suggested amendments to your Temperature Converter tutorial
- From: Bill Hernandez <email@hidden>
- Date: Sat, 20 Feb 2010 14:10:52 -0600
Antony,
Thanks for taking the time to let me know about the errors.
I spent so much time, and was so exhausted by the time I posted the tutorial, that I am surprised there weren't more errors.
I tend to create things that generally consume so much time (i.e. scope creep problem on my part) that I end up not proofreading them until some later time when I am not quite so tired. I tend to work til late into the night which is not clever on my part.
I have moved from learning AppleScript ObjC to straight Cocoa & Objective C.
I found that in order to use AppleScript ObjC, I had to have a good understanding of Objective C and the Cocoa Framework anyway, and since that is the case I might as well just learn Cocoa & Objective C and be done with it.
The hardest thing for me has been understanding "The Big Picture". There are so many ways to do the same thing, and all the options in Xcode can overwhelm you, i.e. bindings, delegates, protocols, categories, etc. This whole thing has a really steep learning curve. I am working on a tutorial that deals with a small part of the "The Big Picture", or at least my understanding of it.
I have created some 25+ projects over the past couple of months, and some never get finished because I run into some stumbling block, that I can get solved in a reasonable timeframe. I also have all the screen captures ready for other tutorials, but don't get enough time to create the accompanying text and web pages.
I hope I didn't bore you with all this, I will try to fix the tutorial when I get a chance sometime soon.
Thanks again...
Bill Hernandez
Plano, Texas
On Feb 18, 2010, at 2:39 PM, awnispel wrote:
> Thanks for detailing Apple's one tutorial on Applescript ObjC. You offer a unique foothold into the world of ApplescriptObjC. For the most part, your detailed procedures and screen shots (without which I would have never have gotten through) helped me to quickly come up to speed with the first section--the one without bindings. On the other hand, I found a few omissions in the part concerning bindings that set me back a few hours. It seems that Apples automation homepage:
> http://www.macosxautomation.com/applescript/develop/index.html
> offers only the non-binding version of the Temperature Converter project. Moreover, this version of the project lacks a 'done' button--no big deal, however your tutorial sections C-9 thru C-11 deal with this button's connections.
>
> A more important issue for me was the manner in which you present the screen shots without an explanation on how one goes about binding the various elements. This took quite a bit of experimentation to work through. Of course in hind-sight it all seems straight forward.
>
> Finally, a couple of minor problems: First, in section C-6, you write:
>
> "You can see in the Sent Actions section of the Text Field Connections that the input_field (which is highlighted in blue), in the application window is linked, or bound to the input_value property"
>
> I believe you should have wrote "bound to the 'calculate_temperatures:' handler. Remember, this has got to be a receiver of an action. I believe you accidentally used the term that was used in the next step.
>
> Second, in section C-8, you refer to the selected blue cube as an "NSObject Controller Temperature_ConverterAppDelegat". It's actually the "Temperature Converter App Delegate" as shown in the black panel title. An ObjC controller has a different function and your reference will confuse Cocoa programmers, not to mention the newbee who will not know what you are referring to .
>
> Anyway, these are my humble suggestions for your terrific resource for the under-documented ASObjC.
>
> Antony
> email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden