Skip to content

Xojo Programming Blog Posts

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

Beginner Tips: Threading in Xojo

Many times, when we create a desktop application which is doing huge processes, it happens that the responsiveness of our app can be interrupted for few seconds. As developers we need to avoid such scenarios because we want to keep the interaction between the user and the app constant while it’s in use. You have to imagine that our customer doesn’t have a developer’s mindset and will not wait more than 5 seconds if the app freezes. Threading is a great solution to these situations.

Comments closed

Rubber Ducky, You’re the One

Yuck! It happens to everyone, from beginners to experienced developers: sometimes you’ll get stuck. Perhaps the code you’re working on just won’t do what you want or maybe you’re having trouble understanding code plucked from the internet. Talk to the duck. The rubber duck, that is. The term “rubber ducking” or “rubber duck debugging” is a software development technique where you explain the problem you are having to a rubber duck (or appropriate substitute). Often the act of explaining the problem to someone else, even if that someone is not real, can help you figure it out. It might be like inspiration struck.

Comments closed

Google Switches to Native on iOS

MacRumors reported that Google’s design chief for Apple platforms, Jeff Verkoeyen, announced that Google is switching from using a lot of custom controls in its iOS apps. this same device. You only get that if you use native user interface controls. That’s why Xojo has always provided native user interface controls, high-level access to native system functionality and compiled to native code.

Comments closed