Skip to content

Category: iOS

Posts related to iOS development.

Good News: IBM is Pushing the Mac

Before we dive into what it means for developers, and in particular Xojo and other cross-platform developers, that IBM is pushing the Mac, let’s look at the recent history of the computer market. 10 years ago, the Mac had market share in the low single digits and was ignored by most of the world. These days the Windows PC market is in decline while the market share for Mac is rising at the expense of Windows.

How does IBM fit into this?

Comments closed

Pro Tip: Inserting Text Quickly in a Xojo iOS App

Manipulating text can be a time-consuming operation. I recently found myself with the need to insert text in various places in a large text document. Normally I would use a regular expression to solve this problem, but this is an iOS app and Xojo doesn’t have regular expressions available for iOS just yet. So I wrote some code to loop through the document and find and replace. Then I wrote some better code to do it a lot faster.

Comments closed

A Cure For iOS App Obesity

John Gruber of Daringfireball.net recently wrote about the problem of so many iOS apps being over 100MB in size, which means they cannot be updated over a cellular connection. It really stinks to be forced to wait until you can get on WiFi just to update an app. And it can be especially bad if you really depend on the app.

Yesterday he mentioned that a big part of the problem is that apps written in Swift (and some other tools) end up bundling in a lot of standard libraries and developers don’t take the time to consider the ways in which they can trim their overweight apps down to size before shipping updates.

But you don’t have to be knowledgable about the many techniques you will need to trim your iOS apps. There is simpler solution to this problem: write your iOS apps in Xojo.

Comments closed

TextField: Getting the User Input

Xojo is a modern, powerful programming language with an IDE that simplifies all kind of tasks related your project creation and deployment. One such helpful feature is the UI layout design; you can find it under the Library Panel, it’s a meaningful collection of graphic classes (Controls) ready to use in our apps. Probably one of the first and most used controls in apps design is the TextField, TextField simplifies the way an app can get the input from the user. Let’s see its main properties and how this control behaves when used in Desktop, Web (WebTextField) and iOS (iOSTextField) apps!

You can watch the video (in Spanish, with English subtitles) as you read and work through this post.

Comments closed

Localizing Web Apps: Dates & Numbers

In desktop apps, you can use Xojo.Core.Locale to get the user’s locale for formatting dates and numbers. However, in a web app this value returns the locale used by the web server rather than the locale of the current user session.

To display dates formatted in the locale of the user session, you need to get the LanguageCode from WebSession and use that to create a locale that you can then use to display the date.

Comments closed

Guest Blog Post: Iconographer from Ohanaware

Sam Rowlands has been developing Xojo apps since 1997. He and his wife, Joy Sha, make up Ohanaware and they have been building award winning apps since 2008, notably Funtastic Photos, HDRtist and Shine. Sam is an active Xojo developer and he also offers App Wrapper, which simplifies the process of preparing applications for submission to the Mac App Store and deploying on web sites, in the Xojo Third Party Store.

I’d like to introduce you to Ohanaware’s latest Made With Xojo application we’ve created for us Xojo developers. It’s called “Iconographer” and it is designed to simplify the process of creating stunning and platform-consistent icons for Mac, Windows & iOS.

Comments closed

Xojo Draw in the App Store

Want to see how easy it is to make an iOS app with Xojo? Check out Xojo Draw in the App Store. Released last week at the start of XDC 2016, Xojo Draw is an enhanced version of the Xojo Doodle sample project that is included with Xojo. Working on both iPhone and iPad, Xojo Draw lets you draw with touch and save your creations to the camera roll or send to other apps.

Comments closed