Skip to content

Category: Mac

Posts related to Max OS development.

Graphics: Right and Center Aligned Text

The DrawText method from the Graphics class offers a simple way to left-align text at the given X and Y coordinates, even applying a wrap value to wrap every line of the text block at the provided width value. Wouldn’t it be great to be able to do the same thing while aligning blocks of text to the right and center? Continue reading and I will show you a technique you can use as the starting point which you can fine-tune to your specific needs.

Comments closed

On-Device iOS Debugging in Xojo

You may or may not be aware that running iOS projects in the Simulator does not allow you to check all of your app’s features. There are a few features which rely on hardware capabilities which the Simulator cannot emulate. This can make it hard to track down bugs, and the only recourse is console logging. Starting in Xojo 2022r1 it’s possible to run your apps right on a physical device connected by USB.

Comments closed

QuickTip: Using SF Symbols in macOS … revisited!

Earlier this year ago I wrote a post about using the SF Font symbols on macOS Picture.SystemImagein iOS apps. However that technique has some downsides. For one, the symbol glyphs are hardcoded, which means that it’s not possible to access the new symbols added to the SF Font by Apple. In addition, it isn’t possible to set the font weight and scale for the glyph. In this new post, I’ll show a more flexible way to work with these symbols on macOS 11+.

Comments closed

Modern, Visual Basic For Your Mac

Did you love Visual Basic? A lot of us did, but it’s 2021 and technology is ever-changing. As you look at the modern alternatives, consider Xojo. For over 20 years, Xojo has been the spiritual successor to VB, a rapid, cross-platform programming language and integrated development environment (IDE). Often called “VB for the Mac”, Xojo is more powerful than VB6 and more approachable than VB.NET. Two factors that are increasingly important because modern coders are everywhere, not just in the technology department.

Comments closed