The only built-in gesture for undo on iOS at the moment is to shake the device. This is not very intuitive to me and I’ve certainly done it by accident many times. The makers of Procreate chose a two-finger tap and have found that their users adapted to it nicely. This gesture is being adopted by more and more iOS developers. Here’s all the code you need to implement the two-finger tap for undo in your Xojo iOS apps.
Comments closedTag: Mobile
While at the Xojo Developer Conference in Denver last spring*, we got a lot of great feedback about the features that people needed most from the iOS framework. We managed to sneak a few into recent releases of Xojo; here are three of my favorites!
Comments closedIt’s early days but an Android milestone has been reached! We just recently crossed a milestone in our efforts – and now have code from the Xojo compiler running on both the simulator and real Android hardware.
Comments closedDeveloping for iOS with Xojo can be quick and easy, but if you need more power for your app’s controls, your options are:
- study the Apple documentation, which can take time and building the right declares from scratch is not trivial; or
- use one of the many open source projects, though you may end up having to import things that you don’t want or need;
If you don’t have the time or inclination for these options, Falco Software’s extensions could be what you are looking for. The extensions work similarly to Xojo, just drag the control and start developing. No alien objects to create, no extra code to maintain. Here are some examples of where Falco Software’s extensions can simplify and speed up your iOS development.
Comments closedFor the final week of the #JustCode Challenge I’ve made an iOS app that keeps the score for high school marching band shows. The ScoreKeeper app lets you add a show or event and then set the scores when they are announced at the end of the show. Though this is for marching band, it can easily be adjusted to keep track of a set of scores for any sort of competition or game.
Comments closedWhen Geoff and I were driving around Germany with Christian Schmitz of MBS Software before the MBS Xojo Conference started, the topic of speed limits on the autobahn came up. Christian mentioned than many cars in Germany have the speedometer set to display a speed that is a little higher than what you are actually doing. I have noticed that my Toyota Tacoma shows 70mph on the speedometer when it is really going more like 67.
Geoff wondered if there was a way to determine how accurate your car’s speedometer was and it made me think of a Xojo iOS app I had made a while ago: Xojo Speed.
Run Xojo Speed on your iPhone while you’re driving and it uses the iOSLocation class to calculate the miles per hour or kilometers per hour in a large, easy-to-read display.
Comments closedXojo 2018 Release 2 brings several improvements to iOS features such as iOSTable, iOSView and more.
Comments closedAs many know, I’m a big baseball fan. I was recently at Sea Dogs game (our local AA minor league team) and was sitting behind home plate alongside many scouts who were carefully watching the pitchers. I noticed several were tracking pitch counts using an app on a tablet or laptop. I thought that would make for an interesting app to make in Xojo, so this week I’ve made an iOS app (I’m on an iOS roll it seems) to track the location of pitches, similar to what I observed the scouts using.
The app shows a grid of the strike zone and you tap where the pitch was. You can use the buttons on the bottom to mark the pitch as a ball, strike or in play changing its color. Click the Reset button to clear the pitches for the next batter.
Comments closedSometimes the idea for a great little app comes down to solving a silly little problem.
Last month, the family went mini-golfing for my son’s birthday. It was a lovely course called Pirate’s Cove Adventure Golf right next to the ocean. But they didn’t have scoring stands and we had to use a tiny pencil on a little cardboard scorecard to keep score. So this week’s app is a simple iOS app track of mini-golf scores!
The iOS app has two screens. The main screen has a giant Table that lists all the 18 holes. You tab on the detail button for a row (it’s the “I” icon) to go to the scoring screen.
Comments closedI’m often asked by kids and adults how they can start coding and learn to make apps? You could start with the usual books or videos.
But maybe you want to jump right in. When I started programming that is exactly how I learned. I tried things to see what worked and what didn’t work. I also looked at and modified other programs I found.
You can learn to code if you just code.
Comments closed