Skip to content

Author: Javier Menendez

iOS: Selecting Date and Time with More Style

Xojo 2024r2 introduces two new styles for the iOS DateTimePicker control. In previous releases, the DateTimePicker control offered only the Wheels Display Style. This release adds two more options: Compact and Inline. The Compact and the Inline Display Styles will allow you to create cleaner and more flexible user interfaces in your iOS apps.

Comments closed

Avoiding Memory Leaks with WeakRef

This is not that common of an issue, but it happens – when searching for memory leaks, remember to check any cross-referenced objects. Cross-referenced objects are, well, just that, objects that need to reference each other. For example, when “ClassA” needs to know about “ClassB”, and “ClassB” needs to know about “ClassA”. Continue reading to see how this can cause memory leaks in your projects and how to use Xojo’s WeakRef to fix it.

Comments closed

Popovers for Xojo Desktop, Web and iOS

Starting with Xojo 2024r1 there’s a new Window type in Xojo’s UI/UX bag: Popovers. Popovers are kind of a Modal window with a more transient behavior and associated with a Parent control. A Popover will display the chosen content or layout, the same as when you design the user interface of a window or a Container control that will be included as part of another more complex design or displayed at runtime.

Comments closed

Apple’s New Privacy Manifest Requirements

Apple is introducing a privacy policy that requires the inclusion of a privacy manifest file in new and updated apps created for iOS, iPadOS, tvOS and VisionOS distributed through the AppStore. Obviously, this impacts the iOS and iPadOS apps created with Xojo that you intend to update or submit and distribute through the Apple AppStore.

Comments closed

Tutorial: Design a Control to Dynamically Preview Images and PDF Files

In this tutorial learn to design a cross-platform control that dynamically previews images and PDF files. Files can dragged and dropped onto the control, opened from the standard file selection dialog, and, in the case of images, added using Copy and Paste. The file path will be displayed below the addendum file.

Comments closed

Finding the Right Example Project

One of the best resources for Xojo users is the more than 140 example projects available within the Xojo IDE. Find them in Xojo by choosing File > New Project and then clicking on Examples in the New Project window. Starting with Xojo 2023 Release 4, it will be even easier to find that specific example you need with new descriptions and filtering options.

Comments closed