Skip to content

Category: Tips

sort code tips and tricks

Tip: Automatic Reference Counting

As defined on Wikipedia, Automatic Reference Counting (or ARC) is a “memory management enhancement where the burden of keeping track of an object’s reference count is lifted from the programmer to the compiler.”

With object-oriented programming, each new object you create takes up space in memory. This memory needs to be managed somehow. In the beginning, this management of memory was left entirely to the programmer, such as with C++ or originally with Objective-C.

Comments closed

Build All The Things

As you may have heard, Xojo 2015 Release 3 added the long-awaited ability to create 64-bit apps. And it also added the ability to create Raspberry Pi 2 apps (Linux ARM). This now means there are lots more apps that can get built.

Comments closed

Guest Post: Part 1, Transparent Label Tip for Windows

Wayne Golding has been a Xojo developer since 2005. He operates an IT Company Axis Direct Ltd www.axisdirect.nz which primarily develops applications using Xojo that integrate with Xero www.xero.com.  Wayne’s hobby is robotics where he uses Xojo to build applications for his Pi2 often implementing IoT for remote control.

When developing for Windows, it’s not immediately clear how to set up a transparent label. If you change the background colour of your Window, you could end up with that ugly gray label. And of course I always forgot to set the transparency until after the debug run. But I’ve found a simple solution.

Comments closed

How I learned to stop worrying and love the debugger

Since we are all good programmers we never make mistakes, right ? 🙂

But for those times when you write some code and you just can’t figure out why its not behaving, there is always the Debugger!

The best part is the Debugger is very easy to use and it can help you sort out a lot of common issues. Its covered in the Xojo User’s Guide, specifically see the Using the Debugger section.

Comments closed