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
I'm going to leave this issue open until I can launch an app :)
Doing the following (with the current HEAD):
#!/bin/bashset -e
[ -e"nimxios" ] && rm -r nimxios
mkdir nimxios
cd nimxios
wget https://www.libsdl.org/release/SDL2-2.0.9.tar.gz
tar xf SDL2-2.0.9.tar.gz
cat <<E'O'F > main.nimimport nimx / [ window, layout, button, text_field ]runApplication: let w = newWindow(newRect(50, 50, 500, 150)) w.makeLayout: - Label as greetingLabel: # Add a view of type Label to the window. Create a local reference to it named greetingLabel. center == super # center point of the label should be equal to center point of superview width == 300 # width should be 300 points height == 15 # well, this should be obvious now text: "Press the Greet button to see the greeting" # property "text" should be set to whatever the label should display - Button: # Add a view of type Button. We're not referring to it so it's anonymous. centerX == super # center horizontally top == prev.bottom + 5 # the button should be lower than the label by 5 points width == 100 height == 25 title: "Greet" onAction: greetingLabel.text = "Hello, world!"EOFecho 'import nimx/naketools' > nakefile.nimSDL_HOME="SDL2-2.0.9" nake ios-sim
makes an app that launches and immediately exits:
Here's what I think is the relevant portion from to log (xcrun simctl spawn booted log stream):
I'm going to leave this issue open until I can launch an app :)
Doing the following (with the current HEAD):
makes an app that launches and immediately exits:
Here's what I think is the relevant portion from to log (
xcrun simctl spawn booted log stream
):The text was updated successfully, but these errors were encountered: