Skip to content

Category: Learning

iOS User Authentication with Face ID

With the new UserAuthentication class available in Xojo 2021 Release 1, you can now easily ask an iOS user to authenticate themselves using Face ID, Touch ID or with their password/passcode. In an iOS project, add a UserAuthentication object to your screen and change its name to Authenticator.

Comments closed

MobileMoviePlayer

The MobileMoviePlayer is a relatively new iOS feature in the Xojo Programming language. To use MobileMoviePlayer start a new iOS project and drag the MoviePlayer control from the Library onto a Screen.

Comments closed

Creating your own ComboBox Subclass with Sorted Menu Items

The Xojo ComboBox desktop control is a powerful one. It combines the capabilities of a TextField with the PopupMenu. That means that you can choose from the available options in the associated menu or you can type another value in the ComboBox text field. What about getting the ComboBox to do things not included in the class?

Comments closed

A Functional ForEach

When looping through an array, I am a big fan of using For Each as I find it more readable than using a For loop with a counter and looking up the item in the array with the counter. Sometimes it’s fun to do stuff just because you can! Plus, it makes for a good excuse to learn about some more advanced Xojo features

Comments closed

Folder Contents in a Menu, Redux

Since I was asked for a few enhancements, here’s a quick update to my previous Folder Contents in a Menu post from earlier this week. Enhancements include: Display the requested folder in the menu.
Sort the folder contents.
Skip files that cannot be accessed.

Comments closed

Folder Contents in a Menu

A user on the forum asked how they might show folder contents in a PopupMenu. Since a PopupMenu is not hierarchical, that wasn’t really an option. But an alternative would be to show the contents in a hierarchical menu. Here’s how you can recurse through files and add them to a regular MenuItem.

Comments closed