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
{{ message }}
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
I think this code occur error:eval script._UTF8String.to_s.
After click Run button in Editor view, nothing will eval.But return to root table view, every table item is diabled for click.
I changed editor.rb file's runScript function:
defineC::Void,:runScript,Cocoa::Objectdo |sender|
# script = @editor_view._text._UTF8String.to_s # str = eval(script._UTF8String.to_s)str=eval("1 + 1")alert=Cocoa::UIAlertView._alloc._initWithTitle"Hello",:message,(str || "I am MobiRuby"),:delegate,nil,:cancelButtonTitle,"I know!",:otherButtonTitles,_S("What's?"),nilalert._showend
If delete the code eval line, app run ok in ios simulator 6.1,else table view will disabled after Editor's Run button is clicked.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I think this code occur error:
eval script._UTF8String.to_s
.After click
Run
button in Editor view, nothing will eval.But return to root table view, every table item is diabled for click.I changed editor.rb file's runScript function:
If delete the code eval line, app run ok in ios simulator 6.1,else table view will disabled after Editor's Run button is clicked.
The text was updated successfully, but these errors were encountered: