The popular PDF support and features introduced last year in Xojo 2020r1, have gained several improvements and bug fixes in today’s release. Now, with Xojo 2021r1, Xojo’s PDF support include a set of new Graphics features that will continue to be expanded more in future releases.
sort code tips and tricks
First available on iOS, staring with 2021 Release 1 you can now also use the Rotate, Translate, SaveState and RestoreState methods with Desktop projects.
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.
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.
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
Learn to build a reusable Gravatar Connection class for web, desktop and iOS apps using the Gravatar API.
Did you know that you can make temporary FolderItems that automatically delete when they go out of scope? This technique makes it fairly easy.
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.
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.
Since the publication of the post Quick Tip: SystemImage, more than 2,400 symbols at your disposal, some users raised the question about how to do the same on macOS. Continue reading to learn one possible technique.