Adding smart BASIC to Xcode Tutorial
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Adding smart BASIC to Xcode Tutorial
Text can be Unicode 8. It should be plain text, not rich text.
Re: Adding smart BASIC to Xcode Tutorial
Even more "basic" test: I uploaded one of your example files (circle.txt) from my iPhone and downloaded it to Mac download area using your Dropbox routine. (It did transfer a txt file.) I added it to the Samples folder, changed the AppDelegate.m to #define SB_FILE @"circles.txt"
Then ran iPhone 5 simulator. Message on face of iphone was:
Nothing to execute.
OK
--Any thoughts?
Then ran iPhone 5 simulator. Message on face of iphone was:
Nothing to execute.
OK
--Any thoughts?
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Adding smart BASIC to Xcode Tutorial
Delete old version of your app in Simulator.Elliot wrote:Even more "basic" test: I uploaded one of your example files (circle.txt) from my iPhone and downloaded it to Mac download area using your Dropbox routine. (It did transfer a txt file.) I added it to the Samples folder, changed the AppDelegate.m to #define SB_FILE @"circles.txt"
Then ran iPhone 5 simulator. Message on face of iphone was:
Nothing to execute.
OK
--Any thoughts?
Re: Adding smart BASIC to Xcode Tutorial
Sorry--I am not sure what you mean: delete old version of app on simulator? How do I do this?
Re: Adding smart BASIC to Xcode Tutorial
I think the problem may be coming from how I have been opening the Turtle project for Xcode. I made a copy of it and put it on the desktop. I have been adding the new text files into the Sample folder from there. Then I open the project by double-clicking on the Application.xcodeproj icon directly. This seems to open the project in Xcode, but perhaps that is creating a problem of not updating or deleting information.
If I open the XCode app first, I get a choice of "Creating a new Xcode project" or "Check out an existing project". There is also a blue box in the upper right that says Appllcation /Desktop/Turtle. This produces the same result as double-clicking on the desktop Project.
The "existing project option" goes to an empty SCM repository.
How should I be opening the project?
Thanks for your patience!
If I open the XCode app first, I get a choice of "Creating a new Xcode project" or "Check out an existing project". There is also a blue box in the upper right that says Appllcation /Desktop/Turtle. This produces the same result as double-clicking on the desktop Project.
The "existing project option" goes to an empty SCM repository.
How should I be opening the project?
Thanks for your patience!
Re: Adding smart BASIC to Xcode Tutorial
It's working!! Resetting the simulator did it!
Thanks!
Thanks!
- Mr. Kibernetik
- Site Admin
- Posts: 4786
- Joined: Mon Nov 19, 2012 10:16 pm
- My devices: iPhone, iPad, MacBook
- Location: Russia
- Flag:
Re: Adding smart BASIC to Xcode Tutorial
You can do this exactly as on your iPhone.Elliot wrote:Sorry--I am not sure what you mean: delete old version of app on simulator? How do I do this?
Run Simulator and you will see its iOS desktop. Then press and hold on your app icon on the desktop (using your mouse) - it will start to tremble. Then delete it as you do it on your device.