• 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: how to evaluate an NSString content as a real obj-c instruction/expression
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to evaluate an NSString content as a real obj-c instruction/expression


  • Subject: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • From: SA Dev <email@hidden>
  • Date: Thu, 14 Jul 2005 08:54:23 -0400


You *could* however write a wrapper class that can run the PHP (or other) parser as an NSTask and fetch the results. You might want to look into this option. If you can do it on the command line, Cocoa's NSTask should let you do the same and use the results in your app.




On Jul 14, 2005, at 8:05 AM, Michael Bianco wrote:

Hmm, I'm no Obj-C expert but i doubt this is possible since obj-c is
converted at compile time to binary code. PHP, Javascript,
Actionscript, Perl, all have run time interpreters that how they are
able to have an eval function.

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >how to evaluate an NSString content as a real obj-c instruction/expression (From: Sébastien Cotillard <email@hidden>)
 >Re: how to evaluate an NSString content as a real obj-c instruction/expression (From: Michael Bianco <email@hidden>)

  • Prev by Date: Re: Trying to bind to NSTreeController
  • Next by Date: Re: C string conversions?
  • Previous by thread: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • Next by thread: Re: how to evaluate an NSString content as a real obj-c instruction/expression
  • Index(es):
    • Date
    • Thread