• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ASObjC alloc and object creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ASObjC alloc and object creation


  • Subject: Re: ASObjC alloc and object creation
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Mon, 29 Jan 2018 15:36:52 +0900


> On Jan 29, 2018, at 14:14, Shane Stanley <email@hidden> wrote:
>
> On 29 Jan 2018, at 3:39 pm, Jean-Christophe Helary
> <email@hidden> wrote:
>>
>> So it looks like there is something in the Foundation documentation that I'm
>> not understanding properly
>
> The parameter for initWithKind: is listed as an enum, not a string. So:
>
> set newElement to current application's NSXMLNode's alloc()'s
> initWithKind:(current application's NSXMLElementKind)
>
> But do you really want an element without a name?

No, of course, but I was just looking for alternative ways to create that
element :)

Thank you !


Jean-Christophe Helary
-----------------------------------------------
http://mac4translators.blogspot.com @brandelune


 _______________________________________________
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

  • Follow-Ups:
    • XML generation details (was Re: ASObjC alloc and object creation)
      • From: Jean-Christophe Helary <email@hidden>
    • Re: ASObjC alloc and object creation
      • From: Jean-Christophe Helary <email@hidden>
    • XML generation details (was Re: ASObjC alloc and object creation)
      • From: Jean-Christophe Helary <email@hidden>
    • Re: ASObjC alloc and object creation
      • From: Jean-Christophe Helary <email@hidden>
References: 
 >ASObjC alloc and object creation (From: Jean-Christophe Helary <email@hidden>)
 >Re: ASObjC alloc and object creation (From: Shane Stanley <email@hidden>)
 >Re: ASObjC alloc and object creation (From: Jean-Christophe Helary <email@hidden>)
 >Re: ASObjC alloc and object creation (From: Jean-Christophe Helary <email@hidden>)
 >Re: ASObjC alloc and object creation (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: ASObjC alloc and object creation
  • Next by Date: Re: ASObjC alloc and object creation
  • Previous by thread: Re: ASObjC alloc and object creation
  • Next by thread: Re: ASObjC alloc and object creation
  • Index(es):
    • Date
    • Thread