I bult a Tic-Tac-Toe game for Android phones tonight using App Inventor. I didn't have to write a single line of code but I was still able to use logic such as whether to show an X or an O based on whose turn it is. I also included a reset button that clears out all the X's and O's when clicked.
As I mentioned, I didn't write a single line of code. To build the layout, you just drag and drop components on the visual editor. Then when you want to handle events (such as a button click) you drag and drop events onto the "Block Editor". The Block Editor is also used for creating variables, if statements, etc.
There are three main parts of App Inventor:
App Inventor Extras: A program you can install on your computer to allow for viewing the app faster on your phone. (This isn't required if you are willing to download the app and install it over and over again to see what it looks like.) The Visual Editor: A website you load in your browser. The Block Editor: A java…
I was trying to launch a sample app on the newly released Ionic 2 Release Canditate. When I ran the command sudo ionic run ios --emulator, I encountered an error similar to this one which I shorted for display here:
An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163): Invalid device state Error: ENOENT: no such file or directory, stat '/Users/.../Library/Logs/CoreSimulator/.../system.log'
After searching the internet for solutions, I was able to overcome the error by taking the following steps:
Install the latest update to Xcode.Run xcode-select --install to make sure that Xcode command line tools is installed (as recommended by Mike Hartington on the Ionic Github page.)Run sudo chown -R username /Users/username to update my permissions which makes it so that I don't have to run sudo when running ionic commands (as recommended by Zac Vineyard on his blog.)Run ionic run ios --emulator (this time without using sudo).
Thank you for…
In Xamarin I created a Single View App targeted for iOS and Android with a Shared Library. I changed the scheme to Release and removed the button click logic from ViewController.cs since Xcode's doesn't start with any button click logic. I confirmed that debugging was not enabled by putting a breakpoint in the ViewDidLoad() event, and it never hit that breakpoint. The deployment target was set to iOS 9.2.
In Xamarin I created a Xamarin.Forms App targeted for iOS and Android with a Shared Library. I changed the scheme to Release. I confirmed that debugging was not enabled by putting a breakpoint in the App() method, and it never hit that breakpoint. The deployment target was set to iOS 9.2.
In Xcode I created a Single View App using Swift targeting Universal devices. I opened the Run scheme, changed it to use the Build Configuration of Release and unchecked Debug Executable. Under Options I unchecked Core Location, XPC Services, View Debugging, and Queue Debugging. I also added…