In this tutorial I will show you how to create a Number class that can tell you when its value has been actually set, along with other methods to manage how it is used while demonstrating some common object-oriented techniques and features such as operator overloading. You’ll be able to create a Number from an Integer, Double or String.
Comments closedTag: Software Development
Welcome to London! The 2023 Xojo Developer Conference is underway, starting with the keynote from Xojo Founder and CEO Geoff Perlman. The keynote video will be available shortly on Xojo’s YouTube channel so you can watch it on-demand, here is what we have announced so far:
Comments closedXojo’s Code Editor now lets you move a line or a selection up or down or duplicate entire lines (or a selection). To swap lines, put the cursor on a line and press Option+Up Arrow (Mac) or Alt+Up Arrow (Win/Linux) to move the line up in the code. Press Down arrow to move down.
Comments closedA feature in some other languages you may have seen is something called matrix math. These are operations you can perform on matrices, which are 2-dimensional arrays. Xojo does not have any matrix math functions built in, but using the Extends command you can add your own.
Comments closedUsing Xojo’s URLConnection to communicate with web services is pretty straightforward. But testing the actual REST API calls can get tricky. To make it easier to test and experiment with REST API calls, Paul created a app in Xojo for doing just this. He called it RESTy in its original format back in 2015. You can download the updated project here built with Xojo 2022r4.1.
Comments closedThere are some situations where you may need a range of numbers that is equally spaced. For example, when given a minimum and a maximum value within which a set of numbers that need to be equally spaced. This is useful if you are designing an UI control displaying “ticks” or for the axis of a graphic chart displaying cartesian values. Continue reading to see a technique to do just this.
Comments closedXojo recently introduced the ability to add (aka draw) tables in PDFDocument using the PDFTable class and the PDFTableDataSource class interface together. Perhaps you already know how to use it, but what if you want to add a table using data from a RowSet? Continue reading and I will show you a technique that will have you doing just that!
Comments closedIn this blog post I’ll show how to add rate limiting to your web application. Rate limiting is used to frustrate abuse of your application by limiting access. The same technique can be used to limit access to your API server by recording the user’s ID instead of IP Address.
Comments closedThere are situations where the included controls and widgets aren’t enough. Maybe the specs of the project require the use of one or more of specific JavaScript libraries, or you just need some code to be executed in the browser. The Web SDK can help, giving you the opportunity to build anything. In 2022r4 we are adding more examples, to help you start building your custom controls.
Comments closedWhile we’ve been hard at working getting Linux ARM 64 support ready for Xojo 2022r4, released earlier today, we also updated Xojo’s Linux support for Dark Mode. Color.IsDarkMode now functions properly and our Linux IDE has now officially joined the dark side.
Comments closed