Re: ASObjC alloc and object creation
Re: ASObjC alloc and object creation
- Subject: Re: ASObjC alloc and object creation
- From: Shane Stanley <email@hidden>
- Date: Mon, 29 Jan 2018 19:34:39 +1100
On 29 Jan 2018, at 5:54 pm, Jean-Christophe Helary
<email@hidden> wrote:
>
> Now that I think if it, there does not seem to be any instance method that
> would add a name to that element. So what's the point of having
> "initWithKind" for NSXMLNode ?
Because (a) elements aren't the only kind of node, and (b) there's a "name"
property, which means you can use "setName:".
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.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