You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there -- I know you haven't worked on this in 2 years, but it's exactly what I'm looking for! Is it possible say to reference objects that are outside of scope of the eval'd code, within the NSString? Essentially like Javascript:
var x = 3;
eval('x = 4');
alert(x); // 4
The text was updated successfully, but these errors were encountered:
That's not really possible since this is just a huge joke hack (that you probably shouldn't use for anything real). One thing you could do is change the OEEvaluator class so that it takes a parameter of type id, and then change OEEvaluation so you can pass an argument along. Then you could pass a dictionary to the eval'd string and refer to it by whatever you called the parameter in OEEvaluator.
Hi there -- I know you haven't worked on this in 2 years, but it's exactly what I'm looking for! Is it possible say to reference objects that are outside of scope of the eval'd code, within the NSString? Essentially like Javascript:
var x = 3;
eval('x = 4');
alert(x); // 4
The text was updated successfully, but these errors were encountered: