Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 23 in printed book and digital formats -- plus a one-year subscription (beginning with 24.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are short, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 24.3 ('MBS Germany 2026')
Instant purchase and download via GumRoad!

COLUMN

Xojo 2026 Release 1, Optimizing Tips

Xojo thoughts, news and tips

Issue: 24.3 (May/June 2026)
Author: Paul Lefebvre
Author Bio: Paul Lefebvre is a Xojo Software Engineer. He has been using Xojo and its prior versions since 2001.
Article Description: Xojo 2026 Release 1 introduces significant enhancements such as debugger watchpoints, streamlined macOS signing, and new controls for Web, Windows, and Android platforms, notably advancing Android's feature parity with iOS through additions like MobilePDFViewer and MobileChart. Emphasizing efficient software development, the release echoes Donald Knuth and Kent Beck's advice to defer optimization until after ensuring code functionality and correctness, followed by refinement and testing. For Xojo projects, optimization tips include leveraging the built-in Profiler to identify slow code segments, switching to more efficient algorithms, minimizing unnecessary computations and string concatenations, and employing caching strategies to reduce redundant calculations. The conclusion stresses the importance of a structured optimization process supported by unit tests and profiling tools, while the quote of the month by B.F. Skinner provokes reflection on human versus machine cognition..
Article Length (in bytes): 7,630
Starting Page Number: 76
Article Number: 24307
Related Link(s): None

Excerpt of article text...

Xojo 2026 Release 1 was recently made available with several notable improvements, including: Debugger watchpoints, simpler macOS signing, and new controls for Web, Windows, and Android.

Debugger watchpoints have been a requested feature for many years. If you're not familiar with the concept, a debugger watchpoint is set on a specific variable or property and tells the debugger to stop when its value is changed in the way you specify.

If you've ever repeatedly stepped through a loop waiting for a value or loop index to reach a specific value, then you see how useful a debugger watchpoint can be. But it's also useful for other situations, such as when a property value gets changed, but you're not exactly sure what code actually changed it. Be sure to try out watchpoints in your next debugging session!

The Android framework was also improved with several new features helping to move it closer to feature parity with iOS. In particular, Android now has MobilePDFViewer, MobileChart, and MobileColorPicker controls.

Optimizing Software

Famous computer scientist Donald Knuth is quoted as saying, "Premature code optimization is the root of all evil."

...End of Excerpt. Please purchase the magazine to read the full article.