Xojo 2018 Release 2 brings several improvements to iOS features such as iOSTable, iOSView and more.
As 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.
Sometimes 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.
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.
You can call into Cocoa Touch APIs to use methods and properties that are not built into the framework by using the Declare command. To create a Declare statement you first need to track down the API you want to use in Apple’s documentation: Apple Developer Documentation. Most of the time you will reference the Foundation and UIKit libraries, but there are many other libraries as well. Xojo Declares use the Objective-C names so be sure to refer to those in the documentation rather than the Swift naming.
The Xojo community is vibrant and active, with all kinds of clever, open-source software being created for iOS, desktop, web and Raspberry Pi. By my latest count, there are at least 80 open-source projects for Xojo on GitHub and other places!
In today’s world, the only way to be sure you are reaching all your potential customers is to target multiple platforms. But cross-platform development is crazy-hard, right? Perhaps, if you are using tools like Java, Qt, Delphi or Xamarin it certainly can be. But with Xojo, cross-platform apps are simple to create.
In fact, Xojo lets you easily cross-compile desktop apps for Windows, macOS, Linux and Raspberry Pi. Plus, you can use the same Xojo language to create web and iOS apps too (Android coming soon!).
The other day Geoff was working an iOS project and asked me if there was a way to hide the border on an iOS Text Field. It turns out that this is pretty easy. Here’s how.
If the deprecations and changes to the FileMaker platform have you searching for alternatives, Xojo is a solid place to start. FileMaker developers use Xojo for a variety of reasons, including lower cost, more powerful apps and native iOS apps.
Xojo is a powerful, full-featured development tool and as far as professional development tools go, Xojo is amazingly easy to use. For people with programming experience or those that want to learn, Xojo is a great choice for creating powerful apps to meet any business need – from cross-platform desktop apps, web apps, mobile and iOT apps.