Want a quick and easy way to add capabilities to bulit-in classes and types without subclassing? Try extension methods. An extension method is a method…
Comments closedCategory: Tips
sort code tips and tricks
In recent weeks I received several questions regarding Xojo iOS, many from users who already use Xojo for desktop or web development and want to start using Xojo for mobile, particularly iOS, development. I’ve compiled some of their questions together with some other tips into this mini-FAQ.
Comments closedI’ll update this FAQ from time to time, so you may want to bookmark it and revisit! In addition, the Xojo Forum is a great place to keep the conversation about this and other iOS Xojo-related topics!
In the new DrawControlInLayoutEditor event of Xojo, which is available for MobileCanvas, AndroidMobileUserControl, and iOSMobileUserControl, there are properties available that otherwise do not exist in…
Comments closedIf you’ve been working with Xojo for a while, you’re likely familiar with conditional compilation directives like #If TargetMacOS or #If DebugBuild. But there are…
Comments closedOne of the notable additions in Xojo 2026 Release 1 is that the DrawControlInLayoutEditor event is now available for Desktop and iOS/Android projects, giving you more possibilities…
Comments closedDebugging isn’t just about stepping through code anymore, it’s about understanding how your data behaves over time. With the new watchpoints feature in Xojo, you can…
Comments closedFor decades, Goto has been treated as a programming faux pas—something to avoid at all costs. Like most rules though, there are exceptions. The Goto…
Comments closedAs you may already know, starting with Xojo 2025r3, macOS apps can be developed and compiled with UI Compatibility Mode either enabled or disabled. Now imagine you are creating a Library intended for use in other projects and, as part of its UI-related functionality, the Library needs to determine whether the host application is running with UI Compatibility Mode enabled. How can you do that? Read on to find out.
Comments closedmacOS 26 and iOS 26 bring many changes, most notably a major UI overhaul. This means that some elements in your existing layouts, both small…
Comments closed