Xojo has very good graphics support. You can drop images into your project and use them with several controls. You can use the various Paint events to draw your own graphics. And there’s another source of graphics you may not have considered: emojis. Emojis can be used anywhere that text can be used because they are simply Unicode characters. That means they can be used in textfields, buttons, labels, popup menus, listboxes and more.
Posts related to iOS development.
Sometimes we need to rotate a Picture from portrait to landscape and vice versa. Since the introduction of the Graphics methods Translate and Rotate this is pretty simple to do! Continue reading and I will show you how to create a Method Extension for the Picture class that will be able to do that. This will work on Desktop and iOS projects by only copying and pasting the code, but you will need to make some changes to the example project for the Web version because of the need to convert Picture to WebPicture and back.
One of the PDFDocument features added in Xojo 2022r2 is the ability to encrypt PDF files created with Xojo. Continue reading and I will show you how.
The annotations feature on PDFDocument has been significantly extended in the release of Xojo 2022r2. Continue reading to learn about the new annotation types. Currently,…
I’ve learned over the years not to have any specific expectations from Apple’s WWDC keynote. Some years they introduce something big and new that we were pretty much expecting. Other years they blindside us. As the CEO of a company that creates tools for building apps for most of Apple’s ecosystem and given Apple’s history of secrecy, I’m understandably curious just how blindsided I might be each June. Fortunately, this year’s keynote was filled with features that ranged from mildly interesting to really awesome but all incremental improvements across Apple’s software line.
I know, I know, it’s not the usual thing to do when making presentations, but did you know that it is possible to create presentations using Xojo’s and PDF? If you’re interested in this little experiment, read on and I’ll show you how to do it using Xojo’s PDFDocument.
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.
The WebImageViewer control allow us to load and display any image retrieved from a given URL. Wouldn’t be nice to have that same kind of functionality in the Desktop and iOS versions of the ImageViewer? Continue reading and I’ll show you how to achieve just that.
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.