Skip to content

Category: Learning

iOS: Selecting Date and Time with More Style

Xojo 2024r2 introduces two new styles for the iOS DateTimePicker control. In previous releases, the DateTimePicker control offered only the Wheels Display Style. This release adds two more options: Compact and Inline. The Compact and the Inline Display Styles will allow you to create cleaner and more flexible user interfaces in your iOS apps.

Comments closed

New Database Connections

While Xojo has always supported adding database connections, the old method was far from ideal. Let’s delve into the improved approach using the new DatabaseConnection project items and explore some recent additions to our database API.

Comments closed

Advanced File Processing Techniques: Using Chunks for Handling Large Files

A recent blog post, A Beginner’s Guide to Handling Text Files in Xojo, covered the basics of text file handling in Xojo. This post delves into advanced techniques for reading and writing large files in chunks. This method is crucial for managing large datasets efficiently, minimizing memory usage, and maintaining application performance.

1 Comment

Effortless HTTP Requests in Xojo: Using Curl in Xojo with URLConnection

If you’re familiar with the command-line tool curl, you may wonder how to use curl in Xojo effectively. Curl is a powerful tool for making HTTP requests, but it’s not always the most convenient for working within a graphical application like Xojo. That’s where Xojo’s URLConnection class shines! It provides a simple and elegant way to make HTTP requests directly from your Xojo code, making it easy to use curl in Xojo. In this article, you will learn how to adapt common curl commands to Xojo’s URLConnection. Let’s get started.

Comments closed

Docker, Database Servers and Xojo

There are many ways to develop with Xojo and use Database Servers. You might be working on a multi user Desktop Application that stores data in a Database. Or you’re creating a multi user Xojo Web Application that needed to be scaled up to a couple of running instances – and use a Database for data storage. Or maybe you’ve written a mobile application that connects to a Backend REST API – again possibly written in Xojo (e.g. with the open source Express, or with Xojo Web).

Comments closed

A Beginner’s Guide to Handling Text Files in Xojo

As developers, we often need to work with text files. This could be for reading configuration settings, parsing log files, or generating reports. Text files are a common part of software development, and knowing how to access and manipulate them is important for building strong and flexible Xojo applications. In this article, we will make use the key Xojo classes and techniques for working with text files. We will start by looking at how to read the contents of text files using the TextInputStream class. You will learn how to read an entire file into a string and how to process the file line-by-line.

1 Comment