Re: OSAScriptView - documentation?
Re: OSAScriptView - documentation?
- Subject: Re: OSAScriptView - documentation?
- From: Kaydell Leavitt <email@hidden>
- Date: Thu, 15 Aug 2013 19:09:06 -0600
Phil,
On Aug 15, 2013, at 4:56 PM, Shane Stanley <email@hidden> wrote:
>> As a result, I'm often not familiar with the 'lingua franca' (depends on what I've skipped over too quickly on my own learning path), so I'd appreciate a 'dummies' pointer to what "headers" are, and where I find them.
>
> The .h files. They're in the frameworks.
In your Xcode project, you can open up the Frameworks, and each one has a folder called "headers", and in there, is a list of .h (dot-h) file, where "h" is short for "header". These are the interfaces to the "libraries" which are also a part of the Frameworks. Apple gives out the "public interfaces" to the frameworks in he .h files.
Sometimes, you want to search for something in the header files. There are two ways that you can do this in the Finder:
1. Open up the folder:
/System/Library/Frameworks
in the Finder, and then do a search, but this isn't really good because I like to stay out of the System folder, so maybe option #2 below is better.
OR
2. Find any header file in your Xcode project and, in Xcode, do a "Show In Finder" command. This will take you to where the header files are that Xcode uses to compile with. Then, you can go up to a directory that is called "Frameworks" and you can do a Finder-search from there and search all of the headers.
For example, you could search for "AppleScript" and search for "AppleEvent" and find many header files pertaining to scripting.
-- Kaydell
email@hidden
Learn By Mac: http://learnbymac.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden