• 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
ASObjC alloc and object creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ASObjC alloc and object creation


  • Subject: ASObjC alloc and object creation
  • From: Jean-Christophe Helary <email@hidden>
  • Date: Sun, 28 Jan 2018 21:45:04 +0900

Back to the XML discussion we were having in March last year...

I'm cleaning up the code to see if I actually understand what I'm doing and I'm
bumping into alloc now... Basically, here is what I have:

set projectRoot to current application's NSXMLNode's elementWithName:"omegat"

and:

set theProject to current application's NSXMLDocument's alloc()'s
initWithRootElement:projectRoot

Why can I create an XML node without alloc ?


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:
    • Re: ASObjC alloc and object creation
      • From: Shane Stanley <email@hidden>
  • Next by Date: Re: ASObjC alloc and object creation
  • Next by thread: Re: ASObjC alloc and object creation
  • Index(es):
    • Date
    • Thread